Free Tools
Blog

Date Difference Calculator

Find the exact time between two dates in years, months, days and weeks.

Choose two dates to see the difference.

Everything is calculated entirely in your browser. Nothing is sent to a server.

How to use this tool

  1. 1Choose a start date and an end date.
  2. 2Tick “Include the end date” if both days should count.
  3. 3Read the difference in years, months and days, plus the total days and weeks.

Features

  • Breaks the gap into years, months and days, as well as total days and weeks.
  • Optionally counts the end date as well as the start date.
  • Swaps the dates automatically if the start is after the end.
  • Handles leap years and months of different lengths correctly.
  • No account or sign-up required.

Privacy

Everything is calculated in your browser. The dates you enter are never sent to a server.

Frequently asked questions

How many days are there between two dates?

Pick both dates above and the total number of days appears instantly. By default the start date counts and the end date does not; tick “Include the end date” to count both.

How are months counted?

Full calendar months are counted from the start date, and the leftover days are shown separately. From 31 January to 1 March is 1 month and 1 day, because the month ends on 28 February.

Does it handle leap years?

Yes. February’s length in leap years like 2028 is taken into account automatically.

What if the start date is after the end date?

The two dates are swapped and you’ll see a note saying so, so you always get a positive result.

Related tools