Skip to content
2xKit

Date Difference Calculator

Find the number of days, weeks, months and years between two dates.

Formula v1.0.0GlobalMethodologyReport an issuedate-difference-v1
How this is calculated
Difference = |endDate − startDate|, in calendar days/weeks/months/years

Assumptions used in this calculation

  • Calendar: Uses the Gregorian calendar; the end date is treated as exclusive when counting total days elapsed.

About this calculator

Working out how many days sit between two dates by counting on a calendar is slow and error-prone once you cross month boundaries or leap years, and mental shortcuts like "30 days per month" quietly introduce errors of several days over longer spans. This calculator takes any two dates, in either order, and returns the exact difference as total days, total weeks, and a calendar-accurate breakdown of complete years, months and remaining days, the same way people naturally describe a span of time ("2 years, 3 months and 10 days") rather than a single averaged figure. It's built for practical situations like calculating a contract term, checking how long a project or pregnancy has run, figuring out an age-adjacent milestone, or settling a dispute over how many days notice was actually given, all without manually flipping through a calendar or risking an off-by-one error.

Worked example

1 Jan 2025 to 1 Jan 2026

Result: 365 days

Was this helpful?

Frequently asked questions