Hours Between Two Times

Find the hours and minutes between a start time and an end time, including shifts that cross midnight.

Time between 0:00 0.00 h

Time duration

Type 9, 9:30, 930 or 9.5. 24-hour times like 1730 work too.

Time between
0:00
0.00 decimal hours
Elapsed0:00
Unpaid break− 0:00
In minutes0

Share link puts your entries in the link after the #. Nothing is stored on a server.

How we calculate: end − start, plus 24 hours when the end is earlier than the start, minus the unpaid break. Last reviewed 16 October 2026

How to calculate hours between two times

  1. Enter the start time and choose AM or PM.
  2. Enter the end time. If it is earlier than the start, the calculator assumes the next day.
  3. Enter any unpaid break in minutes. The result shows hours:minutes, decimal hours and total minutes.
Formula
Duration = End − Start (+ 24 h if End is earlier than Start) − Break

Worked example

A night shift from 10:00 PM to 6:30 AM. The end is earlier than the start, so add 24 hours: 6:30 + 24:00 − 22:00 = 8:30. Take off a 30-minute unpaid break and the shift is 8:00, or 8.00 hours.

Frequently asked questions

What happens when the shift crosses midnight?

When the end time is earlier than the start time, 24 hours are added and a note appears under the end time. Nothing else changes.

What is the difference between 8:30 and 8.30?

8:30 is 8 hours 30 minutes. 8.30 is a decimal, 8 hours and 18 minutes. The calculator shows both so you can copy the one your payroll expects.

Can I enter 24-hour times?

Yes. 1730 or 17:30 is read as 5:30 PM, and the AM/PM toggle is ignored for hours above 12.

How do I get the result in minutes?

Multiply the hours by 60 and add the minutes. 8:00 is 480 minutes; it is shown in the result box.

Does this count days between dates?

No, it works with clock times only. For dates, use the Business Days Calculator .