Days Between Dates: 5 Mistakes to Avoid

Updated 5 Oct 2026 in Date & Time

Counts days between two dates. The maths is not complicated, but a handful of errors come up again and again in this and related date & time calculations. Here is what to watch for.

The Gregorian calendar has months of 28 to 31 days and adds a leap day almost every four years, which makes counting days by hand surprisingly error-prone. Converting dates to day numbers and subtracting avoids the problem.

When sharing dates internationally, write the month as a word to avoid confusion between day-month and month-day formats.

1. Assuming every month has 30 days

Month lengths vary from 28 to 31 days.

2. Subtracting times in decimal

9:45 minus 8:30 is 1 h 15 min, not 1.15 hours.

3. Forgetting public holidays

Working-day counts usually need holidays removed.

4. Not deciding whether to include the end date

Counting inclusively adds one day.

5. Ignoring leap years

29 February changes day counts in leap years.

The correct method

Days = end − start.

For example, with these inputs:

the calculator returns:

Related calculations

The Days Between Dates Calculator applies the formula consistently, so it is a quick way to double-check your own working.

Run your own numbers: Days Between Dates Calculator

Related guides