Time duration

Hours Between Two Times

Enter a start and finish time to get the hours and minutes in between, plus decimal hours for a timesheet. Night shifts are fine.

Duration
8 hours 30 minutes

From 9:00 AM to 5:30 PM.

Getting from clock times to a number you can use

Most of the time the question behind “how many hours between 9 and 5:30?” is a practical one: filling in a timesheet, checking a pay slip, or working out whether a shift breaks a weekly limit. So besides the plain hours-and-minutes answer you get three other versions of the same figure:

  • Decimal hours — what payroll and invoicing software usually wants. 8 hours 30 minutes is 8.5.
  • Hours:minutes — the 8:30 style many paper timesheets use.
  • Total minutes — useful for billing in small increments, or adding several spans together.

Worked example

A nurse works from 7:00 PM to 7:30 AM with a 30-minute unpaid break. The end time is earlier than the start, so the shift crosses midnight: 7:00 PM to midnight is 5 hours, midnight to 7:30 AM is 7 hours 30 minutes, and together that’s 12 hours 30 minutes. Take off the break and the paid time is 12 hours exactly, or 12.00 decimal hours.

Overnight shifts and the clock change

With times alone there’s no way to know which night you mean, so we treat the span as clock time: an end time earlier than the start simply means “the next day”. That’s right on every night of the year except two.

On the night the clocks go back, an overnight shift contains an extra hour; on the night they go forward, it loses one. If that matters — and for hourly pay it does — tick Different dates and enter them. We then measure the real elapsed time in your time zone and point out when a change falls inside the span, showing both the clock-face figure and the time that actually passed.

Quick conversions: minutes to decimal hours

MinutesDecimalMinutesDecimal
5 min0.0810 min0.17
15 min0.2520 min0.33
25 min0.4230 min0.50
35 min0.5840 min0.67
45 min0.7550 min0.83
55 min0.9260 min1.00

Questions people ask

How do I calculate hours between two times by hand?

Convert both times to minutes after midnight, subtract, then divide by 60. 9:15 AM is 555 minutes and 5:45 PM is 1,065, so the gap is 510 minutes — 8 hours 30 minutes, or 8.5 hours. If the end time is smaller than the start, the shift ran past midnight: add 1,440 (a day’s worth of minutes) before you subtract.

How do I turn minutes into decimal hours?

Divide the minutes by 60. 15 minutes is 0.25 hours, 20 is 0.33, 30 is 0.5 and 45 is 0.75. So 7 hours 45 minutes goes on a timesheet as 7.75. A common slip is writing 7:45 as 7.45 — that’s actually 7 hours and 27 minutes.

What happens if the times cross midnight?

If you only enter times and the end is earlier than the start, we assume it finishes the next day. 10:00 PM to 6:00 AM comes out as 8 hours. For anything longer than a day, switch on Different dates and enter both.

Does daylight saving time change the answer?

It can, by an hour. When the clocks go back, a 10 PM to 6 AM shift actually lasts nine hours; when they go forward, seven. If you enter dates, we work out the real elapsed time in your time zone and tell you when a clock change falls inside the span.

Can I subtract a lunch break?

Yes — put the break length in minutes in the Unpaid break box and it’s taken off every figure, including the decimal hours.