How the date difference calculation works
The Date Difference Calculator compares a start date with an end date and calculates the elapsed calendar time between them. Enter a start date and an end date and the calculator works out the calendar gap between them — in complete years, months and days, and as a single total number of days and weeks.
Date difference formula
Total Days = Number of calendar days between the dates
Example
If the start date is 1 January 2026 and the end date is 1 February 2026, the elapsed difference is 31 days, or approximately 4 weeks and 3 days.
Calendar difference
The years, months and days result is based on actual calendar dates. The total-days result counts the exact number of 24-hour calendar intervals between the two selected dates.
How to read the results
The calendar result breaks the gap into years, months and days, which is the natural way to describe a period such as a job or a course. The total-days figure counts every calendar day between the two dates, including leap days, and is useful when you need an exact day count for planning or record-keeping.
Second example
From 1 January 2025 to 1 January 2026 is exactly one year — 365 days, or 52 weeks and 1 day. Because 2025 is not a leap year, February has 28 days and the total stays at 365.