Date Difference Calculator
Find the number of days, weeks, or years between two dates.
Enter your values to calculate your result.
About this calculator
The Date Difference Calculator tells you how long there is between two dates: in total days and weeks, and as years, months and days.
Use it to count down to a deadline, measure how long something lasted or check the gap between two events. The order of the dates does not matter.
What each field means
- Start Date
The first date.
One end of the span you want to measure.
Any valid date.
- End Date
The second date. It defaults to today.
The other end of the span.
Any valid date. If it is before the first, the two are swapped.
How it is calculated
- Put the two dates in order, earlier first.
- Total days = the exact number of days between them (the start day is not counted twice).
- Years, months, days: count whole years, then whole months, then remaining days.
- Weeks = whole weeks in the total days; hours = total days × 24.
Total days is the exact number of days from the earlier date to the later one. The years, months and days breakdown counts whole years first, then whole months, then the remaining days, so it respects different month lengths.
Symbols used
- Total Days
- exact days between the two dates
- Years/Months/Days
- the same span in calendar units
Assumptions
- Dates are whole calendar days, with no time of day.
- The result does not depend on time zones or daylight saving.
- The end date is the day you stop counting, not an extra day.
Example
From 15 January 2026 to 10 March 2026 is 54 days: 1 month and 23 days, or 7 weeks and 5 days, which is 1,296 hours.
Step by step
- Inputs: 15 January 2026 to 10 March 2026.
- Total days = 16 (to 31 Jan) + 28 (February) + 10 = 54.
- Calendar span: 1 whole month (to 15 February), then 23 days.
- Weeks = 54 ÷ 7 → 7 whole weeks; hours = 54 × 24 = 1,296.
Reading your result
- Total Days
- The exact number of days between the dates.
- Total Weeks
- Whole weeks in that span.
- Years
- Whole years in the span.
- Months (in addition to years)
- Whole months left after the years.
- Days (in addition to months)
- Days left after the months.
- Total Hours
- Total days times 24.
What you can conclude
- How many days, weeks or months separate two dates.
- The span in the form people say it: years, months and days.
What you cannot conclude
- Working days: weekends are included here (see the Working Days Calculator).
- Anything about time of day.
Limitations
- Whole calendar days only.
- It counts the Gregorian calendar.
Frequently Asked Questions
Does the order of the two dates matter?
No — entering them in either order gives the same result.
Is the end date counted?
The total is the difference between the two dates, so the span from Monday to Tuesday is 1 day. If you want to count both the first and last day, add 1.
Why can years, months and days not simply be added up from the total days?
Because months have different lengths. The breakdown follows the calendar, so 54 days can be 1 month and 23 days.

