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)

  1. Enter the evening start and the next-morning end.
  2. Click Calculate. The span includes the hours after midnight.
  3. Convert the clocks with the military time converter if your roster uses 24-hour time.
  4. 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

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.

Embed this calculator

Paste on your site. The attribution link should stay followed.