Days Between Dates

Find the number of calendar days between two dates.

Worked example

From 1 January to 8 January is 7 days. From 1 January to 2 January is 1 day.

How we calculated this

This tool counts the exclusive number of elapsed calendar days between two dates: the number of day boundaries crossed, not an inclusive "how many days does this range span" count. The same date gives a result of 0 days. If the end date is entered before the start date, Numerila still shows the number of days between them and states which date comes first. Reversing the dates is not treated as an error here, unlike the Date Difference Calculator. This tool reports calendar days only; it does not break the result down into years, months and days.

What this result means

The result is the number of calendar days between the two dates.

Examples

  • 28 February to 1 March 2024: 2 days, because 2024 is a leap year and has a 29 February.
  • 28 February to 1 March 2025: 1 day, because 2025 is not a leap year.
  • 25 December 2026 to 1 January 2027: 7 days. The count carries across the year end with no extra step.
  • Counting both the first and the last day of 1 to 8 January: 8 days, which is the 7 the tool shows plus 1 for the start date.

Common mistakes

  • Expecting an inclusive count that also counts the start date itself. This tool always reports the exclusive gap in calendar days, so add 1 if you want both the first and the last day counted.

Assumptions and limitations

  • It works on whole calendar dates only. Times of day, time zones and daylight saving changes play no part, so the answer does not depend on where you are.
  • Every day is counted, including weekends, public holidays and 29 February. To count Monday to Friday only, use the Business Days Calculator.
  • Supports dates from the year 1 to the year 9999. Leap years follow the modern Gregorian rule throughout, so dates from before the Gregorian calendar was adopted are not adjusted for historical calendar changes.

Analytics only runs if you choose to allow it below. Advertising and affiliate tracking are not currently active on Numerila. Your preferences are saved in this browser, but these settings do not activate either service.