OneEquals

Hours Calculator

Enter a start and end time to get the hours between them, in hours and minutes and as decimal hours. Shifts that pass midnight are handled automatically.

Hours and minutes7 h 0 min
Decimal hours7.00
Total minutes420

How the hours calculator works

Hours = end time − start time − breaks. If the end time is earlier than the start time, the shift is treated as ending the next day.

Decimal hours = minutes ÷ 60. 7 h 15 min = 7.25 hours, which is how most payroll systems want it.

Common time spans

TimesHoursDecimal
8:00 AM to 4:00 PM8 h 0 min8.00
9:00 AM to 5:00 PM8 h 0 min8.00
9:30 AM to 4:30 PM7 h 0 min7.00
8:30 AM to 5:00 PM8 h 30 min8.50
7:00 AM to 3:30 PM8 h 30 min8.50
10:00 AM to 6:00 PM8 h 0 min8.00
12:00 PM to 8:00 PM8 h 0 min8.00
10:00 PM to 6:00 AM8 h 0 min8.00

Step-by-step guide

Related tools

Hours Calculator FAQ

How many hours is 9:30 to 4:30?

9:30 AM to 4:30 PM is 7 hours (7.00 in decimal).

How many hours is 8 to 4?

8:00 AM to 4:00 PM is 8 hours.

How many hours a year is 40 hours a week?

40 hours × 52 weeks = 2,080 hours a year.

How do I convert minutes to decimal hours?

Divide the minutes by 60: 15 min = 0.25 h, 30 min = 0.5 h, 45 min = 0.75 h.