Work Hours Guide

How to Calculate Overnight Shift Hours

For an overnight shift, count forward past midnight instead of subtracting the end time as if it happened on the same day. Then subtract only unpaid breaks. The exact result depends on times, dates, breaks, workday rules, and rounding assumptions. Keep those assumptions visible before you use the number in a timesheet, payroll, PTO, or deadline decision.

Full explanation Step-by-step details Open only when the direct answer is not enough.

Direct answer

For an overnight shift, count forward past midnight instead of subtracting the end time as if it happened on the same day. Then subtract only unpaid breaks.

This question usually goes wrong when someone mixes clock time, paid time, and decimal time. For calculating a shift that starts one day and ends the next morning, keep the original schedule visible, then subtract only the time that should not be paid or counted.

Before using the result, compare it with your time card, schedule, payroll export, or calendar rule. The math is only as good as the hours, dates, rates, or policy wording behind it.

Formula and example

Overnight hours = hours from start time to midnight plus hours from midnight to end time minus unpaid breaks.

10:00 PM to 6:00 AM is 8.0 total hours. With a 30-minute unpaid break, paid time is 7.5 hours.

Run the formula once on the clean shift or date range before adding unpaid breaks, overnight shifts, rounded punches, weekends, holidays, and custom work schedules. That makes the source of any difference easier to find.

Comparison table
CaseRuleExampleUse it when
Simple caseOvernight hours = hours from start time to midnight plus hours from midnight to end time minus unpaid breaks.10:00 PM to 6:00 AM is 8.0 total hours. With a 30-minute unpaid break, paid time is 7.5 hours.Good for a first estimate
Policy detailCheck time card, schedule, payroll export, or calendar ruleAdjust when unpaid breaks, overnight shifts, rounded punches, weekends, holidays, and custom work schedules matter.Good before relying on it
Follow-up questionOpen Hours Worked CalculatorUse the calculator when the inputs need testing.Good for comparing scenarios
Official checkCompare with source recordsUse the estimate as planning support.Good before a real work decision

Step-by-step calculation

Key checks
  • Write down the times, dates, breaks, workday rules, and rounding assumptions before opening the calculator.
  • Separate clock time from paid time before adding the week or date range.
  • Use the formula for the simple case first: Overnight hours = hours from start time to midnight plus hours from midnight to end time minus unpaid breaks.
  • Adjust for unpaid breaks, overnight shifts, rounded punches, weekends, holidays, and custom work schedules only after the clean result makes sense.
  • Compare the estimate with your time card, schedule, payroll export, or calendar rule before making a real timesheet, payroll, PTO, or deadline decision.
Open Hours Worked Calculator

Worked example

Use the example as a small time-card audit, not just a final number.

10:00 PM to 6:00 AM is 8.0 total hours. With a 30-minute unpaid break, paid time is 7.5 hours.

If your result differs, change one thing at a time: lunch treatment, overnight timing, rounding, holiday removal, or the date-range rule.

Key checks
  • Keep the original input visible so the result can be audited later.
  • Convert units before adding or subtracting, especially when minutes, decimal hours, days, or pay periods are mixed.
  • Save or copy the result only after the calculator inputs match the real situation.

What can change the result

The result can change when unpaid breaks, overnight shifts, rounded punches, weekends, holidays, and custom work schedules are involved. These details do not make the calculation impossible; they simply decide which inputs should be counted.

A workplace may use a rule that differs from the plain math. Payroll systems can round time, HR systems can track PTO in hours, and calendars can skip holidays or custom closure dates.

If the answer affects pay, PTO, resignation timing, or a deadline, treat the calculator result as a planning estimate and verify the official rule before acting.

Common mistakes to avoid

Key checks
  • Do not mix clock time, decimal hours, and minutes without converting first.
  • Do not subtract paid breaks or holidays unless the rule says they should be removed.
  • Do not use a weekly total before every daily shift has been checked.
  • Do not ignore unpaid breaks, overnight shifts, rounded punches, weekends, holidays, and custom work schedules when they are part of the real situation.
  • Do not treat a planning time estimate as the official payroll or scheduling record.

When to use the calculator

Use the Hours Worked Calculator when the rough answer is clear but the exact inputs still need testing.

It is most useful before you copy a time total into payroll, a spreadsheet, a PTO request, or another calculator.

If the result raises a second question, follow the related guides and tools instead of forcing one calculator to answer every part of the decision.

Open Hours Worked Calculator
Reality check Confirm the rule before using the number Open for policy, payroll, and source-record checks.
Useful links Calculators and next questions Open after the direct answer.

Guide picker

Answer one question to choose the right guide.

Use this when you know the topic but not the exact calculator or comparison yet.

Use this guide when

  • You are calculating a shift that starts one day and ends the next morning.
  • You want the plain formula before opening the calculator.
  • You need to explain or copy the result after checking it.
Open Hours Worked Calculator

Best calculator path

Start with Hours Worked Calculator. If the result depends on another pay, date, PTO, or time-card assumption, use the related guides below instead of guessing.

Before you rely on it

Check time card, schedule, payroll export, or calendar rule when the result affects a real timesheet, payroll, PTO, or deadline decision. The calculator supports the decision; it does not replace the official source.

Useful follow-up

After the first estimate, compare nearby questions in the work hours cluster so search visitors and returning users can move naturally to the next step.

Next guides Keep the comparison chain going Related guide cards stay available without making the mobile page feel endless.

Next guides

Keep the comparison chain going.

These related guides help connect the calculator result with the next work decision.

Weekly Hours Guide

Weekly Hours Worked

Calculate each shift after unpaid breaks, then add the paid shift totals for the week. Includes a realistic example, copyable result format, common mistakes, and the

Open Hours Worked Calculator
Calculator chain Turn this guide into a working calculator path Open when you want to continue from the article to a tool.
FAQ Overnight Shift Hours questions Open for common follow-up questions after the direct answer.

Overnight Shift Hours questions

What is the quick answer to how to calculate overnight shift hours?

For an overnight shift, count forward past midnight instead of subtracting the end time as if it happened on the same day. Then subtract only unpaid breaks. The calculator helps when you need to test the exact inputs instead of relying on a shortcut.

Can I use this result for payroll or HR decisions?

Use it as a planning estimate first. For payroll, PTO, notice, or deadline decisions, compare the result with your time card, schedule, payroll export, or calendar rule.

What usually causes a different answer?

Different answers usually come from unpaid breaks, overnight shifts, rounded punches, weekends, holidays, and custom work schedules. Check those inputs before assuming the calculator or official record is wrong.