Days Between Dates Calculator

Calculate the exact number of calendar days between two dates and view the span in weeks, months and years.

Dates to calculate

Result

Calendar days
Weeks and days
Calendar span
From date
To date
Exact date difference|D₂ − D₁| in whole calendar days without converting the dates to a local-hour duration
Calendar years, months and daysThe span is decomposed using real calendar boundaries, not an average month or year length.

How the number of days is calculated

The calculator compares two calendar dates as date-only values. This correctly handles leap years and avoids daylight-saving-time drift.

28.02.2024 → 01.03.2024 = 2 days
2024 is a leap year, so there are two calendar days between 28 February and 1 March.
Examples 05 Sep 2026 → 06 Sep 2026 = 1 day The same date = 0 days Including the end date adds 1 day to the count 31 Jan 2025 → 28 Feb 2025 = 1 calendar month
Is the end date included in the result?

Not by default. Enable “Include end date” when both boundary dates should be counted.

Are leap years handled?

Yes. The calculation uses the real Gregorian calendar, including 29 February in leap years.

What if the end date is earlier than the start date?

The calculator shows the positive absolute span between the dates and displays a notice that the dates were entered in reverse order.

Does this calculate workdays, holidays or time zones?

No. This tool calculates calendar dates only. Workdays, public holidays, time of day and time zones are outside this calculation.

Articles and explanations

Go to blog
How to Calculate Days Between Two Dates: Rules and Examples When you need to measure the time between two events, check the length of a period, or simply find out how many days separate two dates, the first step is to define the counting rule. “Days between dates” can mean the number of elapsed calendar days, or the number of calendar dates in a period when both boundaries are counted. For most date-difference calculations, the start date is the reference point and the end date is not added as a separate day by default. That is why 1 September to 5 September is 4 days, not 5. This guide explains that convention, inclusive counting, leap years, reversed..