Date Difference Calculator

Free date difference calculator — find the number of days, weeks, months and years between two dates, with an exact calendar breakdown. Private and instant.

TOTAL DAYS
TOTAL WEEKS
YEARS
MONTHS
DAYS

Runs entirely in your browser — nothing you enter is uploaded or stored.

Ask about this tool on

Two ways to read a date gap

This tool shows the distance between two dates as a single total (days and weeks) and as a calendar breakdown of years, months and days. The breakdown borrows from the real previous month, so it matches how a calendar actually counts.

Order doesn't matter

Enter the dates in either order — the calculator uses the absolute difference and always reports a positive result.

Frequently asked questions

How do you count days between two dates?

We take the difference between the two dates in milliseconds and divide by one day. The result is the number of full days from the start date up to the end date.

Is the end date included?

The total is the gap between the dates, so the end date itself is not counted as an extra day. From 1 Jan to 2 Jan is 1 day. Add 1 if you need an inclusive count.

What if the “To” date is earlier than the “From” date?

We automatically use the absolute gap, so the numbers stay positive no matter which way round you enter the dates.

Does this run online?

No. The date maths happens entirely in your browser, so your dates never leave your device.

Related tools