How to Count Days Between Two Dates (and Add or Subtract Days)

Learn how to count the days between two dates, add or subtract days from a date, count business days, and avoid the common off-by-one mistake.

How many days until a deadline? What date is 90 days from today? These questions come up for projects, visas, notice periods, pregnancies and countdowns. Here is how to answer them accurately.

Quick answer: There are 358 days between 1 January 2026 and 25 December 2026. Adding 90 days to 11 November 2026 gives 9 February 2027.

Counting days between two dates

Count the days left in the starting month, add the full months in between, then add the days in the final month.

Example: 11 November 2026 to 9 February 2027:

  • Rest of November: 19 days
  • December: 31 days
  • January: 31 days
  • February: 9 days
  • Total: 90 days

The off-by-one problem

Should you count the start day, the end day, or both? Most calculators give the difference between the dates, which excludes the start day. If you need to include both days, for example to count the days of an event, add 1.

A hotel stay from Monday to Friday is 4 nights, but an event running Monday to Friday is 5 days.

Days in each month

31 days30 days28 or 29 days
January, March, May, July, August, October, DecemberApril, June, September, NovemberFebruary (29 in leap years)

A year is a leap year if it divides by 4, except century years, which must divide by 400. So 2028 is a leap year, and 2100 will not be.

Business days vs calendar days

Contracts and delivery times often count business days, which skip weekends and sometimes public holidays. There are about 21 to 22 business days in a typical month and about 260 in a year before holidays.

Common uses

Frequently asked questions

How many weeks are between two dates?

Divide the number of days by 7. For example, 90 days is 12 weeks and 6 days.

How do I calculate days between dates in Excel?

Subtract the earlier date from the later one: =B1-A1. For business days, use =NETWORKDAYS(A1,B1).

What date is 30 days from today?

Add 30 days, carrying into the next month when you pass its last day. A date calculator does this instantly.

Count days instantly

Our free Date Calculator finds the days, weeks and months between two dates, and adds or subtracts days from any date.

Leave a Reply

Your email address will not be published. Required fields are marked *