Date & Time

Date Difference Calculator

Calculate the exact difference between two dates in years, months and days, with total days and weeks included. This free date difference calculator is useful for measuring project timelines, service periods and the time left until an important date.

Date Range

Select the start and end dates to calculate the difference.

Date Difference Result

Your calculated difference between the selected dates.

Calendar Difference

0y 0m 0d

Total Days

0

Total Weeks

0

Weeks + Remaining Days0w 0d

The calculation measures elapsed time between the two selected dates. The start date itself is not counted as a full elapsed day.

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

Date Difference = End Date − Start Date
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.

Frequently Asked Questions

How is the difference between two dates calculated?

The calculator compares the two calendar dates and reports the elapsed difference in years, months, days and total days.

Are leap years included?

Yes. The total-day calculation uses actual calendar dates, including leap years.

Does the calculator count the start date?

The calculator measures elapsed time between the two dates. For example, 1 January to 2 January is a difference of 1 day.

Can I compare past and future dates?

Yes. Select any two valid calendar dates to calculate the difference between them.