Overnight shift calculator
Formula last tested:
Enter clock-in and clock-out; when out is earlier than in, the shift crosses midnight. The guide pins overnight examples with optional night-window hours.
The hours worked and time clock calculators also handle shifts that end after midnight.
Shift
Results
- Net hours
- 7.50
Night-pay windows and premiums come from your policy or contract. This tool does not apply a legal night-work rate.
Newsletter & API updates
Paid newsletter coming soon. Payment and signup are not live yet. You can also join the API waitlist in the same form.
FAQ
- How do overnight shifts cross midnight?
- When clock-out is earlier than clock-in on the clock, this tool adds twenty-four hours to the out time, then subtracts unpaid break minutes from gross hours.
- What is a night-pay window?
- An optional policy window (defaults 22:00–06:00, editable) used to count how many net shift hours fall inside the window. It is not a legal night-work rate.
- Can I use this for graveyard shift hours?
- Yes. Enter your graveyard or overnight in and out times; breaks and optional night-window hours follow the same rules as other cross-midnight shifts on HourPunch.
How this calculator works
When clock-out is earlier than clock-in on the clock, this tool adds twenty-four hours to the out time before subtracting unpaid breaks. Night window hours count only when you turn on the night-pay window option; defaults of 22:00 and 06:00 are editable policy windows, not a legal definition.
Night-pay windows and premiums come from your policy or contract. This tool does not apply a legal night-work rate.
Worked examples
A shift from 22:00 to 06:00 with a 30-minute unpaid break is 7.5 hours. If the night window is 22:00 to 06:00, all 7.5 hours fall in the window.
A shift from 20:00 to 04:00 with no break and a night window of 22:00 to 06:00 has 6 night-window hours (22:00–04:00) and 8 hours total.
For multi-day weekly totals, use the hours worked calculator or time clock calculator.
People also ask
Totals shown here are estimates for checking a pay stub or time sheet. They are not official payroll, tax, or legal advice.
Help us improve this page
Is this right?
What's missing? Suggest a calculator or feature