Skip Navigation

Hours Calculator

Calculate the total hours between two times of day. Enter a start and end time to instantly see the duration in hours and minutes, decimal hours, and total minutes. Overnight spans are handled automatically.

Formula

Net Hours = (End Time − Start Time − Total Breaks) ÷ 3600 [times in seconds]

Example:

17:00 − 09:00 = 28,800 s − 1,800 s break (30 min) = 27,000 s ÷ 3600 = 7.5 hours

Common Time Spans

StartEndDuration
9:00 AM5:00 PM8 hours 0 min
8:30 AM4:30 PM8 hours 0 min
9:00 AM12:00 PM3 hours 0 min
1:00 PM5:30 PM4 hours 30 min
10:15 AM3:45 PM5 hours 30 min
6:00 PM2:00 AM8 hours 0 min (overnight)

How to Calculate Hours Between Two Times

Formula: Total Seconds ÷ 3600 = Hours

• Example: 9:00 AM to 5:00 PM → 28,800 seconds ÷ 3600 = 8 hours

If your end time is earlier than the start time, the calculator automatically treats it as the next day (overnight).

To get decimal hours: add hours and remaining minutes ÷ 60. Example: 8 hours 30 minutes = 8.5 decimal hours.



See also