The formula
duration = end − start − break
To subtract clock times, convert both to minutes since midnight, subtract, then convert back. If the end time is earlier than the start time, the calculator assumes the shift ran past midnight. Decimal hours are what most timesheets and payroll systems expect.
How to use this calculator
- Enter start time.
- Enter end time.
- Enter break in min.
- Read the answer on the right. It updates as you type, and the numbered steps underneath show how it was worked out.
Worked example
Using Start time: 08:45; End time: 17:30; Break: 30 min.
- From 08:45 to 17:30 is 525 minutes
- Subtract the 30-minute break: 495 minutes
- 495 ÷ 60 = 8 hours and 15 minutes
Duration: 8 h 15 min
Common questions
How do I convert minutes to decimal hours?
Divide the minutes by 60. 45 minutes is 0.75 hours, so 7 h 45 min is 7.75 hours.
What if my shift crosses midnight?
Enter the times as they are. When the end is earlier than the start, the calculator adds 24 hours.