Skip to main content

如何计算Business Days

learn.whatIsHeading

A business days calculator counts working days between two dates, excluding weekends (Saturday and Sunday). Used for project timelines, delivery estimates, payment terms, and legal deadlines.

公式

business_days = total_days - weekends - holidays
start
Start date (date) — Beginning date
end
End date (date) — Ending date
business_days
Business days (days) — Excludes weekends and holidays

分步指南

  1. 1Iterate through each calendar day between the two dates
  2. 2Skip days where getDay() returns 0 (Sunday) or 6 (Saturday)
  3. 3Count remaining days as business days
  4. 4For public holidays, subtract manually

例题解析

输入
Monday to Friday same week
结果
5 business days
输入
4 weeks calendar = 28 days
结果
20 business days
输入
30-day contract period
结果
~21–22 business days

常见问题

What counts as a business day?

Typically Monday–Friday, excluding public holidays. Different regions and companies define holidays differently.

Should I include the start and end dates?

Conventions vary. Usually: include start, exclude end (or vice versa). Check your company's definition.

How do I account for company holidays?

The calculator should allow you to input custom holidays. Bank holidays, Christmas, and company shutdowns are common exclusions.

准备好计算了吗?尝试免费的 Business Days 计算器

自己尝试一下 →

设置

隐私条款关于© 2026 PrimeCalcPro