Date Difference Calculator
Calculate exact calendar days, years/months/days breakdown, total weeks, and Mon–Fri business days between any two dates.
Results update automatically as you adjust values
Total Calendar Days
338 Days
Business Days (Mon–Fri)
242 Days
Y / M / D Breakdown
0 yrs, 11 mos, 4 days
Weeks / Hours
48.3 Wks
8,112 Hours
Business days exclude Saturdays and Sundays; country-specific public holidays are not automatically excluded.
Reference Scenario Table
| Start Date | End Date | Calendar Days | Weekdays |
|---|---|---|---|
| 2026-01-01 | 2026-02-01 | 31 Days | 22 Weekdays |
| 2026-01-01 | 2026-07-01 | 181 Days | 129 Weekdays |
| 2026-01-01 | 2027-01-01 | 365 Days | 261 Weekdays |
Formula & Methodology
UTC Calendar & Weekday Calculation
Days = (End_UTC - Start_UTC) / 86,400,000 ms (+1 if end date included)
Dates are normalized to UTC midnight to avoid daylight-saving offsets while accurately handling leap years and counting Monday–Friday workdays.
Formula Variables
T₁
Start Date
Starting calendar date normalized to UTC midnight.
T₂
End Date
Ending calendar date normalized to UTC midnight.
WD
Weekday Counter
Counts Monday–Friday days while skipping Saturdays and Sundays.
Step-by-Step Worked Example
Duration Between Jan 1, 2026 and Dec 5, 2026
Sample Inputs: Start = 2026-01-01 · End = 2026-12-05 · Include End Date = Off
- 1Elapsed days: (T₂_UTC − T₁_UTC) / 86,400,000 ms = 338 calendar days.
- 2Calendar breakdown: 11 months, 4 days (48.3 weeks / 8,112 hours).
- 3Iterating calendar days excluding Saturday/Sunday yields 242 weekdays.
Result: There are 338 calendar days and 242 Mon–Fri business days between these two dates.
How to Use
- 01Pick a Start Date and End Date.
- 02Optionally check "Include end date" for inclusive day spans.
- 03Read total days, calendar Y/M/D breakdown, weeks, and weekdays.
Key Assumptions & Edge Cases
- All date math runs at UTC midnight to eliminate Daylight Saving Time off-by-one-hour rounding errors.
- If Start Date is entered after End Date, the calculator swaps chronologically so durations stay positive.
Frequently Asked Questions
Does the calculator handle leap years?
Yes. February 29 in leap years is counted accurately in both calendar day and year/month/day outputs.
When should I check "Include end date (+1 day)"?
Check it when both start and end dates are inclusive (such as sprint days or paid leave days); leave it unchecked for overnight stays or elapsed nights.
Does the business-day counter subtract national public holidays?
No—since public holidays differ by country and region, it excludes universal Saturday/Sunday weekends.