Online Working Days Calculator
Input Parameters
Computed Results
The online working days calculator determines the number of business days between a start and end date. It accounts for different weekend rules and public holidays to estimate total working days, excluded weekend days, and standard working hours.
How to Use the Calculator
Follow these steps to calculate the number of working days between two dates:
- Enter the Start Date formatted as YYYY-MM-DD.
- Enter the End Date formatted as YYYY-MM-DD.
- Select the Working Days Definition (e.g., exclude weekends, exclude Sunday only, or include all days).
- Choose whether to Include End Date in the calculation.
- Input the number of Public Holidays During Period that fall on otherwise normal working days.
Formula & Explanation
The calculator determines the total calendar days between the start and end dates. It then iterates through each day to check if it falls on a weekend based on your selected rule. Finally, it subtracts any specified public holidays from the working day count.
Inputs & Outputs
| Input/Output | Description |
|---|---|
| Start Date | The beginning date of the period (YYYY-MM-DD). |
| End Date | The final date of the period (YYYY-MM-DD). |
| Working Days Definition | Rule for determining weekends (e.g., exclude weekends, exclude Sunday). |
| Include End Date? | Whether the end date itself is counted as a day. |
| Public Holidays During Period | Number of designated public holidays falling on working days. |
| Total Working Days | The calculated number of business days. |
| Total Calendar Days | The total number of days in the date range. |
| Weekend Days Excluded | The number of weekend days removed from the count. |
| Standard Working Hours (8h/day) | The estimated working hours based on an 8-hour workday. |
Verified Scenario Walkthroughs
Here are examples of how the calculator processes different date ranges and rules:
Short work week excluding Sundays only
For a period from 2024-05-01 to 2024-05-07, excluding only Sundays, including the end date, and accounting for 1 holiday, the calculator finds 5 working days out of 7 total calendar days. This results in 1 excluded weekend day and 40 standard working hours.
Standard full month calculation
From 2024-06-01 to 2024-06-30, excluding weekends, not including the end date, and with 0 holidays, there are 20 working days out of 29 calendar days. This excludes 9 weekend days and totals 160 working hours.
Long duration project with multiple holidays
Spanning 2024-01-01 to 2024-12-31, excluding weekends, including the end date, and subtracting 12 holidays, the result is 250 working days from 366 calendar days. This excludes 104 weekend days and yields 2000 working hours.
Single day duration with all days included
For a single day (2024-02-15 to 2024-02-15), including all days and the end date, with 0 holidays, the calculator outputs 1 working day, 1 calendar day, 0 weekend days, and 8 working hours.
Practical Use Cases
This calculator is useful for project planning, estimating delivery timelines, and calculating payroll hours. By adjusting the weekend rules and holidays, you can tailor the calculation to different regional work schedules or specific project requirements.
Frequently Asked Questions
How does the calculator handle leap years?
The calculator uses standard date logic, which automatically accounts for leap years when determining the total number of calendar days between two dates.
What happens if the start date is after the end date?
If the start date is later than the end date, the calculator automatically swaps them to ensure a positive date range.