When clock-out is earlier than clock-in, move clock-out to the next calendar day. Add the time before and after midnight, then subtract the unpaid break once.
Overnight paid time = next-day clock-out − clock-in − unpaid breaksMove the end time to the next date
Suppose a shift begins at 8:00 PM and ends at 4:30 AM. Reading both times as if they happened on the same date creates a negative duration. The correct timeline starts at 8:00 PM on day one and ends at 4:30 AM on day two.
Midnight is only a date boundary. It does not subtract time and it does not require you to discard the original start date.
Worked example: 8:00 PM to 4:30 AM
There are four hours from 8:00 PM to midnight and four hours 30 minutes from midnight to 4:30 AM. The shift span is therefore 8 hours 30 minutes. With a 30-minute unpaid break, paid time is 8 hours.
Keep separate work blocks separate
If the overnight shift includes a long gap or separate call-outs, record the actual blocks when possible. One guessed break total hides whether the gap happened before or after midnight and makes later review harder.
For a simple uninterrupted shift, one record with a break is clear. For distinctly separate sessions, two entries can preserve the source timeline better.
Check the pay-period and workweek boundary
A shift can begin in one calendar day, workweek, or pay period and end in another. A personal calculator can show the elapsed time, but the way an official system allocates those hours may depend on its configured workweek and rules.
Keep the full start and end timestamps so you can compare your personal total with the official record. If you use the optional overtime estimate, split a shift at the workweek boundary rather than making the calculator guess how to allocate it.
Overnight review checklist
Before adding the shift to a weekly total, confirm the details that are easiest to misread.
- The start date is the date you actually clocked in.
- The earlier end time has been carried to the following day.
- The unpaid break was subtracted once.
- The shift does not overlap another entry.
- The job and rate match the work performed.
Calculate the full period without sharing your inputs.
Add multiple shifts, breaks, overnight work, jobs, rates, and an optional weekly overtime scenario in one browser-only workspace.
Open the free calculator