Back to Tools
Overnight Hours Calculator
Night shifts break a same-day subtraction because 06:00 looks earlier than 22:00. This calculator adds a day so the duration is the real length of the shift.
Part of the Hours Between Two Times.
Enter values and calculate.
Formula
duration = end − start + 24h when the shift crosses midnight
How to use the Hours Between Times (Overnight)
- Enter the evening start and the next-morning end.
- Click Calculate. The span includes the hours after midnight.
- Convert the clocks with the military time converter if your roster uses 24-hour time.
- For the rest of this set, open the Hours Between Two Times.
Formula
duration = end − start + 24h when the shift crosses midnight
Worked example
22:00 to 06:00 = 8 hours.
Practical tips
- 22:00 to 06:00 is 8 hours.
- 19:30 to 07:00 is 11 hours 30 minutes.
- Related: Hours Between Two Times.
- Also useful: Timesheet Calculator.
FAQ
Why add 24 hours?
The end clock is on the next date. Adding 24 hours before subtracting keeps the result positive.
Does a same-day shift work here?
Use hours between two times for a shift that starts and ends on the same date.
Is the lunch break removed?
This page measures clock span only. Subtract an unpaid break afterward if payroll requires it.