# Working Days Calculator

- **URL:** https://codeasystem.com/calculators/dates/working-days-calculator/
- **Category:** dates
- **Description:** Count business days between two dates, excluding Saturdays and Sundays and subtracting any holidays you specify.
- **Primary output:** Working days: 5

## Inputs
- Start date (name: `start`, type: date, example: 2026-08-03)
- End date (name: `end`, type: date, example: 2026-08-09)
- Holidays in range (name: `holidays`, type: number, example: 0)

## Outputs
- Working days: 5
- Total calendar days: 7
- Weekdays before holiday adjustment: 5
- Holidays subtracted: 0

## Formula / methodology
```
Working days = weekday count (Mon–Fri, endpoints included) − holidays
```

Every calendar day from the start through the end date is examined in UTC; Saturdays and Sundays are skipped. The holiday count you enter; assumed to fall on weekdays within the range; is then subtracted, never dropping below zero. A total calendar-days row shows the unfiltered span for reference.

## Assumptions & limitations
- Both endpoint dates are included when they fall on weekdays.
- A standard Mon–Fri work week; regional six-day weeks are not modeled.
- Each holiday entered falls on a weekday inside the range.

## How to use
1. **Enter the range**; Start and end dates inclusive; a normal Monday-to-Friday week counts as five.
2. **Add holidays**; Count the public holidays landing on weekdays inside your range and enter that number.
3. **Read the result**; Working days is the primary value; calendar days and the holiday adjustment appear in the rows.

## Example
The week of Mon 2026-08-03 through Sun 2026-08-09 contains exactly 5 working days.

Result for these inputs:

```
Working days: 5
```

## About this calculator
### Why business-day math matters

Delivery estimates, SLA response clocks, notice periods and payroll runs all operate on working days. Counting them by hand invites off-by-one errors at every weekend boundary; automating the loop removes the whole class of mistake.

### The holiday shortcut

Rather than maintaining a per-country holiday database, this tool lets you subtract the exact number of holidays affecting your span. Check your local calendar, count the ones falling on weekdays inside the range, and enter them.

### Endpoints count

Unlike the elapsed-days difference, working-day counts include both endpoints when they qualify; starting Monday and ending Friday is five days, not four. This matches how deadlines and SLAs are usually written.

## FAQs
### Are both start and end dates counted?

Yes, whenever they land on weekdays. A Monday-start, Friday-end range contains five working days.

### How should I enter holidays?

Enter the number of public holidays that fall on weekdays within your range; each one subtracts a day from the total.

### Can I exclude other weekend days?

Not in this version; it assumes Saturday and Sunday are non-working everywhere it is used.

### What if my range spans years?

It works fine; the calculator walks every real calendar day, so leap days and year boundaries are handled correctly.

## Related calculators
- [Days Between Dates Calculator](https://codeasystem.com/calculators/dates/days-between-dates-calculator/)
- [Age Calculator](https://codeasystem.com/calculators/dates/age-calculator/)
- [Date Add/Subtract Calculator](https://codeasystem.com/calculators/dates/date-add-subtract-calculator/)

---
Last updated: 2026-08-23 · Version: 1.0.0 · [HTML version](https://codeasystem.com/calculators/dates/working-days-calculator/)
