Work Hours Calculator

Work out hours worked from start and end times, minus an unpaid break, in decimal and h:m form.

Clock in (start)

Clock out (end)

Overnight shifts (end before start) add 24 hours.

min

Hours worked
8hours

8h 0m worked

Decimal hours

8

Hours : minutes

8h 0m

Worked minutes

480

Gross span

8h 30m

Break

30 min

Formula
workedHours = (clockOut − clockIn − breakMinutes) ÷ 60
Examples
InputResult
09:00 to 17:30, 30 min break8.0 hours (8h 0m)
22:00 to 06:00, 45 min break7.25 hours (7h 15m)

About this calculator

The work hours calculator turns a clock-in time, a clock-out time and an unpaid break into the number of hours actually worked. The gross span is the time between clock-in and clock-out; the unpaid break is then subtracted to give net worked time. Results are shown in decimal hours (handy for payroll) and in hours and minutes.

Overnight shifts are supported: if the clock-out time is earlier than the clock-in time, 24 hours are added so a shift from 22:00 to 06:00 is measured correctly. Enter the break as a number of minutes; if the break is longer than the shift, the calculator flags it instead of returning a negative value.

Frequently asked questions

Most payroll systems multiply an hourly rate by decimal hours, so 8 hours 30 minutes is entered as 8.5 rather than 8:30.

Yes. If the clock-out time is before the clock-in time, the calculator assumes the shift ended the next day and adds 24 hours.

The break minutes you enter are treated as unpaid and subtracted from the total. Leave it at 0 if your break is paid.

Did this calculator help you?