About the Time Difference Calculator
Working out hours between two clock times is easy until the shift crosses midnight, at which point simple subtraction gives a negative. This calculator handles the wrap-around, subtracts breaks, and gives the result in both hours-and-minutes and decimal hours for payroll.
Also known as: hours between times, time duration calculator, work hours calculator, clock time difference.
How to use this calculator
- Enter start time, end time, break.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
duration = end − start (+24 h if it crosses midnight) − breaks
Worked example
Using the values pre-filled in the calculator above:
- Start time: 09:00
- End time: 17:30
- Break = 30 min
the calculator returns:
- Time worked: 8 h 0 min
- Decimal hours: 8
- Total minutes: 480
- Elapsed before breaks: 8 h 30 min