Time Duration Calculator
Work out the time between two clock times — with unpaid breaks deducted, midnight crossings handled and decimal hours for payroll.
Your total duration
8 hr 00 min
8.00 decimal hours
- Total minutes
- 480
- Total seconds
- 28,800
- As a working week
- 21% of 37.5 hrs
- Decimal hours
- 8.00
How it works
Working out how long something lasted sounds trivial until minutes have to carry at 60, a break needs deducting and the shift runs past midnight. This calculator handles all three and gives you the answer in the two formats people actually need: hours and minutes for humans, decimal hours for payroll.
How it works
Gross minutes = finish − start, in minutes past midnight.- If that is negative,
+ 1440is added for the midnight crossing. Paid minutes = gross − unpaid break.Decimal hours = paid minutes ÷ 60.
A worked example
A shift from 09:00 to 17:30 is 540 to 1,050 minutes past midnight, so 510 minutes gross. Deduct a 30-minute unpaid lunch and you have 480 paid minutes — 8 hours, or 8.00 decimal hours. At £14.50 an hour that is £116.00 for the day, and the decimal figure is what makes that final multiplication painless.
How to interpret your result
Use the hours-and-minutes figure on timesheets and rotas, and the decimal figure whenever a number is being multiplied by a rate. If the midnight flag shows "Yes", double-check that a night shift is really what you meant — otherwise your start and finish times are the wrong way round.
Common real-world uses
- Timesheets, freelance invoicing and billable-hours tracking.
- Checking payroll against the hours you actually worked.
- Planning night shifts and on-call rotas across midnight.
- Measuring project, meeting or event durations.
- Converting logged minutes into decimal hours for spreadsheets.
Related tools: Unix Timestamp Converter · Time Zone Converter · Percentage Change & Difference Calculator · Reading Time Calculator