Home › Date & Time

Time Duration Calculator

Find how much time passes between two clock times, or add and subtract hours and minutes. Times past midnight are handled for you.

Duration
—

How to find the time between two times

Convert both times to minutes after midnight, subtract, and convert back. 9:15 a.m. is 555 minutes and 5:45 p.m. is 1,065 minutes, so the difference is 510 minutes, or 8 hours 30 minutes. If the end time is earlier than the start, it's on the next day, so add 24 hours.

Hours and minutes as decimals

TimeDecimal hours
15 min0.25
30 min0.5
45 min0.75
1 h 20 min1.33
7 h 45 min7.75

For a full weekly time card with breaks and overtime, use the hours worked calculator.

Frequently asked questions

How many hours is 9 to 5?

8 hours. With an unpaid 30-minute lunch, it's 7.5 hours of work.

How do I handle a shift that ends after midnight?

Enter the real start and end times. If the end time is earlier, the calculator treats it as the next day.

Last reviewed: November 2026. Results checked against worked examples. How we calculate