Free online calculator

Date Difference Calculator

Calculate the difference between two dates in years, months and days. You can also see total days and choose whether to include the ending date.

Calculate days between two dates

How to use the Date Difference Calculator

  1. Select a start date and end date.
  2. Choose Include end date when you want both the starting and ending calendar days counted.
  3. The calculator finds the calendar difference and total elapsed days.
  4. Results include years, months, days, total days and approximate total weeks.

Examples

Exclusive end date

From January 1 to January 4 is 3 elapsed days when the end date is not counted.

Inclusive date count

January 1 through January 4 counts as 4 calendar days when Include end date is enabled.

Frequently asked questions

Should I include the end date?

Enable it when you want to count both calendar dates, such as the number of days an event runs. Leave it off for elapsed time calculations such as age.

Does the calculator account for leap years?

Yes. Native calendar date arithmetic automatically accounts for leap-year dates.

Can I calculate dates in either direction?

The calculator validates the dates and reports the difference between the selected start and end values.

Related tools

More Time & Date calculators