Overnight shift
Shift Hours Calculator
Hours worked on a shift that may cross midnight, minus unpaid break.
Shift hours
Enter clock-in, clock-out, and break minutes. Overnight wraps past midnight.
The shift hours calculator measures paid time on a clock-in / clock-out pair that may cross midnight. Enter clock-in, clock-out, and unpaid break minutes. When clock-out is earlier than clock-in, the tool adds twenty-four hours so overnight shifts (for example 22:00 to 06:00) resolve correctly instead of producing a negative duration. The result shows hours and minutes worked plus decimal hours for payroll spreadsheets.
Overnight wrap vs daytime hours
Daytime tools often assume end is after start on the same calendar day. Night-shift and rotating crews regularly clock out on the next morning. This page treats that pattern as first-class: a negative raw minute difference becomes an overnight wrap. Same-day shifts still work — a 09:00–17:00 entry with a thirty-minute break reports 7.5 decimal hours just like the general hours calculator.
Use this page when overnight clarity matters in the UI copy and defaults (22:00 in, 06:00 out). Use hours calculator or time card calculator when you are totaling a multi-day week or overtime above forty hours.
Breaks and decimal hours
Unpaid break minutes are subtracted after the overnight wrap. If a break is longer than the shift length, the worked minutes can go to zero or negative — fix the inputs rather than trusting a negative payroll figure. Decimal hours (minutes ÷ 60) are shown to four-friendly two-decimal precision for common timesheet fields.
Worked example
Clock in 22:00, clock out 06:00, break 30 minutes → 7.5 hours worked (eight hours on the clock minus thirty minutes). Clock in 23:00, clock out 07:30, break 0 → 8.5 hours. A same-day 14:00–22:00 shift with a 45-minute meal break → 7.25 hours. Those figures match manual arithmetic while avoiding off-by-one mistakes around midnight.
Payroll and policy notes
Employers differ on whether unpaid breaks start after a threshold length, whether overnight differentials apply, and how to round to the nearest quarter hour. This calculator reports exact minute math only — it does not apply union rules, state labor law, or rounding policies. Confirm with your handbook before using the number on an official timesheet.
For overtime estimates across several days, open overtime hours calculator. For converting decimal hours back to HH:MM, use decimal hours converter. Military time display conversion is available on military time converter.
Related tools
Explore the time tools hub for timers, stopwatches, and meeting planners. Sleep-cycle wake suggestions live on sleep calculator — a different problem from shift length. Event local times across zones belong on event time or meeting planner.
Rotating schedules and handoffs
Handoff notes often say “relieved at 06:15 after a night.” Recording clock-in/out here confirms the paid length before you paste decimal hours into a spreadsheet. When a shift spans a DST spring-forward or fall-back night, local clock times can jump; this simple calculator does not adjust for DST discontinuities — for zone-aware event planning use daylight saving time tools and confirm with payroll.
Comparing with time-clock calculators
The time clock calculator and hours calculator share the overnight wrap idea. Shift hours emphasizes night-crew defaults and clearer overnight messaging. Pick the page whose labels match the audience you are helping — nurses, security, hospitality, or warehouse crews usually recognize “clock in / clock out” language faster than abstract start/end.
Second jobs or split shifts on the same calendar day should be entered as separate calculations and summed manually or in a time card tool.
Handwritten timesheets to decimal hours
Many crews still write clock times on paper and later type them into payroll. This page is a quick validation step: enter the written times, confirm decimal hours, then paste into the sheet. Catching a midnight wrap mistake before submit avoids underpaying an entire night shift.
If you batch many rows, export or retype carefully — this browser tool does not upload timesheets or store shifts on a server. For converting a column of Unix times instead, see batch timestamp converter.
Meal penalties and long shifts
Some jurisdictions require meal breaks after a set number of hours. This calculator does not compute penalties or premium pay; it only subtracts the unpaid minutes you enter. If policy auto-deducts thirty minutes after five hours, enter that deduction explicitly rather than assuming the tool knows your locale.
Shifts longer than sixteen hours are unusual and often indicate a data-entry error (AM/PM confusion). Double-check clock-in and clock-out before submitting extreme totals.
Accessibility and shared devices
The form works with keyboard-only input and does not require an account. On shared nurse-station PCs, bookmark the URL and clear the fields between users so the previous shift times are not reused by accident. Keep the time tools hub nearby for timers during breaks.
Quick checklist before you submit hours
Confirm AM/PM or 24-hour entry matches the roster. Confirm the unpaid break length matches policy, not the length of the meal you actually took if policy auto-deducts a fixed amount. Confirm overnight wrap was intended when clock-out is earlier than clock-in. Then copy decimal hours into payroll. If anything looks off by roughly twelve hours, you likely swapped meridian or used twelve-hour thinking in a twenty-four-hour field.
Managers reviewing a team can spot-check a sample of night shifts here in under a minute. Consistent use of this page reduces “I thought the system would add the night automatically” disputes when a spreadsheet formula forgot the wrap.
Frequently asked questions
How does overnight wrapping work?
If clock-out is earlier than clock-in, the calculator adds 24 hours before subtracting the unpaid break. That turns 22:00–06:00 into an eight-hour span on the clock, then deducts break minutes.
Are breaks always unpaid?
The break field is treated as unpaid minutes removed from worked time. Paid breaks should be left at zero or handled in your payroll policy outside this tool.
Does it handle DST nights?
It uses clock times only and does not adjust for spring-forward or fall-back discontinuities. Confirm unusual DST shifts with payroll when a night crosses the change.
How is this different from hours calculator?
The math is the same overnight wrap pattern, but shift hours uses night-crew defaults and labels (clock in / out) aimed at overnight shifts. Use time card or overtime tools for multi-day totals.
Can I enter seconds?
Inputs use minute precision (HH:MM). Round or truncate seconds according to your workplace policy before entering times.
Does it calculate overtime?
Not by itself. For weekly overtime estimates open the overtime hours calculator and enter days in the period there.