📆

Business Days Calculator

Count weekdays between two dates without holiday data

—Business days
—Weekend days
—Calendar days

Business Days Calculator — what it does

This calculator counts how many weekdays fall between two dates, alongside the weekend days and the full calendar span. Toggles let you include or exclude the start and end dates themselves, which is where most manual counts go wrong: whether a deadline counted from Monday lands on Friday or the following Monday depends entirely on that choice.

Worked example

Three ranges counted in October to December 2026: the rest of the current month, a full quarter, and a range typed backwards with the start date excluded.

Start → endInclude start / endBusiness daysWeekend · calendar days
2026-10-20 → 2026-10-31yes / yes93 · 12
2026-10-01 → 2026-12-31yes / yes6626 · 92
2026-11-02 → 2026-10-20no / yes94 · 13

In the third row the dates are swapped internally, so "exclude start" removes 2026-10-20, the chronologically earlier date, and the count covers 21 October to 2 November.

When this tool helps

  • Working out a contractual deadline expressed in working days, such as a 30-working-day notice period.
  • Estimating a project timeline in the units a delivery plan actually uses, where weekends are not working time.
  • Checking payroll or leave calculations that count workdays rather than calendar days.

How to use it

  1. Enter the start date and the end date.
  2. Decide whether the start date itself should be counted.
  3. Decide whether the end date should be counted.
  4. Calculate to see business days, weekend days and calendar days.

Accuracy, limits, and good practice

  • Public holidays are not deducted. This tool has no holiday database, so subtract national and company holidays yourself.
  • A working week here is Monday to Friday. Regions with Sunday-to-Thursday or six-day weeks need a manual adjustment.
  • Contracts differ on whether day one is the day after the trigger event; read the clause before choosing the include-start setting.

Frequently asked questions

Why does my count differ by one from a colleague's?

Almost always the boundary dates. Counting both endpoints inclusively gives one more day than counting from the day after the start.

Can I add holidays?

Not automatically. Count the holidays that fall inside the range and subtract them from the business-day figure yourself.

Does it work for ranges spanning several years?

Yes. The count walks the calendar, so multi-year ranges including leap years are handled without approximation.

What if the start date is later than the end date?

The two dates are swapped silently and the count proceeds. The include-start toggle then applies to the earlier date and include-end to the later one, regardless of which field you typed them into, as the third row shows.

How does calendar days relate to the toggles?

Calendar days only counts the days that are included, so excluding both ends of a two-day range gives 0 business, 0 weekend and 0 calendar days. The loop walks one local midnight at a time; Saturday and Sunday are weekend days and everything else is a business day, with no holiday deduction.

Related tools on this site

Everything above runs inside this page. Business Days Calculator needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

工作日計算器能做什麼

這個計算器會算出兩個日期之間有多少個平日,同時列出週末天數與完整日曆天數。可切換是否把起始日與結束日本身計入,而這正是手算最常出錯的地方:從星期一起算的期限落在星期五還是下週一,完全取決於這個設定。

實際範例

2026 年 10 到 12 月的三段區間:本月剩餘天數、完整一季,以及起訖日期填反且不算起始日的區間。

起始 → 結束計入起始 / 結束工作日週末 · 日曆天
2026-10-20 → 2026-10-31是 / 是93 · 12
2026-10-01 → 2026-12-31是 / 是6626 · 92
2026-11-02 → 2026-10-20否 / 是94 · 13

第三列的日期會在內部對調,所以「不計起始日」去掉的是時間上較早的 2026-10-20,計算範圍是 10 月 21 日到 11 月 2 日。

什麼時候用得上

  • 推算以工作天表示的合約期限,例如 30 個工作天的通知期。
  • 以交付計畫實際使用的單位估算專案時程,週末不算工作時間。
  • 核對以工作天而非日曆天計算的薪資或請假天數。

使用步驟

  1. 輸入起始日期與結束日期。
  2. 決定起始日本身是否計入。
  3. 決定結束日是否計入。
  4. 計算後查看工作日、週末天數與日曆天數。

精確度、限制與實務建議

  • 不會扣除國定假日。本工具沒有假日資料庫,各國與公司假期需自行扣除。
  • 此處的工作週為週一至週五,週日到週四或每週六天的地區需要手動調整。
  • 合約對「第一天是否為事件次日」的規定不一,設定計入起始日前請先看清條文。

常見問題

為什麼我的天數和同事差一天?

幾乎都出在邊界日期。兩端都計入會比從起始日次日起算多出一天。

可以加入假日嗎?

無法自動加入。請自行數出區間內的假日天數,再從工作日結果中扣掉。

跨好幾年的區間也能算嗎?

可以。計算是逐日走日曆,含閏年的多年期區間也不會用近似值處理。

起始日期比結束日期晚會怎樣?

兩個日期會被默默對調後繼續計算。「計入起始日」的開關套在較早的那一天,「計入結束日」套在較晚的那一天,與你填在哪個欄位無關,第三列就是這種情況。

日曆天與兩個開關有什麼關係?

日曆天只數有被計入的日子,所以兩天的區間若兩端都不計,工作日、週末、日曆天都會是 0。程式逐日以當地午夜往前走,週六與週日算週末,其餘都算工作日,不會扣假日。

本站相關工具

以上步驟全部在這個頁面內完成,工作日計算器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。