ThisCalculator

Everyday

Business Days Calculator: Count Workdays

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This business days calculator works out the number of working days between two dates, or the date that falls a given number of business days after a start date. You enter a start date and an end date (or a number of days), and the calculator returns the count of weekdays (Monday–Friday) between them, excluding weekends. Below we explain the standard formula, show a worked example, and cover common pitfalls like holidays and date formatting.

Formula

Let S be the start date and E be the end date, both inclusive. The total number of calendar days in the range is N = E – S + 1 (in days). The number of full weeks is W = floor(N / 7), and the remainder is R = N % 7. Each full week contains 5 business days, so the base count is 5 × W. Then you add the business days in the remaining R days, which depends on the weekday of the start date. If the start weekday is Monday (index 0) through Friday (index 4), the number of business days in the remainder is max(0, min(R, 5 – startWeekday)); if the start is Saturday (5) or Sunday (6), it’s max(0, R – 1) for Saturday and max(0, R – 2) for Sunday. The calculator above uses a compact expression that yields the same result.

Worked Example

Using the default values: start = 2025-01-06 (Monday) and end = 2025-01-17 (Friday).

  • Calendar days: N = 17 – 6 + 1 = 12 days.
  • Full weeks: W = floor(12 / 7) = 1 week, remainder R = 5 days.
  • Base business days: 5 × 1 = 5.
  • Remainder: start is Monday (weekday index 0), so business days in remainder = min(5, 5 – 0) = 5.
  • Total: 5 + 5 = 10 business days.

The calculator returns 10, which matches. Note that the range includes both the start and end dates; if you want to exclude the start date, subtract 1 from the result.

What Counts as a Business Day?

A business day is typically any day that is not a Saturday or Sunday. In most countries, that means Monday through Friday. However, the term can vary by region and industry:

  • Public holidays are not automatically excluded. For example, if July 4th falls on a Wednesday, a standard business-day calculator still counts it as a business day unless you manually subtract it.
  • Banking and finance often use “business days” that also exclude federal holidays, but the exact list depends on the country and institution.
  • Some industries (e.g., retail, hospitality) may consider Saturday a business day, but the common convention is Monday–Friday.

If you need to exclude holidays, you must either adjust the result manually or use a calculator that lets you input a holiday list.

How to Use the Calculator

Enter a start date and an end date to get the number of business days between them, inclusive. The calculator assumes Monday–Friday are business days. If you want to find the date after a certain number of business days, you can use the reverse calculation: add the number of days, then adjust for weekends. For example, 10 business days from Monday 2025-01-06 is Friday 2025-01-17, as shown above. To do this manually, add 10 weekdays, skipping weekends. The calculator does not handle this reverse direction directly, but you can use the formula in reverse by iterating.

Common Mistakes and Pitfalls

  • Inclusive vs. exclusive: Many people forget that the count includes both the start and end dates. If you need the number of working days between two dates excluding the start, subtract 1 from the result.
  • Date format confusion: The calculator expects dates in YYYY-MM-DD format. If you enter 01/06/2025, it may be interpreted as January 6 or June 1 depending on your locale. Always use the ISO format to avoid errors.
  • Time zones: If you are calculating across time zones, the date difference can be off by one day if you don’t account for the time component. Stick to date-only values.
  • Holidays: As noted, this calculator does not exclude holidays. For legal or contractual deadlines, always verify with the specific holiday calendar.

Why Use a Business Days Calculator?

Business days are used in many practical contexts:

  • Project management: Estimating task durations and deadlines.
  • Legal and contractual terms: Many contracts specify “within 10 business days” for responses or deliveries.
  • Shipping and delivery: Carriers often quote delivery in business days.
  • Financial transactions: Settlement dates for trades and bank transfers are usually business days.

Using a calculator saves time and reduces errors compared to counting manually on a calendar, especially for long ranges.

Limitations of the Formula

The formula assumes a standard Monday–Friday workweek and does not account for:

  • Public holidays (e.g., Christmas, New Year’s Day).
  • Company-specific holidays or half-days.
  • Weekends that are not Saturday–Sunday (e.g., in some Middle Eastern countries, the weekend is Friday–Saturday).
  • Leap years are handled correctly because the date difference is calculated in milliseconds, but the formula itself is based on the number of days, not the calendar structure.

For international use, you may need to adjust the definition of a business day. The formula is accurate for the common Monday–Friday workweek in the US, UK, Canada, and most of Europe.

Frequently Asked Questions

How do I exclude holidays from the count?

This calculator does not exclude holidays. To get a holiday-adjusted count, you need to subtract the number of holidays that fall on business days within the range. You can do this by listing the holidays and checking which ones are weekdays. Many spreadsheet programs like Excel have a NETWORKDAYS function that can take a holiday list.

What if I need the date after a certain number of business days?

You can compute it manually by adding the number of business days to the start date, skipping weekends. For example, 5 business days from Monday 2025-01-06 is Monday 2025-01-13 (skip the weekend). To automate, you can use a loop in a spreadsheet or a programming language, or use a dedicated date calculator that offers a “add business days” mode.

Does the calculator include the start and end dates?

Yes, the default behavior is inclusive. If you want to count the days between two dates excluding the start date, subtract 1 from the result. For example, if you start work on Monday and finish on Friday, that’s 5 business days if you count both, but 4 if you exclude the start day.

Why does the formula use milliseconds?

In the calculator’s expression, dates are converted to timestamps (milliseconds since 1970-01-01). The difference in milliseconds is divided by 86,400,000 (the number of milliseconds in a day) to get the number of calendar days. This is a common technique in programming to handle date arithmetic.

Can I use this for a 6-day workweek?

No, this calculator assumes Monday–Friday. For a 6-day workweek (e.g., Monday–Saturday), you would need a different formula that counts 6 days per week. You could adjust by adding the number of Saturdays in the range, but it’s easier to use a specialized calculator.

Related

Formula used
in start | Start date | - | 2025-01-06 | 0
in end | End date | - | 2025-01-17 | 0
out days | Business days | days | (floor((end - start) / 86400000) + 1) - (2 * floor((floor((end - start) / 86400000) + 1 + floor((start - 1) / 86400000) % 7) / 7)) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.