duration.tools

Work Hours Calculator

Clock-in to clock-out, minus breaks.

Free, no sign-upRuns in your browser — nothing is uploadedUpdated

Time worked
8:00
8.00 decimal hours for payroll
Gross span
8:30
Break
30 min
Decimal
8.00

Enter when a shift started and ended and get the exact time worked, with any unpaid break taken out. Shifts that cross midnight — a 22:00 start and a 06:30 end — are handled automatically, so night workers don't need to add 24 hours by hand.

Hours worked for common shifts

ShiftUnpaid breakHours workedDecimal hours
9:00 AM – 5:00 PM30 min7:307.50
9:00 AM – 5:30 PM30 min8:008.00
8:00 AM – 5:00 PM60 min8:008.00
7:00 AM – 3:30 PM30 min8:008.00
8:30 AM – 4:45 PM45 min7:307.50
7:00 AM – 7:00 PM30 min11:3011.50
10:00 PM – 6:30 AM30 min8:008.00
11:00 PM – 7:00 AMNone8:008.00

How to calculate hours worked

Subtract the clock-in time from the clock-out time, then take away any unpaid break. It's easiest in 24-hour time: a shift from 08:45 to 17:15 is 17:15 − 08:45 = 8 hours 30 minutes; minus a 30-minute lunch, that's 8 hours worked.

When minutes don't subtract cleanly, borrow an hour: 16:10 − 07:50 becomes 15:70 − 07:50 = 8:20. The calculator does this for you and also handles shifts that cross midnight, where the end time is smaller than the start.

From hours worked to payroll hours

Payroll and invoicing systems usually want decimal hours, not hours and minutes. Divide the minutes by 60: 8 hours 20 minutes is 8 + 20 ÷ 60 = 8.33 hours. Typing 8.20 instead is a common and costly mistake — it under-reports 8 minutes every time.

For a whole week, use the time card calculator to total each day's shift and apply overtime; for a full minutes-to-decimal chart, see the time to decimal calculator.

How to use it

  1. 1.Enter the clock-in and clock-out times.
  2. 2.Add unpaid break minutes, if any.
  3. 3.Read the shift length as hours:minutes and as a payroll decimal.

Questions people ask

How are overnight shifts handled?
When the end time is earlier than the start time, the calculator assumes the shift crossed midnight and adds a day. A 22:00–06:30 shift reads as 8 hours 30 minutes.
Why show decimal hours too?
Most payroll systems bill in decimal hours, not hours and minutes. 7 hours 45 minutes is 7.75 payroll hours — the tool shows both so nothing gets mistyped.
How many hours is 9 to 5?
8 hours from 9:00 AM to 5:00 PM. With an unpaid 30-minute lunch it's 7.5 hours worked; with an unpaid hour, 7 hours.
How many hours is 7 AM to 7 PM?
12 hours. Take out a 30-minute unpaid break and it's 11.5 hours worked, which is overtime territory in states with daily overtime rules.