How many hours did you work today? How long is a train journey from 10:40 pm to 6:15 am? This calculator finds the time between two clock times, subtracts a break if you want, and gives the answer in hours and minutes, decimal hours and minutes.
How to use the time duration calculator
- Enter the start time and end time.
- Enter any break to subtract, such as a 30-minute lunch.
If the end time is earlier than the start time, the calculator treats it as the next day, which is right for night shifts.
Formula
Duration = end time − start time (add 24 hours if the end is on the next day)
Time worked = duration − break
Decimal hours = minutes ÷ 60
Example
From 09:30 to 18:15 with a 30-minute break:
- Total: 8 hours 45 minutes
- After the break: 8 hours 15 minutes
- In decimal: 8.25 hours, or 495 minutes
A night shift from 22:00 to 06:00 is 8 hours.
Minutes to decimal hours
| Minutes | Decimal hours |
|---|---|
| 15 | 0.25 |
| 20 | 0.33 |
| 30 | 0.5 |
| 45 | 0.75 |
FAQ
Why use decimal hours?
Pay and timesheets are often calculated as hours × hourly rate. 8 hours 15 minutes is 8.25 hours, not 8.15.
How do I add up the hours for a whole week?
Find each day's minutes, add them, and divide by 60 for hours.
Can it handle a shift longer than 24 hours?
No. It measures the time between two clock times within 24 hours. For longer periods, use the date difference calculator.