Date Difference Calculator (Days & Business Days Between Dates)

Calculate the exact number of days between two dates with calendar breakdowns (years, months, days), total weeks, total elapsed hours, working business days, weekend/off-days, and custom holiday exclusions. Features an inclusive end-date (+1 day) toggle and UTC leap-year-aware calendar arithmetic.

Date Format:
Quick Range Presets (Local Calendar):
Formatted: 2026-01-01Thursday
Formatted: 2026-11-23Monday

Selected working days count toward "Business Days". Unselected days are automatically categorized as "Weekend / Off Days".

Total Calendar Days
327calendar days

Continuous 24-hour days (2026-01-01 to 2026-11-23) with end date included.

Business Working Days
233working days

5-day schedule (Mon, Tue, Wed, Thu, Fri)

Duration in Weeks
46.7 weeks

46 weeks and 5 days

Calendar Breakdown
10 mos, 23 days

Based on actual Gregorian month lengths

Total Elapsed Hours
7,848 hrs

24 hours per calendar day

Weekend / Off Days
94 days

2 non-working days per week

Advertisement

How to Use Date Difference Calculator

Select a **Start Date** and **End Date** (or click one of the 8 **Quick Range Presets** such as `Last 30 Days`, `This Month`, or `Year to Date`) and choose your preferred display format (`ISO YYYY-MM-DD`, `US MM/DD/YYYY`, or `EU DD/MM/YYYY`). Check **Include end date in calculation (+1 day)** when both endpoints count as full days (for example, March 1 to March 31 = `31` inclusive days vs. `30` exclusive days); if the start date is after the end date, the calculator automatically computes the absolute span and offers a one-click **Swap** button. All calculations use UTC midnight timestamps (`Date.UTC`) and exact Gregorian month lengths (including 29-day Februaries in leap years) to prevent Daylight Saving Time errors. Customize your **Working Weekdays Schedule** (`Standard Mon–Fri`, `6-Day Mon–Sat`, `4-Day Mon–Thu`, or custom weekday checkboxes) and add **Custom Public Holidays & Off-Days**—holidays falling on active workdays are deducted (`-1 day`), whereas holidays on scheduled weekend/off-days are flagged `Already Off (No double-deduct)`. You can also convert Unix epochs in our Timestamp Converter or check exact birth ages in our Age Calculator.

  1. 1

    Pick Start & End Dates

    Select your Start Date and End Date, click a Quick Range Preset, or click Swap if dates are reversed.

  2. 2

    Toggle Inclusive End Date (+1 Day)

    Keep Include end date checked to count both boundary dates, or uncheck for exact End − Start subtraction.

  3. 3

    Set Workweek & Custom Holidays

    Choose your active working weekdays (e.g., Mon–Fri) and add custom holiday dates to exclude from workdays.

  4. 4

    Inspect Calendar, Business Days & Hours

    View Total Calendar Days, Business Working Days, Duration in Weeks, Calendar Breakdown (years/months/days), Total Elapsed Hours, and Weekend/Off-Days.

Worked Input & Output Example

Inclusive vs. Exclusive Date Difference & Business Day Audit (March 2026)

UTC calendar arithmetic accounts for exact month lengths and leap years while separating active weekdays, weekends, and holidays.

1. Date Span & Rules
2026-03-01 → 2026-03-31 · Inclusive (+1 Day): ON

Workweek: Standard (Mon–Fri) · 1 Custom Holiday on a weekday.

2. Calendar & Workday Audit

31 inclusive days (30 exclusive) = 22 Mon–Fri weekdays + 9 Sat/Sun off-days − 1 weekday holiday.

Client-side calculation
3. Duration Results
31 Calendar Days (1 Month) · 21 Net Business Days

Duration in Weeks: 4.43 weeks (4 weeks + 3 days) · Total Elapsed Hours: 744 hours (24h/day).

Inclusive (+1 Day)31 Calendar DaysCounts both Mar 1 & Mar 31
Exclusive (End−Start)30 Calendar DaysUnchecked end-date mode
Net Working Days21 Business Days22 Mon–Fri − 1 holiday
Weekend / Off-Days9 Off-DaysSaturdays & Sundays
Methodology & Technical Notes

How Date Difference, Inclusive Counting & Business Days Work

Counting days between two dates depends on whether you include the final date and how weekend and holiday rules are applied:

Inclusive (+1 Day) vs. Exclusive Date Counting

Exclusive counting (Include end date unchecked) measures pure date subtraction (End − Start): March 1 to March 31 equals 30 days. Inclusive counting (checked by default) adds +1 day so both the start date and end date are counted as full calendar days: March 1 to March 31 equals 31 days (the full month of March).

UTC Midnight Arithmetic & Leap-Year Calendar Breakdown

Dates are normalized to UTC midnight (Date.UTC(year, month, day)) so local Daylight Saving Time shifts never add or lose an hour. The Calendar Breakdown borrows the exact day length of each month (28, 29 in leap years, 30, or 31 days), and Total Elapsed Hours equals Total Calendar Days × 24 hours (this is a calendar-date calculator and does not take time-of-day HH:MM inputs).

Customizable Workweeks & User-Supplied Holiday Auditing

Business Working Days iterates day-by-day across your selected date range and counts days matching your active Working Weekdays Schedule (e.g., Mon–Fri). Any user-added Custom Public Holiday that falls inside the date range on an active workday is subtracted once (-1 day), while holidays falling on an already-excluded weekend day are labeled "Already Off (No double-deduct)".

Processing & Browser Storage: All date range and custom holiday calculations execute locally in your browser without sending dates to any external server.

Related Free Tools

Explore more browser-based tools in Student & Academic Tools or browse the complete All Tools Directory.