8-Hour Shift Calculator
Calculate 8-hour shift hours, breaks, overtime, and weekly pay. Supports overnight shifts, configurable OT multipliers, and printable timesheets.
About
An 8-hour shift is the standard unit of labor scheduling defined under the Fair Labor Standards Act (FLSA) and most national labor codes. Miscalculating shift duration by even 15 min per day compounds to 65 hours of payroll error per employee per year. This tool computes net work hours by subtracting break time from the gross interval between clock-in tin and clock-out tout, handles overnight shifts that cross midnight, and flags overtime beyond the 8h daily or 40h weekly threshold. Pay is derived using configurable hourly rate and overtime multiplier.
The calculator assumes a single continuous shift per day. Split shifts require separate entries. Break deduction is applied as a lump sum, not distributed. Results approximate pre-tax gross compensation and do not account for differential pay, holiday premiums, or jurisdictional rounding rules. Pro tip: many payroll systems round to the nearest 6min increment (tenth of an hour). Compare your employer's rounding method against the raw minutes shown here to detect discrepancies.
Formulas
Gross shift duration in minutes is computed from clock-in and clock-out times, with automatic midnight-crossing detection:
where tin and tout are minutes since midnight (0 - 1439), and 1440 = 24 × 60. The modulo operation handles overnight shifts where tout < tin.
Net work minutes after break deduction:
where B = break duration in minutes. If N < 0, the result is clamped to 0.
Daily overtime hours beyond the 8h threshold:
Weekly aggregation sums all daily net values. Weekly overtime applies when total exceeds 40h (2400min):
Gross pay computation:
where R = hourly rate ($), Rreg = regular (non-OT) hours, OT = overtime hours, and M = overtime multiplier (typically 1.5).
Reference Data
| Shift Pattern | Start | End | Gross Hours | Typical Break | Net Hours | Weekly (5d) | OT Weekly |
|---|---|---|---|---|---|---|---|
| Standard Day | 09:00 | 17:00 | 8h | 30min | 7.5h | 37.5h | 0h |
| Standard Day (no deduction) | 09:00 | 17:00 | 8h | 0min | 8h | 40h | 0h |
| Early Morning | 06:00 | 14:00 | 8h | 30min | 7.5h | 37.5h | 0h |
| Afternoon | 14:00 | 22:00 | 8h | 30min | 7.5h | 37.5h | 0h |
| Night Shift | 22:00 | 06:00 | 8h | 30min | 7.5h | 37.5h | 0h |
| Extended Day (10h) | 07:00 | 17:00 | 10h | 60min | 9h | 45h | 5h |
| 12-Hour Shift | 06:00 | 18:00 | 12h | 60min | 11h | 44h (4d) | 4h |
| 12-Hour Night | 18:00 | 06:00 | 12h | 60min | 11h | 44h (4d) | 4h |
| Short Shift | 10:00 | 14:00 | 4h | 0min | 4h | 20h | 0h |
| Split Shift A | 08:00 | 12:00 | 4h | 0min | 4h | - | - |
| Split Shift B | 16:00 | 20:00 | 4h | 0min | 4h | - | - |
| Compressed (4×10) | 07:00 | 17:30 | 10.5h | 30min | 10h | 40h (4d) | 0h |
| FLSA Daily OT Threshold | 8h per day (California, Alaska, Nevada, Colorado) | - | |||||
| FLSA Weekly OT Threshold | 40h per workweek (federal standard) | - | |||||
| Standard OT Multiplier | 1.5× (time-and-a-half) | - | |||||
| Double Time Threshold | 12h per day (California) or 2.0× | - | |||||
| Minimum Break (US Typical) | 30min unpaid for shifts ≥ 6h | - | |||||
| EU Working Time Directive | Max 48h/week averaged over 17 weeks | - | |||||
| Rest Period (EU) | 11h consecutive rest per 24h | - | |||||
| Payroll Rounding (7-min rule) | Round to nearest 15min; ≤7min rounds down | - | |||||