Date difference calculator

How many days are there between two dates?

Compare two calendar dates and see the same range expressed as total days, full weeks, weekdays, weekends, and calendar years, months, and days.

Enter two dates

What this date difference means

The total is the number of calendar-day boundaries between the two selected dates. By default the range is half-open: it includes the start date and stops before the end date. This convention makes consecutive ranges fit together without counting a boundary twice.

The calendar breakdown answers a different question from the total-day count. It advances from the earlier date by whole calendar months, clamping to the last valid day when a target month is shorter, and then counts the remaining days.

Month-end example

January 31, 2025 to March 30, 2025 is 58 total days. As a calendar interval it is 1 month and 30 days, because the two-month anchor would be March 31, which is later than the end date.

January 31 to February 28 is one calendar month under the same rule. This is intentional month-end clamping, not an assumption that every month has the same length.

What changes when the end date is included?

January 1 to January 31, 2025 is 30 days by default and 31 days when the end date is included. With the switch on, the calendar breakdown changes from 30 days to 1 month. Full weeks, weekdays, and weekend days are also recalculated over the inclusive range rather than changing only the headline total.

Leap-year comparison

January 1 to March 1, 2024 is 60 days because February 2024 has 29 days. The same range in 2025 is 59 days because February has 28 days. Both calendar breakdowns are 2 months; the total-day count exposes the leap-day difference.

Limits and interpretation

  • Accepted dates run from January 1, 1900 through December 31, 2200.
  • Weekdays mean Monday through Friday. This page does not remove public holidays.
  • The result is general calendar information, not a legal deadline calculation. Rules for filing dates, notice periods, benefits, or contracts may count days differently.