Shift Duration Calculator
How many hours did you actually work? Start, end, minus the break.
The answer updates as you type. Everything is computed in your browser; nothing is sent to a server.
How is a shift worked out?
Both times are turned into minutes and subtracted. If the end is earlier than the start, the shift ran past midnight, so a full day is added. Break minutes are then taken off.
Examples
- 09:00 to 17:00 with no break: 8 hours.
- The same shift with a 45 minute break: 7 hours 15 minutes.
- 22:00 to 06:00 with a 30 minute break: 7 hours 30 minutes.
Common questions
- A shift that runs past midnight? Enter the end time as it is (06:00) and it is treated as the next day.
- Does it work out pay or overtime? No, it adds up time only. Work rules and pay are not part of the calculation.
- More than one shift a day? Work out each shift and add them.
How it is worked out: minutes = end - start (+1440 when the end is earlier), net = total - break.
Note: results are estimates for personal guidance only.
Is my data saved?
No. The whole calculation runs in your browser and no number is sent anywhere.
Why work it out yourself
With changing shifts the real hours are not always obvious from an attendance sheet. The result here is a calculation of the times you typed, not an official record of hours worked.