Time Duration Calculator
Total shifts, overnight hours, and unpaid breaks.
The interactive calculator loads above this explanation when JavaScript is available.
How to use the time duration calculator
Total shifts, overnight hours, and unpaid breaks. Enter the known values, choose units where offered, and read the live result and breakdown.
Worked example
This example uses the following inputs. Currency amounts are illustrated in USD.
- Shifts — one per line: start, end, break minutes
- 09:00, 17:00, 30 22:00, 06:00, 30
Total time after breaks: 15h 0m
Method
For each shift, subtract start from end, adding 24 hours if the end is earlier. Subtract its break, then sum net minutes across all entries.
What to watch for
An end earlier than the start means an overnight shift. Equal start and end means zero hours, not a full day.
Assumptions and references
Each shift is less than 24 hours. Equal start and end means zero hours. Clock-time arithmetic; no time zones, daylight-saving adjustments or payroll rounding.
Formula implementation: v0.8.0. Examples are checked against the calculation engine; specialist professional review is not claimed. How we check calculations.