Date difference calculator

Find the duration between two dates — in years, months, days, weeks and total days.

Files never uploadedNo sign-upWorks in your browserFree & unlimited

Find the gap in 3 simple steps

1

Pick the start date

Choose the first date — past or future.

📅
2

Pick the end date

Choose the second date to measure against.

🏁
3

See the duration

Get years, months and days, plus totals in weeks and days.

Why use this date calculator

🎯

Exact breakdown

Years, months and days, using the real calendar for accuracy.

🗓️

Leap-year aware

Handles leap years and varying month lengths correctly.

Multiple units

Also shows the total in months, weeks and days.

🔮

Past or future

Works with any two dates — count down or count back.

Instant

Results update the moment you pick both dates.

🔒

Private & free

Runs in your browser; no dates are stored, no sign-up needed.

How long between two dates?

Whether you're counting days to an exam, the gap between two events, the length of a project, or your notice period, this calculator gives you the exact duration between any two dates — broken down into years, months and days, plus totals in months, weeks and days.

It uses the real calendar, so leap years and month lengths are handled correctly, and everything runs privately in your browser.

Frequently asked questions

How do I calculate the number of days between two dates?
Select the start date and the end date. The tool instantly shows the difference in years, months and days, along with the total number of days and weeks.
Does it count leap years correctly?
Yes. The calculation uses the actual calendar, so leap years and varying month lengths are handled accurately.
Can I use it for future dates?
Yes — pick any two dates, past or future, to find the duration between them.
Is it free?
Yes — free, no sign-up, and it runs entirely in your browser.

By Narender Chaudhary, Editorial & Product Lead · Updated June 2026