Calculate Hours Worked Between Two Times

Enter when you clocked in and out, subtract an unpaid lunch or break, and get your paid work time in hours, minutes and decimal hours.

FreeNo sign-upRuns on your device

One completed shift

Hours worked

Live result
Paid work timeSame day
8 hr

8.00 decimal hours

Gross span
8 hr 30 min
Unpaid break
30 min

How this calculator works

Paid work time = clock-out − clock-in − unpaid breaks

The calculator first finds the full span between your start and end times. If the end time is earlier than the start time, it treats the shift as crossing midnight. Only unpaid breaks are subtracted.

Common workday calculations

9:00 AM to 5:30 PM

8 hr 30 min gross − 30 min unpaid lunch

8 hr worked

7:45 AM to 4:15 PM

8 hr 30 min gross − 45 min unpaid break

7 hr 45 min

10:00 PM to 6:30 AM

8 hr 30 min overnight − 30 min unpaid break

8 hr worked

Edge cases and common mistakes

Frequently asked questions

How many hours is 9 to 5 with a 30-minute lunch?

The full span is 8 hours. Subtracting a 30-minute unpaid lunch leaves 7 hours 30 minutes of paid work.

Does this calculator handle an overnight shift?

Yes. If clock-out is earlier than clock-in, the calculator carries the end time into the next day.

Should I subtract my paid break?

Usually no for arithmetic purposes: a paid break remains part of paid work time. Check your workplace policy if you are unsure how a break is classified.