Skip to content
CalcJuice
← All tools

Date Difference Calculator

Count the days, weeks, months, and years between two dates.

Reviewed August 2026 · How we calculate

Date difference

Total days
2,192
Weeks
313
Years, months, days
6 yr, 0 mo, 0 d
Your inputs are saved in the link, not on our servers.

Counting the time between two dates is trickier than it looks, because months vary in length and leap years add a day. This calculator gives you the exact gap as a total, in weeks, and as a years-months-days breakdown.

How the gap is measured

The total-days figure is the raw count between the two dates. The years/months/days breakdown counts whole years first, then whole months, then leftover days — the same way you'd describe someone's age. The order of the two dates doesn't matter; the calculator uses the absolute difference.

A worked example

From 1 January 2020 to 1 January 2026 is exactly six years — but that's 2,192 days, not 6 × 365 = 2,190, because two leap days (2020 and 2024) fall in between. The calculator counts real calendar days, so the total stays accurate no matter how many February 29ths are in the range.

Common uses

Date differences come up constantly: counting down to a deadline or event, measuring a project's duration, working out someone's age at a past date, or checking how long ago something happened. Payroll, contracts, and warranties often hinge on an exact day count too.

Because the tool uses the absolute difference, you can enter the dates in either order and still get the right gap — handy when you're not certain which one came first.

Frequently asked questions

How do I count the days between two dates?

The calculator uses the actual calendar, so it accounts for different month lengths and leap years.

Does the order of the dates matter?

No — it uses the absolute difference, so you get the same result either way.