Date Difference Calculator
Difference = End Date − Start DateDec 31 − Jan 1 = 364 days (non-leap year)
Free online tool
Enter two dates to calculate the precise gap between them, including total days and weeks.
Instant calculation
Enter a start date and an end date to find the exact difference.
Your numbers stay in this browser. Nothing is uploaded or saved.
Three clear steps
Type the year, month and day for the earlier date.
Type the year, month and day for the later date.
Calculate to see the exact gap in years, months, days, weeks and total days.
The formula
Count the full years between the dates, then the remaining months, then the days. Total days, weeks and months are also calculated.
Difference = End Date − Start DateDec 31 − Jan 1 = 364 days (non-leap year)
Check the method
Each example follows the same formula used by the calculator.
Dec 31 − Jan 1 = 364 days (non-leap year)364 days2026 − 1990 = 36 years36 yearsCommon questions
The calculator counts the full years between the two dates, then the remaining months, then the days. It also provides total days, weeks and months.
Yes. The calculator works in both directions. If the end date is before the start date, the difference is still displayed correctly.
The calculation counts full calendar days between the two dates. The first day is exclusive and the last day is inclusive for a forward calculation.
Enter the year, month and day in separate fields. Month uses 1 for January through 12 for December.
Yes. The Age Calculator is built on the same algorithm. For a direct age calculation, use the Age Calculator instead.
Continue calculating