HomeDates & time
Time duration calculator
Hours and minutes between a start time and an end time.
Quick answer
Enter a start and an end time on the 24-hour clock. From 09:30 to 17:45 is 8 hours 15 minutes, or 8.25 hours.
Duration
8 hours 15 minutes
- In decimal hours
- 8.25
- In minutes
- 495
How it works
Times are on the 24-hour clock, so 5:45 pm is 17:45.
If the end is earlier than the start, the calculator assumes you worked past midnight.
The decimal hours figure is handy for timesheets and pay: 8 hours 15 minutes is 8.25 hours.
The formula
- Minutes = (end hour ร 60 + end minute) โ (start hour ร 60 + start minute)
- If that is negative, add 24 ร 60 for a span past midnight; then subtract the break
A worked example
09:30 to 17:45: (17 ร 60 + 45) โ (9 ร 60 + 30) = 1,065 โ 570 = 495 minutes, which is 8 hours 15 minutes or 8.25 hours.
Common questions
How do I enter pm times?
Add 12 to the hour: 3 pm is 15, 11 pm is 23. Midnight is 0.
Does it handle night shifts?
Yes. A 22:00 to 06:00 shift is 8 hours.
How do I convert minutes to decimal hours?
Divide by 60. 15 minutes is 0.25 hours.
Can it span more than one day?
No, it covers up to 24 hours. Use the date difference calculator for longer gaps.