🕘

Work Hours Calculator

Calculate paid hours, break time, and estimated pay

—Paid hours
—Estimated pay
Please enter valid values.

Work Hours Calculator — what it does

Calculate paid hours from a start and end time with an unpaid break deducted, including shifts that end the next day, and optionally estimate pay from an hourly rate. It is the arithmetic behind a single day's entry on a timesheet, done properly rather than rounded in someone's head.

Worked example

Three shifts: a 09:00–17:30 office day with 45 minutes unpaid break at 28 an hour, a 22:00–06:00 night shift with the overnight box left unticked, and a 09:00–18:00 day with no hourly rate.

Start → endBreak (min) · ratePaid hoursEstimated pay
09:00 → 17:3045 · 287.75217.00
22:00 → 06:0030 · 287.50210.00
09:00 → 18:0060 · none8.00—

The night shift is computed correctly without the overnight checkbox, because an end time earlier than the start time is read as the next day; ticking the box gives the same 7.50.

When this tool helps

  • Working out paid hours for a shift that ran past midnight.
  • Checking a day's hours and expected pay against what was recorded.
  • Estimating the cost of a shift before scheduling it.

How to use it

  1. Enter the start and end times.
  2. Enter the unpaid break in minutes.
  3. For a 24-hour shift with the same start and end time, tick End time is next day; an earlier end time is read as the next day automatically.
  4. Add an hourly rate to see estimated pay.

Accuracy, limits, and good practice

  • A shift from 22:00 to 06:00 computes as eight hours with or without the overnight checkbox; the box only changes the result when start and end are the same time, turning 0 hours into 24.
  • Whether a break is paid is a contractual and legal question that varies widely — deduct it only when it genuinely is unpaid.
  • Estimated pay is gross. Tax, contributions and deductions are applied afterwards by payroll.

Frequently asked questions

How do I handle a shift crossing midnight?

Just enter the times: an end time earlier than the start is treated as the next day, so 22:00 to 06:00 gives eight hours without ticking anything.

Should breaks always be deducted?

Only unpaid ones. Many jurisdictions mandate rest breaks and some require them to be paid, so check your contract and local law.

Why is my pay slightly different from the payslip?

Rounding rules and premium rates for overtime or unsocial hours are applied by payroll, and this figure is a gross estimate.

Do I need the End time is next day box for a shift ending the next day?

No. An end time earlier than the start time is always read as the next day, and the box never adds hours to a shift whose end is after its start: 22:00–06:00 gives 8.00 hours ticked or not, and 09:00–17:00 with the box ticked is still 8.00. It only matters when start and end are the same time — 07:00–07:00 is 24.00 hours with the box; without it the hours show 0.00, pay shows a dash and the status reads "Start and end are the same time. Tick the overnight box for a 24-hour shift."

What happens when the break is longer than the shift, or negative?

A break longer than the shift makes the status line say "Please enter valid values." and the previous numbers stay on screen. A negative break is treated as 0. Hours are shown to two decimals (7 h 45 min = 7.75) and pay is hours × rate; with no rate the pay cell shows a dash.

Related tools on this site

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

工時計算器能做什麼

由上下班時間扣除無薪休息計算實際計薪工時,支援跨日班別,也可填入時薪估算薪資。這是工時表上單日那一列背後的算術,好好算出來,而不是在腦中四捨五入。

實際範例

三個班次:09:00–17:30 的辦公日、不給薪休息 45 分鐘、時薪 28;22:00–06:00 的夜班、沒有勾選跨夜;以及 09:00–18:00、沒填時薪的一天。

開始 → 結束休息(分)· 時薪實際工時預估薪資
09:00 → 17:3045 · 287.75217.00
22:00 → 06:0030 · 287.50210.00
09:00 → 18:0060 · 無8.00—

夜班沒勾跨夜也算對了,因為結束時間早於開始時間時會被當成隔天;勾了也一樣是 7.50。

什麼時候用得上

  • 計算跨過午夜的班別實際計薪工時。
  • 核對某一天的工時與應得薪資是否與記錄相符。
  • 排班前先估算一個班別的人力成本。

使用步驟

  1. 輸入上班與下班時間。
  2. 輸入無薪休息分鐘數。
  3. 開始與結束時間相同的 24 小時班請勾選「結束時間為隔天」;結束時間早於開始時間時會自動當成隔天。
  4. 填入時薪即可看到預估薪資。

精確度、限制與實務建議

  • 22:00 到 06:00 的班不論有沒有勾跨日都算成八小時;只有開始與結束時間相同時,勾選框才會把 0 小時變成 24 小時。
  • 休息是否計薪是契約與法律問題、各地差異很大——只有真的無薪才扣。
  • 預估薪資為稅前。稅、保費與各項扣除由薪資作業後續處理。

常見問題

跨午夜的班別怎麼算?

直接輸入時間即可:結束時間早於開始時間時會當成隔天,所以 22:00 到 06:00 不用勾任何選項就是八小時。

休息時間一定要扣嗎?

只扣無薪的。許多法域強制規定休息時間,部分還要求給薪,請查閱契約與當地法規。

為什麼跟薪資單有點出入?

薪資作業會套用進位規則與加班、夜班等加成費率,而這裡只是稅前估算。

隔天才下班的班次一定要勾「結束時間為隔天」嗎?

不必。結束時間早於開始時間時一律當作隔天,而結束時間晚於開始時間時,勾選也不會多加時數:22:00–06:00 勾不勾都是 8.00 小時,09:00–17:00 勾了仍是 8.00。只有開始與結束時間相同時才有差別:07:00–07:00 勾選時是 24.00 小時;不勾則工時顯示 0.00、薪資顯示破折號,狀態列出現「Start and end are the same time. Tick the overnight box for a 24-hour shift.」。

休息時間比班次還長,或填負數會怎樣?

休息比班次長時,狀態列顯示「請填寫有效的值」,畫面上維持上一次的數字。負的休息時間當作 0。工時顯示到兩位小數(7 小時 45 分 = 7.75),薪資是工時 × 時薪;沒填時薪時薪資那格顯示破折號。

本站相關工具

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