Date Difference Calculator

Calculate the interval between two dates in years, months and days, plus total days and full weeks.

The order of the two dates doesn't matter — the difference is always shown as a positive interval. Leap years and varying month lengths are handled automatically.

Enter both dates to see the difference.

How to use the Date Difference Calculator

  1. Enter the first date.
  2. Enter the second date.
  3. See the interval in years, months and days, plus totals, instantly.

How the date difference is calculated

Years, months and days describe the calendar distance — the way we speak about intervals. Years are counted from the start month and day, months from the start day, and days from the last completed month, borrowing from the previous month when needed so the day count is always correct.

Total days counts every full calendar day between the two dates using UTC midnight, so daylight-saving changes never affect the count. Full weeks is total days divided by 7, rounded down.

Example: 14 March 2023 to 20 June 2024 → 1 year, 3 months and 6 days; 464 total days; 66 full weeks.

Leap years and month boundaries

The calculator handles leap years and months of different lengths. From 31 January to 1 March in a non-leap year is 1 month and 1 day (29 days total); in a leap year it's 1 month and 1 day (30 days total). The calendar breakdown and the total-days count always agree.

Common questions

Does the order of the dates matter?

No. The calculator always shows a positive interval, whichever date is earlier.

Why don't the years, months and days add up to the total days?

They're different units. Years and months vary in length (28–31 days), so the calendar breakdown and the total-days count describe the same interval in different ways — both are correct.

Is the start or end date included?

The count is the distance between the two dates, so 1 January to 2 January is 1 day. To count inclusively, add one day to the total.

Does it account for leap years?

Yes. February has 29 days in leap years, and the total-days count uses real calendar dates, so leap days are included automatically.

How is this different from the Age Calculator?

The Age Calculator finds age from a date of birth and shows next-birthday details. This tool measures the interval between any two dates you choose.