Days Between Dates
Calculate the exact chronological distance between any two dates with standard, inclusive, and business day modes.
Quick Answer
A days between dates calculator determines the exact distance between two dates. Standard days measure the pure difference and exclude the end date. Inclusive days count both the start and end date. A business days calculator automatically excludes weekends from the count.
A date calculator measures the exact time span between a start date and an end date. Differences of a few days are simple. Spans covering multiple months require complex calendar logic. This calculator solves that problem reliably.
Unlike black-box tools, this calculator shows you the underlying mathematical logic. You can verify your own systems and spreadsheets against it.
The tool adapts to regional formats and uses strict ISO 8601 formatting standards. It eliminates human error and solves the notorious boundary-day problem: you always know exactly whether the last day is included.
The calculator translates calendar dates into continuous numbers using UTC-based date arithmetic. This correctly handles leap years and varying month lengths (28, 30, or 31 days) without errors.
B = D_{incl} - W - HPractical Examples
Scenario 1: Travel Planning (Standard and Inclusive)
You book an Airbnb. Check-in is October 5, 2026. Check-out is October 12, 2026.
- Standard days (booked nights): 12 - 5 = 7 nights
- Inclusive days (calendar days): 7 + 1 = 8 calendar days
Scenario 2: Project Management SLA (Business Days)
An agency receives a request on Wednesday, November 4, 2026. The deadline is Wednesday, November 18, 2026. November 11 is a holiday (which you manually add to the calculator).
- Inclusive days: 14 + 1 = 15 total days
- Full weeks: 15 / 7 = 2 full weeks
- Standard weekends: 2 weeks x 2 = 4 weekend days
- Holiday on a weekday: 1
- Final business days: 15 - 4 - 0 - 1 = 10 business days
You can replicate this calculator's logic in your own spreadsheets:
- Standard difference (exclusive):
=DAYS(end_date, start_date) - Inclusive difference:
=DATEDIF(start_date, end_date, "d") + 1 - Business days:
=NETWORKDAYS(start_date, end_date, [holidays])
The NETWORKDAYS function skips weekends automatically. You can reference holiday dates as a cell range for the optional third argument.
- Custom weekends:
=NETWORKDAYS.INTL(start_date, end_date, weekend_string, [holidays])— use this for regions with non-standard weekends (e.g., Friday/Saturday work weeks).
Using the wrong mode leads to contract breaches or billing errors. Use this quick reference:
| Calculation Type | Result | Use Case | Recommended Setting |
|---|---|---|---|
| Standard (Exclusive) | Pure difference, end date excluded | Hotel nights, age, chronological distance | All toggles off |
| Inclusive | Adds 1, counts start and end | Quarantine guidelines, visa durations, event tickets | Enable "Include End Date" |
| Business Days | Removes Saturdays, Sundays, and holidays | SLAs, shipping times, invoice deadlines, court deadlines | Enable "Business Days Only" |
- Time zones: This calculator uses midnight-to-midnight boundaries. It does not calculate hour-based fractions. Cross-timezone scenarios require timezone-aware tools.
- Historical calendars: Algorithms use the proleptic Gregorian calendar. Dates before October 1582 may produce inaccuracies due to the historical calendar transition.
- Daylight saving time (DST): The calculator uses whole day numbers and ignores DST anomalies. Each calendar day counts as exactly one standardized day unit.
The Bottom Line
Always double-check your context when calculating date spans. Use standard (exclusive) mode for chronological distance, inclusive mode for duration boundaries like quarantine or visa periods, and business day mode for professional deadlines.