Time Duration Calculator

Subtract the start time from the end time. If the end is earlier than the start, the time passes midnight, so add 24 hours: 10:00 PM to 6:30 AM is 8 hours 30 minutes.

Between two times
Duration
–
Decimal hours
–

Between two dates and times
Duration
–
Decimal hours
–

Your entries stay in this browser. Nothing is sent to our servers.

How it works

Duration = end − start − break. When the end time is earlier than the start time, the period passes midnight and 24 hours are added. Between dates, every full day adds 24 hours. Decimal hours = minutes ÷ 60.

Worked examples

  1. 9:00 AM to 5:30 PM = 8 hours 30 minutes (8.5 hours). With a 30-minute unpaid break, 8 hours.
  2. 10:00 PM to 6:30 AM passes midnight: 6:30 − 22:00 + 24:00 = 8 hours 30 minutes.
  3. Friday 8:00 AM to Sunday 8:00 PM = 2 days 12 hours = 60 hours.

Common questions

How many hours is 8 AM to 5 PM?

9 hours. With a 1-hour unpaid lunch, 8 hours worked.

How do I count a shift that ends after midnight?

Enter the start and end times as they are. When the end is earlier than the start, the calculator counts it as the next day.

What if the time is longer than 24 hours?

Use the dates and times section. It counts across any number of days.

Does it allow for daylight saving time?

No. On the nights the clocks change, a shift can be one hour longer or shorter than the clock times suggest.

Related tools