Skip to main content
CalculatorAnything
Popular
Mortgage CalculatorPercentage CalculatorAge CalculatorBMI CalculatorGPA CalculatorWork Hours Calculator
Categories
Finance Business Percentage Date & Time Health Math Everyday Construction
All Calculators About

Work Hours Calculator

Calculate total hours worked in a shift, accounting for a clock-in time, clock-out time, and unpaid break.

Time convention: entered hours are wall-clock hours; daylight-saving changes are not automatically accounted for.

About the Work Hours Calculator

A work shift's paid hours are not simply clock-out minus clock-in — unpaid breaks need to be subtracted first. This calculator handles clock-in and clock-out times, including overnight shifts, and deducts any unpaid break time to give you the exact paid hours worked.

How It Works

The calculator finds the total elapsed time between clock-in and clock-out, automatically handling overnight shifts that cross midnight, then subtracts the unpaid break minutes you specify to arrive at the final paid hours worked.

Paid Hours = (Clock Out − Clock In, wrapped over midnight if needed) − Break Minutes, converted to hours.

Worked example

Scenario: Clocking in at 8:45 AM and out at 5:15 PM with a 30-minute unpaid lunch.

  1. Shift length: 17:15 − 08:45 = 8 hours 30 minutes (510 minutes).
  2. Subtract the break: 510 − 30 = 480 minutes.
  3. Hours worked: 480 ÷ 60 = 8.0 hours.

Result: 8 hours worked.

Common shifts, including overnight

The calculator subtracts clock-in from clock-out, adds 24 hours when the shift crosses midnight, then removes the unpaid break. These examples show the results it returns:

Clock inClock outUnpaid breakHours (decimal)Hours and minutes
09:0017:3030 min8.008h 0m
08:3017:0045 min7.757h 45m
22:0006:3030 min8.008h 0m
07:0019:0060 min11.0011h 0m
13:0021:1515 min8.008h 0m

Payroll systems usually want decimal hours, so minutes are divided by 60: 15 minutes is 0.25, 30 is 0.50 and 45 is 0.75. A common mistake is writing 7 hours 45 minutes as 7.45 instead of 7.75, which underpays the shift by 18 minutes. Enter only unpaid breaks; paid rest breaks count as time worked. For a full week with overtime and pay, use the timesheet calculator, which takes clock-in and clock-out times for each day.

Tips and common mistakes

  • Overnight shifts are handled automatically: 22:00 to 06:00 with a 30-minute break is 7.5 hours.
  • Paid breaks shouldn't be entered — only subtract time you aren't paid for.
  • Add a week of daily results in the Timesheet Calculator to check for overtime.

Assumptions & Limitations

  • Assumes the break time is entirely unpaid and should be subtracted from gross elapsed time.
  • Handles shifts that cross midnight by treating the clock-out time as occurring on the following day if it is earlier than clock-in.
  • If a shift includes multiple separate breaks, add them together into the single break-minutes field before calculating.

Work hours, breaks, and overtime

Worked hours are the time between start and finish minus unpaid breaks. Overtime is a policy or legal classification applied after hours are calculated; its threshold can vary by employer and jurisdiction.

Practical example

A 9:00 AM–6:00 PM shift spans 9 hours. Subtracting a 1-hour unpaid break gives 8 worked hours before any overtime rule is applied.

Frequently Asked Questions

How does this handle overnight shifts?

If your clock-out time is earlier in the day than your clock-in time, the calculator assumes the shift crossed midnight and automatically adds a full day before subtracting, giving the correct elapsed time.

Should paid breaks be included in the break-minutes field?

No — only enter unpaid break time; paid breaks should remain part of your paid hours and should not be subtracted.

Can I total up a full week of shifts?

Use the Timesheet Calculator to add together multiple days of hours and see your weekly total and any overtime.

Is the break required?

No. Leave it at 0 if you didn't take an unpaid break.

What if my break is longer than the shift?

The calculator shows an error, because you can't work negative hours.

Related Calculators

Timesheet CalculatorHours and Minutes CalculatorTime Calculator