Skip to content
Guides

How to calculate a shift that crosses midnight

For a shift that ends the next day, add the time from the start to midnight and the time from midnight to the finish. Subtract unpaid breaks after calculating the full span.

Work through a 19:00–07:00 shift

From 19:00 to midnight is 5 hours. Midnight to 07:00 adds 7 hours. The scheduled span is therefore 12 hours. With a 30-minute unpaid break, paid time is 11 hours 30 minutes, or 11.5 decimal hours.

(24:00 − 19:00) + 07:00 − 00:30 = 11:30 paid time

A calculator that simply subtracts 19 from 7 produces a negative result because it has lost the date boundary. Enter the next-day relationship explicitly when checking overnight work.

Minutes are not hundredths of an hour

Convert the minute portion by dividing it by 60. For example, 15 minutes is 0.25 hours, 30 minutes is 0.5 hours and 45 minutes is 0.75 hours. Writing 11 hours 30 minutes as 11.30 undercounts the time.

Keep full precision while adding several shifts and round at the end according to the method used for your record. Rounding every shift early can make the total differ from a calculation based on total minutes.

Check breaks and date changes

Only subtract breaks that are unpaid for the calculation you are making. If a shift has two unpaid breaks, add their minutes before subtracting. An unpaid break cannot be longer than the whole shift.

Daylight-saving changes are a separate issue. A shift can display the same start and end clock times while its elapsed duration changes when clocks move. Our simple calculator uses wall-clock times, not time zones or date-specific clock changes. For such a shift, verify the actual dates, zone and employer time record.

Keep the overnight shift recognizable

Save the starting date along with the start and finish times. A night beginning at 19:00 on November 2 and ending at 07:00 on November 3 is one continuous shift. Check that an exported calendar event spans those two dates correctly.

Use the work hours calculator for ordinary same-day and overnight arithmetic. If you need a reusable schedule, save the shift as a template in your ClockPay calendar.

Make room for life beyond work.

Keep your shifts, hours and estimated pay together in ClockPay.

Download on theApp Store GET IT ONGoogle Play