Date Difference Calculator

Pick any two dates and get the gap between them in every useful format — total days, weeks and days, and the calendar breakdown in years, months and days. Everything is calculated in your browser, so your dates never leave your device.

How the day count works

Both dates are compared on the real Gregorian calendar, pinned to noon so daylight-saving shifts can never break the count. The result is the exact number of 24-hour days between them — leap years, 31-day months and all. By default the end date is not counted (that is the number of nights between two dates, as hotels count them); tick Include the end date to count both days.

Three ways to read the gap

Use total days for countdowns to an event, weeks + days when you plan in weekly cycles, and the years, months and days breakdown for ages, work periods and lease terms — it counts full calendar months, not 30-day approximations, so the numbers hold up in real life.

Usein kysytyt kysymykset

Is the end date counted?

By default, no: the count goes from the start date up to, but not including, the end date — the number of nights, as hotels count them. Tick “Include the end date” to add the final day.

Does it handle leap years?

Yes. The calculator uses the browser's built-in Gregorian calendar, so February 29, 31-day months and leap years are all accounted for — the day counts are exact for any span, from two days to a century.

How many days are there between January 1 and December 31, 2026?

364 days — 2026 is not a leap year. Counting both the first and the last day, that is 365.

Does this date calculator work offline?

Yes. Once the page has loaded, everything runs in your browser: no server calls, no tracking, and the dates you pick never leave your device.

Päivämäärät & Aika