Hours Between Two Times Calculator

Enter a start and end time to see how many hours you worked. Subtract a break, handle overnight shifts and get decimal hours for your timesheet.

How to calculate hours between two times

  1. Turn both times into 24-hour time. For example, 5:30 PM becomes 17:30.
  2. Subtract the start time from the end time. 17:30 minus 9:00 is 8 hours 30 minutes.
  3. If the end time is earlier than the start time, the shift crossed midnight. Add 24 hours to the end time first.
  4. Subtract any unpaid breaks.
  5. For payroll, convert minutes to decimal hours by dividing by 60. 30 minutes is 0.5 hours, so 8 hours 30 minutes is 8.5 hours.

The calculator above does all of this for you, including overnight shifts.

Common shift lengths

Decimal hours are shown in parentheses.

ShiftNo break30 min break1 hour break
7:00 AM to 3:00 PM8 hr (8.00)7 hr 30 min (7.50)7 hr (7.00)
8:00 AM to 4:00 PM8 hr (8.00)7 hr 30 min (7.50)7 hr (7.00)
8:00 AM to 5:00 PM9 hr (9.00)8 hr 30 min (8.50)8 hr (8.00)
9:00 AM to 5:00 PM8 hr (8.00)7 hr 30 min (7.50)7 hr (7.00)
9:00 AM to 6:00 PM9 hr (9.00)8 hr 30 min (8.50)8 hr (8.00)
8:30 AM to 5:00 PM8 hr 30 min (8.50)8 hr (8.00)7 hr 30 min (7.50)
6:00 AM to 2:30 PM8 hr 30 min (8.50)8 hr (8.00)7 hr 30 min (7.50)
10:00 AM to 6:00 PM8 hr (8.00)7 hr 30 min (7.50)7 hr (7.00)
7:00 AM to 7:00 PM12 hr (12.00)11 hr 30 min (11.50)11 hr (11.00)
7:00 PM to 7:00 AM12 hr (12.00)11 hr 30 min (11.50)11 hr (11.00)
11:00 PM to 7:00 AM8 hr (8.00)7 hr 30 min (7.50)7 hr (7.00)

Minutes to decimal hours

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Frequently asked questions

How many hours is 9 to 5?

9 AM to 5 PM is 8 hours. With a 30-minute unpaid lunch, it is 7.5 hours of paid work. With a 1-hour lunch, it is 7 hours.

How do I calculate hours for an overnight shift?

If the end time is earlier than the start time, add 24 hours to the end time before subtracting. For example, 11 PM to 7 AM is 8 hours. This calculator handles overnight shifts automatically.

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 45 minutes divided by 60 is 0.75, so 7 hours 45 minutes is 7.75 hours.

How many hours is 7 AM to 3:30 PM?

7 AM to 3:30 PM is 8 hours 30 minutes, or 8.5 hours. With a 30-minute unpaid lunch, it is 8 hours.

Does this calculator save my information?

No. The Hours Between Two Times calculator runs entirely in your browser and does not send or store the times you enter.

More free time calculators