OHD

Date & Time

Overtime Hours Duration Calculator

Calculate overnight elapsed time, paid shift hours, regular and overtime hours, period totals, regular pay, overtime pay, and gross pay.

Elapsed clock time-
Paid hours after break-
Regular hours per shift-
Overtime hours per shift-
Regular hours in period-
Overtime hours in period-
Regular-hours pay-
Overtime-hours pay-
Regular plus overtime pay-

Decision view

Overnight shift and overtime pay reconciliation

Overnight shift and overtime pay reconciliationA 24-hour timeline, paid-hour split, and pay composition connect clock duration to gross pay.
Exact scenario comparisonRegular paid-hours threshold per shift changes while all other entered assumptions remain constant.
Regular paid-hours threshold per shiftElapsed clock timePaid hours after breakRegular hours per shiftOvertime hours per shiftRegular hours in periodOvertime hours in periodRegular-hours payOvertime-hours payRegular plus overtime pay

How to use Overtime Hours Duration Calculator

  1. Enter start and end clock hours.
  2. Enter unpaid break and per-shift regular threshold.
  3. Enter shift count, other paid hours, rate, and multiplier.
  4. Review the 24-hour timeline and pay composition.

Calculator guide

Understanding Overtime Hours Duration Calculator

Overnight shift time must first be resolved on a 24-hour clock, then reduced by unpaid break time before regular and overtime hours are separated. Pay is calculated only after those duration steps are reconciled.

Time first Pay follows duration.
Break converts units Minutes become hours.
Threshold is per shift It repeats eight times.
Rules vary Local law controls actual payroll.

Calculation method

How the calculation works

Derive overtime hours by resolving the overnight interval, subtracting the unpaid break, splitting paid time at the regular-hours threshold, and extending both hour classes across the pay period. Wrap the end time across midnight, subtract the unpaid break, split paid hours at the entered per-shift threshold, scale by shift count, then apply base and overtime rates.

Detailed calculation process

Convert an overnight clock interval into overtime pay

The default shift runs from 18:30 to 06:30, includes a 45-minute unpaid break, uses an eight-hour regular threshold, and repeats eight times at $28/hour.

General formula: T_e = mod(t_1-t_0+24,24)T_p = max(T_e-b/60,0)T_r = min(T_p,h)T_o = max(T_p-h,0)R = nT_r+H_xO = nT_oPay = Rw+Owm The modulo operation turns an overnight end time into positive elapsed hours. Break minutes are converted to hours, paid time is split at the threshold, and period regular and overtime hours receive different pay multipliers.

What each symbol means

t_0, t_1 Shift start and end clock hours.
T_e, b, T_p Elapsed hours, unpaid break minutes, and paid hours.
h, T_r, T_o Regular threshold and per-shift regular/overtime hours.
n Shifts in the pay period.
H_x, R, O Other paid hours and period regular/overtime hours.
w, m Base hourly rate and overtime multiplier.
Pay Regular pay plus overtime pay.

Worked substitution with the default inputs

1. Resolve the overnight clock T_e = mod(6.5-18.5+24,24) = 12.00 h The 24-hour wrap converts 18:30 to 06:30 into a 12-hour elapsed shift.
2. Deduct the unpaid break b/60 = 45/60 = 0.75 hT_p = 12-0.75 = 11.25 h Only paid time proceeds to the regular/overtime split.
3. Split one shift T_r = min(11.25,8) = 8 hT_o = 11.25-8 = 3.25 h The entered threshold is applied separately to every shift.
4. Scale the pay period R = 8(8)+4 = 68 hO = 8(3.25) = 26 h Other paid hours are added to regular period hours.
5. Reconcile pay regular = 68(28) = $1,904overtime = 26(28)(1.5) = $1,092gross = $2,996 The overtime multiplier applies only to overtime hours.

Each default shift contains 11.25 paid hours, including 3.25 overtime hours; the eight-shift period produces 68 regular hours, 26 overtime hours, and $2,996 gross pay.

Time and pay reconciliation

Split the overnight shift and period pay

A 24-hour timeline shows work across midnight and the unpaid break, while stacked period bars separate regular hours, overtime hours, and their pay contributions.

Overnight arc 18:30 through 06:30.
Break segment Forty-five unpaid minutes.
Hour split Regular versus overtime.
Pay stack Base and premium dollars.

Worked situations

Practical examples

  • 18:30 to 06:30 is a 12-hour overnight interval.
  • A 45-minute break leaves 11.25 paid hours.
  • Eight shifts produce 26 overtime hours under the entered daily threshold.

Better inputs

Useful tips

  • Confirm whether applicable overtime is daily, weekly, or both.
  • Keep unpaid and paid breaks separate.
  • Match payroll rounding before comparing a pay stub.

Before relying on the result

Limitations and common mistakes

  • The page applies one per-shift threshold and does not infer employment law.
  • Weekly overtime, double time, holidays, premiums, split shifts, and rounding are excluded.
  • Clock hours are decimal values, so 18.5 means 18:30.

Reference

Key terms

Clock wrap
Adding 24 hours when a shift ends after midnight.
Paid shift hours
Elapsed time less entered unpaid break.
Regular threshold
Entered paid hours before per-shift overtime.
Overtime multiplier
Factor applied to base pay for overtime hours.

Important note

Calculated directly from the entered values using the displayed formula and rounding settings.

Frequently asked questions

Why is the shift 12 hours instead of negative 12?

The end time wraps through midnight on a 24-hour clock.

Is 45 minutes entered as 0.45 hours?

No. Forty-five minutes equals 0.75 hours.

Are other paid hours eligible for overtime?

This model adds them to regular hours; actual rules may differ.

Does this determine legal overtime?

No. It calculates the entered threshold and multiplier only.