Time Duration Calculator
Work out hours and minutes between a start and end time, minus breaks.
Overnight shifts are handled automatically.
About the Time Duration Calculator
Enter a start and end time and the calculator returns the elapsed duration in hours and minutes, total minutes and decimal hours — the format most payroll and invoicing systems expect.
Overnight shifts are handled automatically: if the end time is earlier than the start time, the calculation rolls over midnight.
How to use the Time Duration Calculator
- Enter the start time.
- Enter the end time.
- Enter the length of any unpaid break in minutes.
- Read the duration in hours, minutes and decimal hours.
Examples
| Input | Result |
|---|---|
| 09:00 → 17:30, 30 min break | 8h 0m (8.00 hours) |
| 22:00 → 06:00 | 8h 0m overnight |
| 13:15 → 14:45 | 1h 30m (1.50 hours) |
Frequently asked questions
What are decimal hours?
Decimal hours express minutes as a fraction — 90 minutes is 1.50 hours. Timesheets and hourly invoices usually require this format.
Is my data sent to a server?
No. This tool runs entirely in your browser using JavaScript. Nothing you enter is uploaded, logged or stored by AHRATOOLS.
Is the tool free to use?
Yes. Every AHRATOOLS tool is free, requires no account and has no usage limits.

