How do I calculate paid hours for a night shift?
Count the shift across midnight, subtract unpaid break minutes, then convert the remaining duration to decimal hours. Confirm that the end belongs to the next day before adding the rollover.
Locate the break within one shift
The full clock interval sets the maximum available duration. Break minutes reduce paid time under the selected policy but do not change the recorded start and end times. An earlier clock-time end requires a next-day interpretation for an overnight shift.
Work from 21:30 to 05:45
There are two hours thirty minutes to midnight and five hours forty-five minutes afterward, totaling eight hours fifteen minutes. A thirty-minute unpaid break leaves seven hours forty-five minutes, or 7.75 paid hours. At 18 per hour the basic gross estimate is 139.50.
Check special night-work rules separately
Night premiums, overtime, dates with clock changes and rest-period requirements depend on rules beyond this model. A nominal interval crossing midnight does not prove the exact elapsed hours when a timezone offset changes. Use the underlying dated records for those cases.
Establish the gross overnight interval first
A shift from 21:50 to 05:20 next day contains two hours ten minutes before midnight and five hours twenty minutes afterward. The gross total is seven hours thirty minutes, or 450 minutes. A thirty-minute unpaid break leaves 420 minutes, equal to seven paid hours. Splitting the interval at midnight verifies the next-day adjustment without treating the end clock as a smaller same-day number. The break is deducted from the full interval after the day relationship is established. If the intended shift actually ends two days later, a single next-day checkbox is insufficient; retain full dates and use a model that supports the longer interval.
Decide how a break crossing midnight is recorded
A pause from 23:50 to 00:10 next day lasts twenty minutes under nominal clock arithmetic. It does not become a negative duration because its end reading is numerically smaller. Total all eligible unpaid pauses without counting overlapping records twice, then enter their combined minutes in the break field. The gross shift and each break should use compatible dates and time conventions. If a payroll system splits a shift at midnight for reporting, the two parts should still reconcile with the full shift after the same break treatment is applied. Splitting a record does not by itself change how many minutes were worked or which rate applies; those decisions come from separate payroll rules.
Retain date and offset information for special nights
An overnight shift may cross a daylight-saving transition, making actual elapsed hours differ from the nominal difference between clock labels. The Hours Calculator does not resolve timezone history. Use the original dated timestamps and their offsets for an exact elapsed-time check, then apply the applicable pay policy to that duration. Night allowances, overtime, paid pauses and rest-period requirements also need additional rules. Do not infer them from the fact that midnight lies inside the interval. In Calculator ForEver, confirm the next-day setting and verify the gross and paid minute totals before interpreting the basic gross-pay amount. A saved result should identify its nominal-clock assumption so that it is not mistaken for a complete payroll determination.
Questions about this calculation
Does midnight automatically start a new paid shift?
Not in the arithmetic. Whether a payroll system splits the record at midnight depends on its policy.
Try these values in the calculator
Calculate a shift, subtract breaks, and estimate gross pay.
Use the work hours calculator