Hours Calculator
Total worked time between two clock times, with an optional unpaid break.
Inputs
Result
Worked
8h 00m
8.00 hours
Visual breakdown
Decimal hours
8
Total minutes
480
Break
30 min
Gross span
8.5 h
09:0017:30
Worked · 8h 00m480
Break · 30 min30
Formula
Worked = (end − start) − break. If end < start, add 24 hours (overnight shift).
Example
09:00 → 17:30 with a 30-min break = 8h 00m (8.00 hours).
Frequently asked
Does it handle shifts that cross midnight?
Yes — when the end time is earlier than the start, we add 24 hours automatically.
What if the break is longer than the shift?
Net worked is clamped to zero.
Can I see decimal hours for payroll?
Yes — the result card shows decimal hours alongside h/m.