Date Calculator

Calculate date differences or add/subtract from dates.

Date math made easy

Difference

Quick:
About

About the Date Calculator

The Date Calculator answers two questions: how far apart two dates are, and what date falls a given distance from another. Pick two dates and it shows the gap in days, weeks, months, years, hours and working days; switch to Add/Subtract and it tells you the exact date a number of days, weeks, months or years away, with its day of the week. Every figure is real calendar arithmetic — leap years and short months included — and it all runs in your browser.

How to use the Date Calculator

  1. 1Choose a mode: Difference (how far apart two dates are) or Add/Subtract (what date is N units away).
  2. 2In Difference mode, set the start and end dates. The results update as you change them.
  3. 3Read the gap across all six units — click any figure to copy it.
  4. 4In Add/Subtract mode, set a start date, an amount, and a unit. Enter a negative amount to go backwards.
  5. 5Copy the resulting date, which is copied in YYYY-MM-DD form.

Common use cases

  • Working out how many days are left until a deadline or launch
  • Counting the working days available for a project, excluding weekends
  • Finding the date 30, 60, or 90 days out for an invoice or a contract term
  • Checking someone's exact age, or how long ago something happened
  • Calculating a notice period, trial end, or renewal date from a start date

Frequently asked questions

How are months and years counted?

As whole calendar months and years, not fixed-length approximations. The gap between 1 February and 1 March is one month even though February is short, and 1 January to 31 December is 11 months and 0 years — not 12 and 1. Leap years are handled properly, so a 365-day span that crosses a 29 February is correctly under a year.

What does the calculator do with a date like 31 January plus one month?

It gives 28 February (29 February in a leap year) — it clamps to the last day of the target month rather than spilling into the next one. This matches what people mean by "a month later", and it's consistent both ways: if adding a month to 31 January lands on 28 February, then the gap from 31 January to 28 February is reported as one month.

How are working days counted?

Monday to Friday, counting the start date but not the end date — the same convention as the other figures, so an identical start and end gives zero across the board. Public holidays are not taken into account, since those vary by country and by year.

Does my timezone affect the result?

No. Dates are treated as plain calendar dates, so 17 July is 17 July wherever you are, and the day of the week and working-day count are the same in every timezone. The default date is your own local today, not UTC's.

Why does the difference never show a negative number?

The tool reports the size of the gap rather than its direction, so the order of the two dates doesn't matter. In Add/Subtract mode you can go backwards by entering a negative amount.

Is my data private?

Yes. All the arithmetic runs in your browser. Nothing you enter is uploaded, stored, or logged.

Your data never leaves your browser • No cookies • Works offline after your first visit

Press ? for keyboard shortcuts

We use minimal, privacy-focused cookies to improve your experience. Our developer tools process all data locally — we never store your content. Learn more