Quick answer: An overnight shift is calculated like a daytime shift, except the finishing clock time belongs to the next day. Add one day to the finish time before finding the difference.
Try it: Open the free BuzBolt Time Calculator. No signup is required.
Understand the method
Use 24-hour notation if it helps: 22:30 to 06:15 is not a negative duration. Treat the finish as 30:15 on a continuous 24-hour timeline, then subtract 22:30.
For shifts spanning more than one full day, use real dates and timestamps rather than a basic clock-only calculator. Daylight-saving changes can also make elapsed real-world hours different from a simple wall-clock subtraction.
Worked example
A shift from 22:30 to 06:15 lasts 7 hours 45 minutes. With a 30-minute unpaid break, the recorded time is 7 hours 15 minutes, or 7.25 decimal hours.
What people often get wrong
A common mistake is interpreting 06:15 as earlier on the same date. Another is ignoring a daylight-saving clock change during an overnight shift.
A practical way to use this
Write both dates on the time record if the shift crosses midnight. For payroll or contractual records, double-check time-zone and daylight-saving requirements.
Frequently asked question
Does an overnight shift always mean eight hours? No; use the actual start and finish times.
Crossing midnight without losing a day
A shift beginning at 22:15 and ending at 06:45 the next day lasts 8 hours 30 minutes. A simple method is to count 22:15 to midnight (1 hour 45 minutes) and midnight to 06:45 (6 hours 45 minutes). Together they make 8 hours 30 minutes before any break deduction.
Apply it to your own task
For shifts longer than 24 hours, record calendar dates as well as clock times. A two-field calculator that treats an earlier end time as the following day cannot distinguish a 7-hour overnight shift from a 31-hour interval.
Related reading
Time calculations are informational. Verify break, overtime and payroll treatment against the applicable contract and local requirements.
This article explains time arithmetic, not employment entitlements or payroll policy.
BuzBolt provides general educational tools and explanations. Check your inputs and confirm any legal, tax, accounting or workplace-specific requirements independently where relevant.