Shift hours calculator

Calculate worked hours from clock times and a break, including overnight shifts.

Calculation inputs

Hours worked excluding break

7.5 h
Total shift duration
8 h
Worked minutes
450 min
QR code

How the calculation works

Convert each clock time to minutes since midnight. Add 1,440 minutes to the end time for an overnight shift, and subtract the unpaid break from the difference. The model covers one shift up to 24 hours with a fixed time offset.

Example

From 22:00 to 06:00 is eight hours. A 30-minute break leaves 7.5 hours of work.

Units of time and conversion — OpenStax

Method checked