Skip to main content

Calculate Working Days Between Two Dates Calculate the number of business (working) days between two dates, excluding weekends.

Business Days Calculator illustration
📅

Business Days Calculator

Calculate the number of business (working) days between two dates, excluding weekends.

1

Set Date Range

Enter your start and end dates.

2

Configure Weekends

Choose which days to exclude (Saturday, Sunday, or both).

3

View Count

See the total business days, weekend days, and full weeks.

Loading tool...

What Is Business Days Calculator?

The Business Days Calculator counts the number of working days between two dates, automatically excluding weekends. This is essential for project management, contract negotiations, shipping estimates, and any scenario where only weekdays matter. You can customize which days are considered weekends — exclude Saturdays only, Sundays only, or both. The tool iterates through each calendar day in the range and checks the day of week, giving you an accurate count of business days along with the total calendar days and weekend days. It also shows the number of complete weeks in the range. The calculation runs entirely in your browser for instant results.

Why Use Business Days Calculator?

  • Accurate weekday counting that excludes Saturday and/or Sunday
  • Configurable weekend days for different work cultures
  • Shows total days, weekend days, and full weeks alongside business days
  • Instant calculation with no server requests
  • Handles any date range within JavaScript's supported range
  • Perfect for SLA calculations and delivery estimates

Common Use Cases

SLA Tracking

Calculate if a response was delivered within the agreed business-day SLA.

Shipping Estimates

Determine delivery dates based on business-day shipping windows.

Contract Deadlines

Count business days for legal notice periods and contract obligations.

Payroll Periods

Calculate working days in a pay period for hourly employees.

Project Scheduling

Estimate project duration by counting available working days.

Technical Guide

The calculator iterates through each day from the start to end date using a while loop, incrementing by one day. For each day, it checks the day of week using getDay() (0 = Sunday, 6 = Saturday) and classifies it as a weekend day or business day based on the user's configuration. This brute-force approach is O(n) where n is the number of days, but it's perfectly efficient for date ranges up to decades. For very large ranges, a mathematical optimization could compute complete weeks and handle only the partial week at each end, but the iteration approach is simpler and handles edge cases naturally. The tool sorts the dates automatically if the end date precedes the start date, ensuring consistent results regardless of input order.

Tips & Best Practices

  • 1
    Uncheck "Exclude Saturdays" for cultures with a Saturday workweek
  • 2
    Use this alongside the Working Hours Calculator for detailed time tracking
  • 3
    Remember that this tool counts calendar weekdays — it does not account for public holidays
  • 4
    For holiday-aware calculations, pair results with the Holiday Calendar tool
  • 5
    The weekend days count is useful for overtime planning

Related Tools

Frequently Asked Questions

Q Does it account for public holidays?
No, this calculator only excludes weekends. Use it in conjunction with the Holiday Calendar tool to manually adjust for public holidays in your region.
Q Can I exclude only Sundays?
Yes, you can independently toggle Saturday and Sunday exclusion to match your local work culture.
Q What if both dates fall on a weekend?
The calculator still works correctly, counting only the weekdays between the two weekend dates.
Q Does it include the start and end dates?
Yes, both the start and end dates are included in the count if they fall on business days.
Q How does it handle date ranges of several years?
The calculator processes any range efficiently. Even a 10-year range (approximately 3,650 iterations) computes instantly in modern browsers.

About This Tool

Business Days Calculator is a free online tool by FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration or installation required.