Guide

How to Count Days Between Two Dates

An in-depth guide on how to count days between two dates manually, using Excel, or via free online tools.

How to Count Days Between Two Dates

Determining the span of time between two calendar events is highly essential for legal frameworks, flight bookings, school countdowns, and corporate logistics. While it seems straightforward, manually counting dates can quickly become problematic when you cross months or deal with leap years.

Short Answer

To count days between two dates, you find the calendar distance by subtracting the start date from the end date. For a manual calculation, add the remaining days of your starting month, the total standard days of any full intervening months, and the exact day number of your target month. You can also automate this instantly on our browser-based Date Calculator.


Why counting can be tricky

Calendars do not follow a simple base-10 mathematical structure. Month lengths fluctuate between 28 and 31 days, and February gains an extra day every four years.

If you are looking for other specific calculation styles, we have helpful resources on related topics. For example, you can learn How to Calculate Days Between Dates or understand how to differentiate between Business Days vs. Calendar Days in commercial agreements.


Method 1: The Manual Calendar Step

If you are doing this on paper:

  1. Identify your Start Date and End Date.
  2. Count how many days are left in your start month.
  3. Add the complete days for any full months in between.
  4. Add the day number of your end date.

For instance, if you are counting from October 20 to December 15:

  • Remaining days in October (31 days): $31 - 20 = 11$ days.
  • Full intervening months: November has 30 days.
  • End month days: December has 15 days.
  • Total: $11 + 30 + 15 = 56$ days.

Method 2: Spreadsheet Formulas (Excel / Google Sheets)

In Microsoft Excel or Google Sheets, dates are stored as sequential serial numbers. This makes counting them incredibly simple. Simply type into a cell:

=DATEDIF(A1, B1, "d")

Where A1 contains your starting date and B1 contains your ending date. This outputs the exact absolute days between them. If you want to perform other operations like projecting deadlines, you can read our guide on How to Add Days to a Date.

Method 3: Online Browsers (Instant & Secure)

Using a local tool is by far the fastest solution. Our client-side script executes in your local browser sandbox to count calendar spans without uploading your private schedule data to any remote servers.


Perform secure, fast calculations between any two dates on our platform: 👉 Open Date Calculator


FAQ

Does counting include both the start and end dates?

Standard scientific and legal calculations are “exclusive”, meaning they count the nights or days that passed (excluding the start day). If you need an “inclusive” stay count, simply add 1 to your result.

What happens during leap years?

Leap years occur in years divisible by 4 (such as 2024 and 2028). An extra day (February 29) is added, meaning February has 29 days instead of 28. Our tools automatically factor in this extra day.

Can I subtract days to count backwards?

Yes, counting backward is common when auditing server logs or analyzing historical records. Check out our guide on How to Subtract Days from a Date for more details.

Interactive Tool Solution

Calculate this instantly with the Date Calculator!

Don't get bogged down in manual calculations. Use our secure, responsive tool to get accurate counts in seconds.

Open Date Calculator