Counting Days Between Dates: Inclusive vs. Exclusive

To count the days between two dates, subtract the earlier date from the later one. That gives you the days that pass after the start date. If your rule says the first and last day both count, add one. The only real decision is whether the end date is included, and it changes the answer by exactly one day.

Exclusive vs. inclusive counting

Exclusive counting asks how many days go by between two dates. Inclusive counting asks how many calendar days the period touches, counting both the first and the last day. Think of a hotel stay: arriving Monday, March 10 and leaving Friday, March 14 is 4 nights, but you were there on 5 different dates.

StartEndExclusiveInclusive
Mar 10, 2025Mar 14, 20254 days5 days
Jan 1, 2025Jan 31, 202530 days31 days

Neither method is wrong. They answer different questions, so check which one your situation uses before you rely on the number.

How to check a count by hand

When both dates fall in the same month, subtract the day numbers. Across months, add the days left in the start month, any full months in between, and the day number of the end date.

For example, December 25, 2025 to January 1, 2026: December has 6 days left after the 25th (the 26th through the 31st), plus 1 day into January, which makes 7 days, or exactly one week.

Leap years change the answer

February has 29 days in a leap year. A year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400. That means the number of days between February 28 and March 1 depends on the year:

  • February 28 to March 1, 2024 (a leap year): 2 days, because February 29 exists.
  • February 28 to March 1, 2025: 1 day.

Weeks, months and days

Day counts convert neatly to weeks (divide by 7), but months are uneven. Our calculators add whole months first and clamp to the last day of a shorter month. For January 31 to March 1, 2024, that works out as follows: January 31 plus one month lands on February 29 (the last day of that February), then one more day reaches March 1. The result is 1 month and 1 day, which is the same period as 30 days, or 4 weeks and 2 days. Other tools may break months down differently, so use the same method throughout a calculation.

Counting forward: 30, 60 and 90 days

Deadlines are often written as a number of days from a date. Starting on Monday, March 3, 2025:

  • 30 days later is Wednesday, April 2, 2025.
  • 60 days later is Friday, May 2, 2025.
  • 90 days later is Sunday, June 1, 2025.

These are calendar days, so weekends and holidays are included, and a deadline can land on a weekend as the last example does. If your rule counts only working days, use a business days count instead, and check which holidays your organization observes.

When the rule matters

For leases, notices, contracts, court filings, benefits and similar deadlines, the governing document or rule decides whether the first day counts and what happens when the last day falls on a weekend or holiday. This guide and our calculators are for general planning and are not legal advice. Confirm the counting rule with the document itself or a qualified professional.

Try it yourself

How this guide was made: it was drafted with AI assistance, and every example was computed with the calculators linked above (which are covered by automated tests) and checked by hand before publishing.