Skip to content
TabBench

Work Hours Calculator

Calculate work hours, weekly payroll timesheets, unpaid break deductions, and overtime pay.

Runs in your browser. Nothing you add is uploaded.

What the Work Hours Calculator does

Turn clock-in and clock-out times into hours worked, minus unpaid breaks, in both hours and minutes and the decimal hours payroll systems ask for. The single-shift mode handles one shift; the weekly timesheet covers seven days, each with its own start, end and break, totals the week, splits regular and overtime hours at a weekly threshold you set, and works out gross pay at your hourly and overtime rates. Shifts that cross midnight are handled automatically, and the week can be exported as a CSV file.

How to calculate hours worked

  1. Choose Weekly Timesheet or Single Shift.
  2. Enter the start and end times and the unpaid break in minutes. An end time earlier than the start is treated as the next day.
  3. In the weekly view, switch days on or off, or press Fill 9-to-5 for Monday to Friday, 09:00–17:00 with a 30-minute break.
  4. Set your hourly rate, overtime rate and weekly overtime threshold (40 hours unless you change it).
  5. Read the total, regular and overtime hours and the gross pay, then copy the summary or export the CSV.

The Work Hours Calculator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.

How it works

Hours worked, overtime and pay

shift    = end − start (+ 24 h if end is earlier) − break
regular  = min(week total, threshold)
overtime = max(0, week total − threshold)
pay      = regular × rate + overtime × overtime rate

Each day's shift is worked out in minutes and converted to decimal hours by dividing by 60. Overtime is counted on the weekly total, not per day.

Example: Monday–Thursday 09:00–17:30 and Friday 09:00–17:00, each with a 30-minute break: 4 × 8 + 7.5 = 39.5 hours, all regular at a 40-hour threshold. At $25 an hour that is $987.50.

When to use it

Filling in a timesheet

Payroll and invoicing tools want decimal hours: 7 hours 45 minutes is 7.75, not 7.45. A shift from 08:30 to 17:00 with a 45-minute break comes to 7 h 45 m, which the calculator shows as 7.75 hours, ready to enter.

Night shifts

A shift from 22:00 to 06:30 with a 30-minute break is 8 hours worked. Because the end time is earlier than the start, the calculator counts it as finishing the next morning, so there is no negative result to correct by hand.

Checking overtime on a payslip

The default week (Monday to Thursday 09:00–17:30 and Friday 09:00–17:00, each with a 30-minute break) comes to 39.5 hours. Add a Saturday morning and the hours above 40 are paid at the overtime rate, which lets you check what the payslip should show.

Good to know

  • Minutes to decimal hours: divide by 60. 15 minutes is 0.25, 20 minutes is 0.33, 30 minutes is 0.5 and 45 minutes is 0.75.
  • Overtime here is weekly: hours above the threshold are paid at the overtime rate. Rules vary by place; California also counts daily overtime after 8 hours, and Indian factory law pays overtime at twice the ordinary rate. Set the rate and threshold to the rules that apply to you.
  • If you leave the overtime rate empty, 1.5 times the hourly rate is used.
  • Pay is shown with a $ sign, but the arithmetic works for any currency.
  • Entries are not saved when you leave the page; export the CSV to keep a copy.

Frequently asked questions

What are decimal hours in payroll?

Decimal hours express minutes as fractions of an hour for accounting software. For example, 8 hours and 15 minutes is 8.25 hours, 8 hours and 30 minutes is 8.50 hours, and 8 hours and 45 minutes is 8.75 hours.

How do overnight shifts calculate?

If the end time is earlier than the start time (e.g., 10:00 PM to 6:00 AM), the calculator automatically recognizes that the shift crosses midnight into the next day and calculates the correct 8-hour duration.

How is overtime pay calculated?

Hours above the weekly threshold are multiplied by the overtime rate and the rest by the regular rate. With 44 hours, a 40-hour threshold, $25 an hour and $37.50 overtime: 40 × 25 + 4 × 37.50 = $1,150.

Should breaks be deducted?

Only unpaid ones. Whether a lunch or rest break is paid depends on your contract and local law; enter 0 minutes for any break that counts as working time.

Page last updated . Found a wrong result or a mistake on this page? Let us know.