How to Calculate Night Shift Hours That Cross Midnight

Last updated · By the DropFlick team

Night shifts that start one day and finish the next are where hand-calculated time cards most often go wrong. A simple subtraction gives a negative number, the shift seems to belong to two days, and twice a year daylight saving time adds or removes an hour. Here's how to handle each case.

The basic rule: add 24 hours to the end time

If the end time is earlier than the start time, the shift finished the next day. Add 24 hours to the end time (in 24-hour format) before subtracting.

Shift24-hour timesCalculationOn the clock
10:00 PM → 6:30 AM22:00 → 06:3030:30 − 22:008:30
7:00 PM → 7:00 AM19:00 → 07:0031:00 − 19:0012:00
11:45 PM → 8:15 AM23:45 → 08:1532:15 − 23:458:30
3:00 PM → 1:30 AM15:00 → 01:3025:30 − 15:0010:30

Then subtract any unpaid meal break. 10:00 PM to 6:30 AM with a 30-minute unpaid break is 8:00 hours worked (8.00 decimal). Our hours calculator does this automatically: enter the times as they appear on the clock and it marks the shift as overnight.

Which day does a night shift belong to?

Most time cards record the whole shift on the day it started, so a Friday 10 PM to Saturday 6 AM shift appears as Friday. That's how the time card calculator works too, and it keeps each shift on one line.

It matters more for overtime when a shift crosses the end of the workweek. For example, if your workweek ends at midnight on Saturday and you work Saturday 10 PM to Sunday 6 AM, two hours fall in one workweek and six in the next. In the US, the employer sets a fixed, regularly recurring workweek (29 CFR 778.105), and overtime is worked out for each workweek. How a shift that straddles the boundary is split can depend on the employer's payroll practice, so ask how yours handles it if you're close to the overtime threshold.

Daylight saving time: the 7-hour and 9-hour nights

Where clocks change, one night a year is an hour shorter and one an hour longer. The clock times look like a normal 8-hour shift, but the time actually worked is different.

Night (US, 2026)Shift on the clockActually worked
Sat 7 → Sun 8 March (clocks go forward)10:00 PM → 6:00 AM7 hours
Sat 31 Oct → Sun 1 Nov (clocks go back)10:00 PM → 6:00 AM9 hours

Pay is normally based on the hours actually worked, so the November night should show 9 hours. A calculator that only reads clock times (including the hours and time card calculators) will show 8, so add or subtract 60 minutes by hand on those nights. The "time between two dates and times" section of the time calculator uses real dates, so it gives the correct 7 or 9 hours. Other countries change clocks on different dates, and some don't change them at all.

Breaks on night shifts

The same break rules apply at night as during the day: unpaid meal breaks are subtracted and short paid rest breaks are not. Long shifts often include more than one meal break; enter the total unpaid minutes. See paid vs unpaid breaks for the rules in different countries.

Night differentials and premiums

Some employers pay extra for night hours, for example $2 an hour more between 10 PM and 6 AM. US federal law doesn't require a night premium, but if one is paid it generally has to be included in the regular rate when overtime is calculated. To do that with several rates in one week, use the weighted overtime calculator.

Worked example: a week of nights

Alex works four 12-hour nights, 7:00 PM to 7:00 AM, with a 45-minute unpaid meal break each night.

Checklist for night-shift time cards