Date (Days Between) Calculator

Count the days between two dates, or add and subtract days, weeks and months from one.

What do you need?

Count the end day too
Skip US federal holidays

This finds the number of days between two dates, or the date a given number of days, weeks or months from another.

It handles leap years and can count business days only.

How date arithmetic works

Counting days between two dates is simple in principle and awkward in practice, because months are not a fixed length and leap years follow a rule with an exception inside an exception.

The leap rule is: divisible by 4, except century years, unless those are divisible by 400. So 1996 and 2000 were leap years, 1900 was not, and 2100 will not be. Most people know the first part and not the rest.

The subtler problem is that "three months from now" is genuinely ambiguous. Three months from 31 January could be 30 April or 1 May, depending on whether you clamp to the end of the month or overflow into the next. Different software makes different choices, which is why two tools can disagree.

The leap year rule, in order
Divisible by 4?if not, common year
Divisible by 100?if not, leap year
Divisible by 400?if yes, leap; if not, common

1900 failed at the third test and was a common year. 2000 passed it and was a leap year. 2100 will fail it.

What to enter

Start and end date
For counting the days between them. Whether both endpoints are counted is a choice the tool makes explicit.
Number of days, weeks or months to add
For finding a future or past date. Days and weeks are unambiguous; months are not.
Business days only
Counts weekdays and excludes weekends. Public holidays vary by country and are not assumed.

Things that make dates awkward

Month lengths
28 to 31 days. There is no fixed number of days in a month.
Leap years
Divisible by 4, except centuries, unless divisible by 400.
Inclusive vs exclusive counting
Whether both endpoints count. A five-day event runs Monday to Friday, which is four days apart.
Business days
Weekdays only. Public holidays differ by country and often by state.
Time zones
The same instant can be two different dates in two places.

What this assumes

Business day counts exclude weekends but not public holidays, since those vary by jurisdiction.

Adding months clamps to the end of the target month, so 31 January plus one month gives 28 or 29 February rather than overflowing into March.

How to calculate date calculations

Convert both dates to a day count, subtract, then convert back if needed.

days between = end − start, counted in whole days
leap years
Add a day for each 29 February that falls in the range
inclusive
Add one if both endpoints should count
  1. Decide whether both endpoints count. Monday to Friday is four days apart and five days inclusive. Contracts and deadlines usually specify which.

  2. Count whole days, allowing for leap years. Any range spanning a 29 February gains a day.

  3. For business days, exclude weekends. And subtract public holidays manually, since they differ by country and often by state.

  4. Be careful adding months. Days and weeks are unambiguous. Months are not, so check what a tool does at month ends before relying on it.

See a worked example: counting to Christmas
From
1 January 2026
To
25 December 2026

2026 is not a leap year, since it is not divisible by 4.

Days between: 358.

Inclusive of both endpoints that would be 359.

As business days it drops to roughly 256, before subtracting whatever public holidays apply where you are.

358 days

Frequently asked questions

Problems people actually run into

Assuming every fourth year is a leap year

The century exception catches people out. 1900 was not a leap year and 2100 will not be, despite both being divisible by 4.

Software that gets this wrong is rarer than it used to be, but the rule is worth knowing when checking a date range by hand.

Mixing inclusive and exclusive counting

"Five business days" and "by the fifth business day" can mean different deadlines, and contracts frequently do not specify.

State which you mean when it matters. A one-day difference on a filing deadline is not a rounding error.

Results are estimates for general information only and are not professional financial, medical, or legal advice. Read our full disclaimer.

Last updated: September 4, 2026