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.

Plain arithmetic: this calculator uses no legal rates. How we calculate

Between two times
Duration
–
Decimal hours
–

Between two dates and times
Duration
–
Decimal hours
–

Your numbers stay on your device: this browser keeps them and never sends them to us. Privacy

Quick answers

Tap a question to open it in the calculator.

QuestionAnswer
8:30 AM to 5:30 PM9 h (9.00 hours)
10:15 PM to 6:00 AM7 h 45 min (7.75 hours)
10:40 AM to 11:15 AM35 min (0.58 hours)
8:45 AM to 10:10 AM1 h 25 min (1.42 hours)

Hours between two times: common shift spans

An end before the start crosses midnight. Lunch columns assume a 30-minute unpaid break.

Hours between two times: common shift spans
Start → endHours:minutesDecimal hoursMinus 30-minute unpaid lunch (H:MM)After lunch (decimal hours)
6:00 AM → 2:00 PM8:008.007:307.50
7:00 AM → 3:00 PM8:008.007:307.50
7:00 AM → 3:30 PM8:308.508:008.00
8:00 AM → 4:00 PM8:008.007:307.50
8:00 AM → 4:30 PM8:308.508:008.00
8:00 AM → 5:00 PM9:009.008:308.50
8:30 AM → 5:00 PM8:308.508:008.00
9:00 AM → 5:00 PM8:008.007:307.50
9:00 AM → 5:30 PM8:308.508:008.00
9:00 AM → 6:00 PM9:009.008:308.50
10:00 AM → 6:00 PM8:008.007:307.50
11:00 AM → 7:00 PM8:008.007:307.50
12:00 PM → 8:00 PM8:008.007:307.50
2:00 PM → 10:00 PM8:008.007:307.50
3:00 PM → 11:00 PM8:008.007:307.50
10:00 PM → 6:00 AM8:008.007:307.50
11:00 PM → 7:00 AM8:008.007:307.50
7:00 PM → 7:00 AM12:0012.0011:3011.50
7:00 AM → 7:00 PM12:0012.0011:3011.50
11:30 AM → 1:00 PM1:301.501:001.00
8:30 AM → 5:30 PM9:009.008:308.50
10:15 PM → 6:00 AM7:457.757:157.25
10:40 AM → 11:15 AM0:350.580:050.08
8:45 AM → 10:10 AM1:251.420:550.92

What time is N hours from now? Use the hours-from-now calculator.

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

All tools

Cite this calculator

PaycheckHours, “Time Duration Calculator”, https://paycheckhours.com/time-duration-calculator/, accessed –.