Subtract Days from a Date: 5 Mistakes to Avoid

Updated 5 Oct 2026 in Date & Time

Finds the date a number of days before another date. 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.

Age is calculated in completed years, months and days. Someone born on 29 February is usually treated as turning a year older on 28 February or 1 March in non-leap years, depending on the rule being applied.

1. Mixing date formats

5/10 can mean 5 October or 10 May depending on the convention.

2. Ignoring leap years

29 February changes day counts in leap years.

3. Subtracting times in decimal

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

4. Forgetting public holidays

Working-day counts usually need holidays removed.

5. Not deciding whether to include the end date

Counting inclusively adds one day.

The correct method

Result = start − n days.

For example, with these inputs:

the calculator returns:

Related calculations

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

Run your own numbers: Subtract Days from a Date Calculator

Related guides