Number of Days Calculator

Count the exact number of days between two dates, choose inclusive or exclusive counting, and see a weeks, weekdays, and weekend-day breakdown.

Quick Facts

Core formula
Days = (End date − Start date) ÷ 1 day
Add 1 more day only if you choose to count both the start and end date.
Weekday rule
Monday–Friday count as weekdays, Saturday–Sunday as weekend days
Public holidays are not excluded automatically.

Your Results

Calculated
Total days
-
Per your counting method
Weeks and days
-
Same total, broken into weeks
Weekdays (Mon–Fri)
-
Within the full date range
Weekend days (Sat–Sun)
-
Within the full date range

Ready

Pick a start date, an end date, and a counting method, then press Calculate.

About the Number of Days Calculator

This tool counts the exact number of calendar days between a start date and an end date. It uses one formula — subtract the earlier date from the later one — and offers the one variable that trips people up in real life: whether the end date itself should be counted.

The formula

Every date can be converted to a single point on a timeline (its distance in days from a fixed reference point). The number of days between two dates is simply:

  • Exclusive count (default): Days = End date − Start date. This is how nights in a hotel, or the "duration" between two moments, are usually measured. January 1 to January 5 is 4 days.
  • Inclusive count: Days = (End date − Start date) + 1. This counts both the start and end calendar dates, the way vacation days, billing days, or "how many days was I sick" are often measured. January 1 to January 5 inclusive is 5 days.

From the total day count, this calculator also derives a weeks-and-days breakdown (divide by 7, keep the remainder), and it walks every calendar date from the start date through the end date — inclusive of both — to tally how many fall on a weekday (Monday through Friday) versus a weekend day (Saturday or Sunday).

Picking inclusive vs. exclusive

Get this wrong and you're off by exactly one day — a classic "fencepost" error. A simple test: if you're measuring a gap or a duration between two instants (checkout minus check-in, delivery date minus order date), use exclusive counting. If you're counting how many calendar days a thing occupies, including the first and last one (a multi-day event, a rental period billed by the day, a course that runs "day 1 through day 5"), use inclusive counting.

Where day counts like this show up

  • Contract and legal deadlines written as "within 30 days of signing" or "10 business days' notice"
  • Prorating rent, subscriptions, or insurance premiums for a partial billing period
  • Loan and interest calculations that use an actual-day-count convention
  • Project timelines, sprint lengths, and countdowns to a launch or event date
  • Return, warranty, and waiting-period windows measured in calendar or business days

Business days and holidays

The weekday/weekend split here follows the standard Monday-through-Friday definition of a business day. It does not subtract public holidays, because holiday calendars vary by country, region, and even by employer. If your use case needs a holiday-aware count (for example, a legal filing deadline), start from the weekday figure this calculator gives you and subtract any holidays that fall within your date range.

Frequently Asked Questions

How is the number of days between two dates calculated?
Subtract the start date from the end date; each 24-hour calendar day counts as one day. By default the end date is not double-counted, which matches how nights or a duration are usually measured. Switch to inclusive counting to add one extra day and count both the start and end calendar dates.
What is the difference between inclusive and exclusive counting?
Exclusive counting (the default) measures the gap between two dates, the way hotel nights are counted: January 1 to January 5 is 4 days. Inclusive counting counts every calendar date from start through end, the way vacation days or billing days are often counted: January 1 to January 5 inclusive is 5 days, one more than the exclusive figure.
What counts as a weekday versus a weekend day?
This calculator treats Monday through Friday as weekdays and Saturday and Sunday as weekend days, checked for every calendar date from the start date through the end date inclusive. It does not exclude public holidays, so for a holiday-aware business-day count you would need to subtract holidays separately.
Does the calculator account for leap years?
Yes. The calculation works from each date's actual calendar position, so February 29 in a leap year is counted like any other calendar day with no special adjustment or fixed 365-day assumption.