2026-09-14 9 min

Shift Hours Calculator

Compute shift length with breaks and overnights — gross, break, and net hours plus pay at your rate.

Calculator

Shift Date
Start Time
End Time

Break & Rate

Unpaid Break
Hourly Rate
Results update automatically
Results update live as you type
Status:Net 7.50 hrs$150.00Same day

Shift Summary

Net hours7.50
Gross / break8.00 / 0.50
Gross pay$150.00
Window9:00 AM → 5:00 PM
Ends2026-10-26

Shift Progress

Net vs 8-hour standard7.5 / 8 h
Break share of gross0.50 / 8.00 h
Pay vs 8-hour day$150.00 / $160.00

Breakdown

MeasureValue
Gross hours8.00
Break hours0.50
Net hours7.50
Rate$20/hr
OvernightNo
End date2026-10-26

Results

Optimal

Net Payable Hours

7.50hrs

Gross minus unpaid break

Gross Hours

8.00hrs

Clock-in to clock-out, overnights included

Break Hours

0.50hrs

Unpaid break in hours

Gross Pay

$150.00

Net hours × $20/hr

Overnight

No — same day

Whether the shift crosses midnight

Shift Window

9:00 AM → 5:00 PM

12-hour clock readings

Break Minutes

30min

Capped at shift length

End Date

2026-10-26

Pay date for the shift end

Exact minute math with automatic +1-day rollover when end is at or before start. Breaks cap at the shift length.

Visualizations

Shift Composition (hours)

7.5hNet work
0.5hBreak

Shift vs 8-Hour Standard

Net hours7.5h

Pay vs 8-Hour Day Pay

Pay150
Work
Off
Work 7.50 hBreak 0.50 hOff 16.00 h

Formula

Overnight detection rolls the end forward a day so subtraction stays positive; breaks cap at gross length so net never goes negative.

Net = (end − start rolled +24h if needed) − min(break, gross)

Alternative Form

Pay = net × rate; overnight ⟺ end ≤ start

Variables

SymbolNameUnitDescription
S/EClock timesminutesMinutes since midnight each
GGross hourshoursRolled end minus start
KBreakminutesUnpaid minutes, capped at gross
N/PNet hours / payhrs/USDN = G − K; P = N × rate

Explanation

The roll rule (end ≤ start means overnight) matches how roster systems interpret night shifts, and capping breaks prevents negative-hour nonsense from typos.

Derivation

end += 24h if end ≤ start; G = (end−start)/60; N = G − min(K,G)/60; P = N×rate.

Step-by-Step Calculation

Follow each step to understand how the result is calculated from your inputs.

Step 1

Read clock-in and clock-out as minutes since midnight.

M = HH × 60 + MM each
Start:09:00
End:17:00
Date:2026-10-26
Intermediate: Integers on the 1440-minute dial
Result: 9:00 AM → 5:00 PM
Step 2

Roll the end past midnight when it reads at or before the start.

Overnight ⟺ end ≤ start; then end += 24 h
Overnight:No
Intermediate: Night shifts become positive spans
Result: Same-day shift
Step 3

Measure gross minutes clock-in to clock-out.

Gross = end − start (rolled)
Gross Hours:8.00
Intermediate: Before any deductions
Result: 8.00 gross hours
Step 4

Cap the unpaid break at the shift length and subtract.

Net = gross − min(break, gross)
Break Minutes:30
Intermediate: Breaks can never exceed the shift
Result: 7.50 net hours
Step 5

Price net hours at the straight-time rate.

Pay = net × rate
Rate:$20/hr
Pay:$150.00
Intermediate: Premiums handled in Overtime/Payroll tools
Result: Gross $150.00
Step 6

Route the end date for rosters and pay periods.

End date from the rolled end instant
End Date:2026-10-26
Intermediate: Overnights post to the next pay date
Result: Shift closes 2026-10-26
Final Answer
7.50

Worked Examples

See how the calculator works with different scenarios.

Scenario

9:00 AM–5:00 PM with 30-min unpaid lunch at $20/hr.

Inputs

Shift:09:00–17:00
Break:30 min
Rate:$20

Calculation

8.00 − 0.50 = 7.50 h × $20 = $150.00

Result

7.50 h — $150.00

Interpretation

The canonical full-time day after lunch.

Understanding Your Result

Your Result: Net Payable Hours: 7.50 hrs

Typical range: Retail shifts run 4–8 hours; healthcare 8–12; breaks 15–60 minutes unpaid.

What This Means

Net hours are what payroll posts; gross shows the full attendance window; the overnight flag routes the end to the right pay date.

Why It Matters

Break deductions and overnight dates are the two most disputed timesheet lines. Exact math with flags settles both.

Professional Interpretation

Supervisors verify gross vs net; payroll posts net decimals; schedulers watch overnight flags.

Recommendations

  • •Verify gross before approving
  • •Post net decimals to payroll
  • •Route overnights by end date
  • •Cap-check long breaks
  • •Layer overtime rules after

Educational Content

Introduction

The Shift Hours Calculator converts clock-in, clock-out, and breaks into gross, break, and net hours with overnight handling and pay.

Concept Explanation

End-at-or-before-start means overnight (+24 h); breaks cap at gross length; net hours price at the straight rate.

Applications

▸Approving daily timesheets
▸Pricing single shifts
▸Auditing break deductions
▸Routing overnight pay dates
▸Estimating shift costs

Benefits

  • •Automatic overnight rollover
  • •Break capping against typos
  • •Net decimals for payroll
  • •End-date routing

Limitations

  • •Straight time only
  • •One shift per view
  • •No zone conversion

Best Practices

  • •Read gross and net separately
  • •Confirm overnight flags
  • •Keep breaks realistic
  • •Apply premiums after

Common Misconceptions

Myth: End before start is an error.
Truth: It signals overnight here — the standard roster convention.
Myth: Breaks always subtract fully.
Truth: Only up to the shift length; the cap prevents negatives.
Myth: Overnight hours belong to the start date.
Truth: They post to the end date — that is what the flag is for.

Practical Tips

  • •Confirm overnight flags
  • •Post net to payroll
  • •Cap-check breaks
  • •Route by end date
  • •Apply OT after
  • •Verify gross first
  • •Copy decimals downstream

Common Mistakes

Posting gross instead of net
Payroll wants net of unpaid breaks — read the right line.
Missing the overnight flag
Night ends belong to tomorrow's pay date.
Break typos going negative
The cap catches them; still fix the entry.
Baking premiums in early
Price straight time here, premiums after.

Assumptions

This calculator makes the following assumptions to provide estimates:

Rollover Rule: End ≤ start means overnight.
Break Cap: Breaks cannot exceed gross.
Straight Rate: One rate for all net hours.
Minute Floor: Partial minutes floored.

Limitations

Be aware of these limitations when using this calculator:

Single Shift: Weeks need Timesheet.
No Premiums: OT math lives elsewhere.
No Zones: One local context per shift.

Frequently Asked Questions

Answers to common questions about this calculator.

How are overnight shifts handled?
When end reads at or before start, 24 hours are added to the end automatically and the overnight flag with the true end date appears.
Does it deduct paid breaks?
No — enter only unpaid minutes. Paid breaks stay inside net hours by design.
What if the break exceeds the shift?
It caps at the shift length, yielding zero net hours instead of negative pay — then fix the entry.
Which hours go to payroll?
Net hours in decimal form. Gross is the attendance window for verification, not payment.
Which date do overnight hours post to?
The end date shown — rosters and pay periods key off shift close, not open.
Does it add overtime premiums?
No, straight time only. Feed net hours into Overtime or Payroll calculators for premiums.
How accurate are these date calculations?
All math uses UTC midnight-to-midnight day arithmetic, so daylight-saving shifts never add or remove an hour from a day count. Results are exact for the Gregorian calendar for any date from 1900 through 2100.
Do leap years affect the result?
Yes, automatically. February 29 exists in leap years (divisible by 4, except centuries unless divisible by 400), and every total-days figure in this calculator counts it exactly.
Why do months give uneven results?
Months are 28 to 31 days long, so converting days to months is approximate. This calculator reports exact years, months, and days using calendar arithmetic, plus exact totals in days, weeks, and hours so nothing is hidden by rounding.
Which time zone is used?
Dates are parsed and compared in UTC to keep results identical in every time zone. Enter the calendar date as written; the exact hour of day is not modelled unless a time field is shown.
What date format should I enter?
Use the date picker or YYYY-MM-DD format, for example 2026-09-14. The calculator validates February 30 and similar impossible dates and falls back to today when a field is empty.
Can the end date be before the start date?
If the dates arrive reversed, the calculator swaps them internally and still reports a positive span, so the breakdown always describes the true distance between the two dates.
How does the Shift Hours Calculator count business days versus calendar days?
Business days keep Monday to Friday and subtract weekday holidays you enter, while calendar days keep weekends too. The breakdown shows workdays, weekends and holidays separately so payroll can reconcile gross to net.
Which holidays should I enter and how do weekend holidays work?
Enter only observed weekday holidays that fall inside the span, as a count. A holiday on Saturday or Sunday costs no workday, so entering it again would double-subtract and understate payable days.
Can the Shift Hours Calculator handle 4-day weeks or part-time schedules?
Yes with an adjustment. Run the standard Mon-Fri count, then scale by your pattern, for example multiply by 0.8 for a 4-day week or by daily hours for part-time. Note the pattern on the saved breakdown.
How are working hours derived from workdays?
Net workdays times hours-per-day gives gross hours, then unpaid break minutes per day are subtracted for net payable hours. Overtime thresholds apply after the standard daily or weekly hours you set.
How does payroll rounding work with decimal hours and HH:MM?
Convert HH:MM to decimal by minutes divided by 60, so 7:30 is 7.5 hours. Many payrolls round to the nearest 6 minutes (0.1 hour) or 15 minutes; round only the final total, not each day, to avoid drift.
What is the difference between Timesheet, Payroll Hours and Overtime tools?
Timesheet collects daily clock spans, Payroll Hours prices them at rates, and Overtime isolates hours above thresholds. Use them in that order for a clean audit from raw punches to paid overtime.
How should shifts that cross midnight be entered?
Split at midnight into two rows or use an overnight-aware time tool, because business-day counts are whole days. Clock spans ending earlier than they start add 24 hours and flag overnight automatically.
How do school days differ from business workdays?
School days follow the academic calendar with term breaks, teacher days and local holidays, not just Mon-Fri minus federal holidays. Verify against the school calendar rather than the generic holiday count.
How do PTO, vacation and sick balances interact with workday counts?
Workday spans measure time owed or taken, while accrual balances measure time earned minus taken with caps. Subtract approved leave workdays from the PTO balance to get remaining availability.
What is the best way to prove a workday total to payroll?
Archive the start and end dates, the inclusive setting, the holiday count with names, and the weeks-times-7-plus-remainder check. Copy the step trace so a reviewer can replay the midnight walk.
Can I plan backward from a deadline to find the latest start date?
Yes. Use subtract business days from the due date with the same holiday count and weekend rule. Add a one to two day buffer for approvals and observed holidays.
How do unpaid lunch breaks affect payable hours?
Only unpaid meal minutes reduce payable time; paid rests stay in gross hours. Enter unpaid minutes per shift and keep paid breaks out of the break field to avoid underpaying.
What if a public holiday falls during vacation or leave?
An observed weekday holiday inside leave is usually not charged to PTO under most policies. Subtract it from the leave workdays and cite the employer policy on the record.
How do I annualize monthly business-day averages?
Sum the 12 monthly business-day counts for the year rather than multiplying one month by 12, because months have 19 to 23 workdays. The monthly average times 12 then reconciles to the true annual total.
Does the Shift Hours Calculator account for regional holiday calendars?
Holidays are entered as counts you verify against your observed federal, state or country list, because no single picker covers every region. Check spring and year-end weeks where observed dates shift.
Is the Shift Hours Calculator free and does it work for large multi-year spans?
Yes, free with no sign-up on any device, and multi-year spans walk UTC midnights exactly including every Feb 29. For very long HR tenures, also keep the Y/M/D read for anniversary wording.

Related Calculators

Explore more calculators related to this topic.

Related Guides

Deepen your understanding with these educational resources.

Glossary

Technical terms used in mortgage calculations explained in plain language.

Gross hours
Clock-in to clock-out including breaks.
Net hours
Gross minus unpaid breaks; payable.
Rollover
Adding 24 h to ends at/before starts.
Break cap
Limiting breaks to gross length.
Overnight flag
Indicator the shift crosses midnight.
End date
Calendar date of shift close.
Straight rate
Single hourly price, no premium.
Clock window
Start→end 12-hour readings.

Authoritative References

Trusted sources and standards referenced by this calculator.

Was This Calculator Helpful?

Page Information

Last Updated:

2026-09-14

Version:

2.0.0

License:

Free to use for educational and professional purposes.