How to calculate time between two times by hand
The reliable way is minutes after midnight. 9:00 AM is 9 × 60 = 540 minutes, 5:30 PM is 17 × 60 + 30 = 1,050. The difference is 510 minutes: 8 hours and 30 minutes.
Subtracting clock times directly works too, but borrow an hour when the minutes run out. From 9:45 to 17:10, the minutes 10 − 45 don't fit, so take an hour from 17: 16:70 − 9:45 = 7 hours 25 minutes.
Examples
| What | From | To | Duration |
|---|---|---|---|
| Work day with a 30-minute lunch | 9:00 AM | 5:30 PM | 8 h |
| Night shift | 10:00 PM | 6:00 AM | 8 h |
| Meeting | 2:15 PM | 3:40 PM | 1 h 25 min |
| Monday evening to Wednesday morning | Mon 6:00 PM | Wed 9:00 AM | 39 h |
Durations in decimal hours
Timesheets and invoices need decimal hours: 8 h 30 min is 8.5, and 7 h 25 min is 7.42. Look up any value in the minutes to hours converter, or add up a whole week of shifts with breaks and overtime in the time card calculator.
Questions
How do I calculate the hours between two times?
Convert both times to minutes after midnight, subtract, and divide by 60. 5:30 PM is 1,050 minutes and 9:00 AM is 540, so the difference is 510 minutes, or 8 hours 30 minutes.
How many hours is 9 to 5?
8 hours. With a 30-minute unpaid lunch it is 7 hours 30 minutes, or 7.5 decimal hours.
How do I calculate time across midnight?
Add 24 hours to the end time before subtracting. From 10:00 PM to 6:00 AM: (6 + 24) − 22 = 8 hours. The calculator does this when the end time is earlier than the start.
Does it account for daylight saving time?
No. It counts clock time. On the night clocks change, the real elapsed time is one hour more or less than the result.
Can I add hours to a time?
Yes. In "Add or subtract time", enter a clock time and a duration such as 2:45, 2h 45m or 2.75h. 9:30 AM plus 2 hours 45 minutes is 12:15 PM.