100% Local — never leaves your browser

Date Difference Calculator

Calculate the difference between two dates in years, months, and days instantly in your browser.

Enter both dates to calculate the difference.

Ad slot

How to use this tool

A date difference calculator finds the exact span between two dates, broken down into years, months, and days, plus a running total of days. It's useful whenever you need a precise duration rather than an approximate one — counting down to a deadline or event, figuring out how long a project or contract has run, calculating someone's exact age as of a specific date, or working out a notice period.

For example, the difference between 2024-01-15 and 2025-03-20 is 1 year, 2 months, and 5 days (430 days total).

Enter a start date and an end date. The difference in years, months, and days, plus the total number of days, updates automatically as you change either date.

FAQ

Is this date difference calculator free to use?

Yes, this tool is completely free to use with no limits on how often you can use it.

Does my data get uploaded anywhere?

No. The difference is calculated directly in your browser. Nothing is sent to a server.

Does it matter which date I enter first?

No. You can enter the start and end dates in either order — the tool automatically calculates the absolute difference between them.

Why don't years, months, and days multiply out to match the total days shown?

Because months have different lengths (28-31 days), the years/months/days breakdown and the flat total-days count are calculated independently rather than by multiplying out average month lengths. The years/months/days figure gives you the calendar-accurate span (e.g., "1 year, 2 months, 5 days"), while total days is the exact number of 24-hour days between the two dates — both are correct, they just answer slightly different questions.

Related Tools