Everyday life · Time

Work Hours Calculator

Calculate net shift length from start time, end time, an optional overnight flag, and an unpaid break.

Calculator inputs

min
Calculated in your browser.
Result

8:00

Net elapsed work time

Elapsed shift8 h 30 min
Break30 min
Decimal hours8
Formulanet time = (end − start, with optional overnight day) − breakThis is elapsed time arithmetic. It does not calculate wages, overtime, DST, or labor-law compliance.

Use the result with the units shown

Work Hours Calculator: what it calculates

Enter clock times in 24-hour HH:MM format. If the end time is earlier than the start, choose overnight to add one calendar day. Break time is deducted after the elapsed shift is found.

Formula and inputs

This calculator separates clock input from elapsed duration. It never silently treats an earlier end time as an overnight shift.

Calculation modelelapsed = end − start (plus 24 hours for an overnight shift)net hours = elapsed − break minutesdecimal hours = net minutes ÷ 60

Worked example: 9:00 to 17:30

Elapsed shift8 hours 30 minutes
Break30 minutes
Net time8 hours = 8.0000 decimal hours

The result is a duration. It does not turn the duration into wages or an overtime classification.

Limits and assumptions

Time zones, daylight saving changes, holidays, wages, overtime, and labor-law rules are outside this arithmetic tool.

Work Hours Calculator FAQs

How do I enter an overnight shift?

Enter the end time and choose Yes for Overnight shift. The calculator then adds one day before subtracting the break.

What if the break is longer than the shift?

The calculator reports an error because net work time cannot be negative under this model.

Can I use the result to calculate payroll?

No. It returns elapsed duration and decimal hours. Overtime thresholds and pay rules depend on the applicable policy or jurisdiction.

How do I calculate overtime hours?

Add each shift's net hours, then compare the total with the overtime threshold that applies to your workplace or jurisdiction. This calculator does not determine the legal threshold or pay rate.