Overnight shift hours calculator
Enter a start and end time that crosses midnight. The calculator handles the day change for you.
How a shift past midnight is counted
When the end time is earlier than the start time, the calculator adds 24 hours to the end. A shift from 10:00 pm to 6:00 am is 8 hours. Unpaid break minutes are then subtracted.
| Shift | Unpaid break | Time worked | Decimal hours |
|---|---|---|---|
| 10:00 pm to 6:00 am | 0 min | 8:00 | 8 |
| 11:00 pm to 7:30 am | 30 min | 8:00 | 8 |
| 7:00 pm to 7:00 am | 60 min | 11:00 | 11 |
| 6:00 pm to 2:00 am | 30 min | 7:30 | 7.5 |
| 12:00 am to 8:00 am | 0 min | 8:00 | 8 |
| 3:00 pm to 11:30 pm | 30 min | 8:00 | 8 |
Which day does a night shift belong to?
This calculator counts the whole shift on the day it started. That matches how most people read a time card. If a shift crosses from the last day of one workweek into the first day of the next, your employer may count the hours after midnight in the next workweek. Ask payroll how your workweek is set.
The Department of Labor explains how workweeks and hours worked are defined in Fact Sheet 22.
Overtime for night shifts
Federal law sets overtime by the workweek: time and a half over 40 hours. It does not require a higher rate for night work, although some employers pay a shift differential. Pick your state in the rules menu to apply a state rule. See the overtime calculator for the full list.
Questions people ask
How many hours is 10 pm to 6 am?
8 hours. From 10:00 pm to midnight is 2 hours and from midnight to 6:00 am is 6 hours. A 30 minute unpaid break makes it 7 hours 30 minutes.
How do I calculate hours when the shift ends the next day?
Add 24 hours to the end time, subtract the start time, then subtract any unpaid break. For 7:00 pm to 7:00 am that is 31 minus 19, which is 12 hours.
Do night shifts get overtime pay?
Federal overtime depends on weekly hours over 40, not on the time of day. Some employers add a night differential. Check your pay policy.
Does the calculator split a shift across two days?
No. It counts the whole shift on the day it started. If your employer splits hours at midnight, the weekly total is the same but the day-by-day numbers can differ.