Hours Calculator

Hours and minutes between a start time and an end time, minus breaks.

min
Time worked—
Decimal hours
—
Total minutes
—

How to calculate hours between two times

Subtract the start time from the end time, then take off any unpaid break. It is easiest in 24-hour time, where 5:00 PM is 17:00:

17:00 − 09:00 = 8 hours

When the minutes do not line up, borrow an hour. From 8:45 AM to 4:20 PM: 16:20 becomes 15:80, and 15:80 − 8:45 is 7 hours 35 minutes. The calculator does this for you and also gives the answer as decimal hours (7.58), which is what you multiply by an hourly rate.

Overnight shifts

If the end time is earlier on the clock than the start time, the calculator treats it as the following day. 10:00 PM to 6:30 AM is 8 hours 30 minutes. If start and end are identical the result is zero rather than 24 hours.

Common shift lengths

ShiftOn the clockWith 30-min breakWith 1-hour break
8:00 AM – 4:00 PM8h7h 30m (7.50)7h (7.00)
8:00 AM – 4:30 PM8h 30m8h (8.00)7h 30m (7.50)
9:00 AM – 5:00 PM8h7h 30m (7.50)7h (7.00)
9:00 AM – 5:30 PM8h 30m8h (8.00)7h 30m (7.50)
7:00 AM – 7:00 PM12h11h 30m (11.50)11h (11.00)
10:00 PM – 6:00 AM8h7h 30m (7.50)7h (7.00)

Need a whole week at once? The time card calculator totals up to seven days with overtime and pay.

Frequently asked questions

How many hours is 9 AM to 5 PM?

9:00 AM to 5:00 PM is 8 hours. With a 30-minute unpaid lunch it is 7 hours 30 minutes, or 7.5 decimal hours.

What if the end time is after midnight?

When the end time is earlier on the clock than the start time, the calculator assumes it falls on the next day. 11:00 PM to 7:00 AM is 8 hours.

What are decimal hours?

Decimal hours express minutes as a fraction of an hour: 30 minutes is 0.5 hours and 45 minutes is 0.75 hours. Payroll systems multiply decimal hours by the hourly rate, so 7 hours 45 minutes is entered as 7.75.