Workdays Calculator
Count weekdays (Mon–Fri) between two dates, excluding weekends.
Input Data
Results
At a glance:Workdays = count of Monday–Friday dates in the range. Algorithm: iterate each day; getDay() = 0 (Sun) / 6 (Sat) is skipped, others counted. inclusive=true counts the start and end dates (if they are weekdays); false counts only the days strictly between. Public holidays are not excluded (subtract manually). Complements date-diff (calendar days).
Formula
workdays = Σ I(Mon ≤ d ≤ Fri), d over the range.
How to Use
- Enter the start and end dates and whether to include endpoints.
- The tool returns the workday count.
Case Studies
2026-08-01 (Sat) ~ 2026-08-02 (Sun)
Still 0 workdays even if inclusive (both weekends).
2026-08-03 (Mon) ~ 2026-08-07 (Fri)
5 workdays.
FAQ
Public holidays?
This tool only excludes weekends; subtract public holidays manually.
Negative range?
If end is before start, they are swapped and a positive count is returned.
Vs date-diff?
That counts calendar days; this counts weekdays.
Endpoints?
When inclusive, start/end are counted if they fall on a weekday.
Precision?
Whole days.
Applications?
Lead time, project days, attendance, interest accrual (some use actual/360).
Related Tools
References
Content review: Calculatorism Lifestyle Team. Results are for reference only; please refer to the relevant authorities for the official figures.