WORK TIME LIBRARY / US

How to Calculate Overnight Shift Hours

Calculate a shift that crosses midnight using 12-hour or 24-hour time, then subtract any unpaid break without losing a day.

TimekeepingPractical referenceFree to use

Split the shift at midnight

When the end time is earlier than the start time, the end usually belongs to the next day. Break the shift into the time before midnight and the time after midnight, then add the two parts.

10 PMStart
12 AMMidnight
6 AMEnd
Formula(midnight − start) + (end − midnight) − unpaid break

10:00 PM to 6:00 AM

There are 2 hours before midnight and 6 hours after midnight. The elapsed shift is 8 hours. After a 30-minute unpaid break, the worked result is 7 hours 30 minutes, or 7.50 decimal hours.

The same example in 24-hour time

22:00 to 24:00 is 2 hours. 00:00 to 06:00 is 6 hours. Add them to get 8 hours before breaks. Compact workplace notation may write the same endpoints as 2200 and 0600.

NotationStartEnd next dayElapsed
12-hour10:00 PM6:00 AM8h
24-hour22:0006:008h

Avoid the 16-hour subtraction error

Subtracting 22 from 6 gives a negative number because the clock reset at midnight. Add 24 hours to the next-day end before subtracting: (6 + 24) − 22 = 8. Equal start and end times remain ambiguous; record dates or split the entry instead of assuming a 24-hour shift.