Date tool

Date Difference Calculator

Choose a start date and an end date to measure the elapsed calendar time and see useful totals without timezone shifts.

Start date
End date

Use calendar dates from 1900 onward. Both dates stay in your browser.

How the difference is calculated

The calculator counts complete calendar months from the start date, then counts the remaining days. Complete years are groups of 12 of those months. The total-day value is calculated separately from the exact Gregorian dates, so leap days and different month lengths are preserved.

This distinction matters. “One month” is a calendar relationship, not a fixed number of hours: January 15 to February 15 is one month, and February 15 to March 15 is also one month even though the two spans may contain different numbers of days.

Worked example

From March 15, 2020 to July 2, 2023, the calendar difference is 3 years, 3 months, and 17 days. The month portion reaches June 15, 2023; the remaining 17 days reach July 2.

Common uses

  • Measure the length of a project, trip, contract, or personal milestone.
  • Check the elapsed time between historical events.
  • Convert a date range into total weeks or days for planning.
  • Compare a calendar-aware duration with a deadline or eligibility period.

Helpful answers

Frequently asked questions

How many days are between two dates?

Enter the earlier date as the start and the later date as the end. The total-days result counts elapsed midnight-to-midnight calendar intervals.

Are both the start and end dates included?

No. The standard result measures elapsed time, so a start and end date that are the same have a difference of zero days. To count both dates as calendar days in a schedule, add one to the total-days result.

How are leap years handled?

Actual Gregorian calendar dates are used, so February 29 is included whenever the selected range crosses a leap day.

Why can two date ranges with the same number of months contain different numbers of days?

Calendar months contain 28, 29, 30, or 31 days. Completed months describe calendar anniversaries; total days measure the absolute elapsed duration.