Date Difference Calculator
Days, weeks and months between two dates.
About the Date Difference Calculator
Find out exactly how long there is between two dates, in days, weeks and in years, months and days. It is helpful for counting down to an event, working out a notice period, a project length or how long ago something happened. The calculator uses real calendar dates, so month lengths and leap years are handled automatically. The order of the dates does not matter.
Formula used
The calculator subtracts the earlier date from the later one. Total days are counted from calendar dates, and the years-months-days breakdown borrows days and months as needed.Worked example
With these inputs — Start date: 2026-01-01; End date: 2026-03-01 — the result is: Total days between: 59; Weeks (rounded down): 8; Years, months and days: 0 years, 2 months, 0 days.
Frequently asked questions
Is the end date included?
No. The count is the difference between the dates, so Jan 1 to Jan 2 is 1 day.
Are leap years handled?
Yes, February 29 is counted when it falls between the dates.
Can the end date be earlier than the start?
Yes. The result is the same, as the calculator uses the absolute difference.