Enter any two dates to instantly find the difference between them in years, months, days, and total days. Works for past and future dates.
The calculator finds the exact difference between two calendar dates. It counts complete years, then remaining complete months, then leftover days — giving you a precise human-readable result alongside total days and weeks.
Difference = End Date − Start Date, broken into complete years → remaining months → remaining days. Total days = (End Date − Start Date) ÷ 86,400 seconds.
| Start Date | End Date | Difference | Total Days |
|---|---|---|---|
| Jan 1, 2020 | Jan 1, 2025 | 5 years | 1,827 |
| Mar 15, 2024 | Dec 31, 2024 | 9 months 16 days | 291 |
| Jun 1, 2025 | Jun 30, 2025 | 29 days | 29 |
| Feb 1, 2000 | Mar 1, 2000 | 29 days (leap year) | 29 |
Subtract the earlier date from the later date. Each day is exactly 86,400 seconds. For example, from January 1 to January 31 is 30 days (January has 31 days, so day 31 minus day 1 = 30 days elapsed).
The calculator counts elapsed days, which means it excludes the start date and includes the end date (or vice versa). For example, from Monday to Wednesday = 2 days elapsed. If you need to count both endpoints, add 1 to the result.
The calculator uses your device’s built-in date handling, which automatically accounts for leap years. February 29 exists only in leap years (divisible by 4, except centuries not divisible by 400).
Yes. The calculator handles any two dates regardless of how far apart they are. It will correctly show years, months, and days for large ranges like 10 or 50 years.
The calculator automatically swaps the dates so you always get a positive result. It will note in the result that the dates were swapped.