Skip to content
Age and datesCalculator 15 of 35

Date Difference Calculator

The gap between any two dates, in a second.

Your numbers

The answer updates as you type. Everything is computed in your browser; nothing is sent to a server.

Result

How is the difference worked out?

Pick a start date and an end date and you get the difference in years, months and days, plus totals in months, weeks and days. If the start comes after the end, the calculator swaps them for you and says so.

Examples

  • 1 January 2025 to 31 December 2025: 11 months and 30 days, or 364 days.
  • 15 February 2024 to 15 March 2024: exactly one month, since 2024 is a leap year.
  • Handy for contract lengths, countdowns to an occasion, or project day counts.

Common questions

  • Does the start day count inside the gap? The calculator measures the plain difference between the two days: 1 to 2 January = one day. If you need both ends included, add one to the result.
  • Does it work for past and future? Yes, any two dates, and the calculator orders them for you if you enter them backwards.
  • How do I see what is left until an occasion? Enter today's date and the occasion's date and you get the gap in days, weeks and months, like a birthday, a contract's end or any deadline.

Method: a direct difference between the two Gregorian dates.

Note: results are estimates for personal guidance only.

Is my data saved?

No. Every calculation happens inside your browser, and no number or date is sent to any server.

Elapsed time or inclusive days?

The difference from 1 January to 3 January is two days. A service provided on 1, 2 and 3 January covers three inclusive dates. This result is an elapsed date difference, not automatically a service-day count or a hotel-night count. Check which definition you need.

Months do not all have 30 days

A calendar month has 28 to 31 days. Multiplying a month result by 30 will not necessarily reproduce the total days. This tool is not a stopwatch and does not calculate flight hours or differences between time zones.