Business Days Calculator
Count business days between dates, excluding weekends and optionally holidays.
Format: YYYY-MM-DD
How to Use
- Select start and end dates
- Add any holidays to exclude (optional)
- Weekends are automatically excluded
- Get accurate business day count
FAQ
What's the difference vs Working Days?
Business Days Calculator lets you exclude specific holidays, while Working Days only excludes weekends.
📘 How It Works
Date Range Processing
The calculator takes your start and end dates and prepares to iterate through each day in the range. The start date is included in the count, while the end date is typically excluded (like counting days until a deadline).
Holiday Parsing
Holiday dates entered as comma-separated values (YYYY-MM-DD format) are parsed and stored in a lookup set. Each date string is normalized to ensure consistent comparison with dates in the range.
Day-by-Day Analysis
For each day in the range, three checks occur: (1) Is it Saturday or Sunday? (2) Is it in the holidays list? (3) If neither, it's counted as a business day. This ensures accurate exclusion of both weekends and custom holidays.
Categorized Counting
The algorithm maintains separate counters: business days, weekend days, and holidays excluded. This breakdown helps you understand exactly how the total was calculated and verify accuracy.
Edge Case Handling
The calculator handles various edge cases: holidays falling on weekends (counted only once), partial weeks, leap years, and year boundaries. All dates are processed using native Date objects for accuracy.
💡 Common Use Cases
Contract SLA Calculations
Calculate business days for service level agreements that specify response times in business days. Exclude company-specific holidays for accurate SLA compliance.
Payroll Processing
Determine pay periods accounting for weekends and holidays. Essential for calculating daily rates, overtime periods, or prorated salaries.
Legal Filing Deadlines
Many court systems and government agencies specify deadlines in business days. Calculate exact due dates accounting for court holidays and weekends.
International Business Coordination
When working across countries, account for different national holidays. Calculate realistic timelines that respect each region's non-working days.
Manufacturing Lead Times
Calculate production schedules accounting for factory closures, maintenance days, and holidays. Essential for accurate delivery date promises.
Bank Processing Times
Determine when ACH transfers, wire transfers, or check clearances will complete. Banking follows business days with additional holidays like Columbus Day.