Time Duration Calculator

Time Difference

Hours
:
Min
:
Sec
Hours
:
Min
:
Sec
8:30:00
8 hours, 30 minutes

Date & Time Difference

Date
Hr
:
Min
Date
Hr
:
Min
--
Select two dates

How to use the time duration calculator

This calculator finds the time between two times or two dates. Enter a start and an end, and the duration appears instantly in hours, minutes and seconds. Tap Now to fill in the current time.

Time between two times

Use the first calculator for durations within a day, such as a work shift, a meeting, a flight or a run. It works on a 12-hour clock with AM and PM, and if the end time is earlier than the start, it counts through midnight into the next day.

Start → endDurationDecimal hours
9:00 AM → 5:00 PM8 h 0 min8.00
9:00 AM → 5:30 PM8 h 30 min8.50
8:15 AM → 4:45 PM8 h 30 min8.50
9:45 AM → 5:15 PM7 h 30 min7.50
7:00 AM → 3:20 PM8 h 20 min8.33
12:00 PM → 6:45 PM6 h 45 min6.75
10:00 PM → 6:00 AM (overnight)8 h 0 min8.00
11:30 PM → 7:15 AM (overnight)7 h 45 min7.75

How to calculate a time duration by hand

  1. Convert to the 24-hour clock. 5:15 PM becomes 17:15. Add 12 to any PM hour except 12 PM.
  2. Subtract the minutes. If the end minutes are smaller, borrow an hour: 17:15 − 9:45 becomes 16:75 − 9:45.
  3. Subtract the hours. 16:75 − 9:45 = 7 hours 30 minutes.
  4. Crossing midnight? Add 24 hours to the end time first: 10 PM to 6 AM is (6 + 24) − 22 = 8 hours.

Time between two dates

Use the second calculator for longer spans, such as a project, a trip, a countdown or the time since something happened. It shows the result in days, hours and minutes, and you can untick Include time to count whole days only. It's useful for:

Frequently asked questions

How do I calculate the time between two times?

Enter a start and end time in the Time Difference calculator and it shows the duration in hours, minutes and seconds. By hand, convert both times to the 24-hour clock, subtract the start from the end, and borrow 60 minutes from the hours if the minutes go negative. For example, 9:45 AM to 5:15 PM is 17:15 − 9:45 = 7 hours 30 minutes.

What if the end time is after midnight?

The calculator handles it automatically. If the end time is earlier than the start time, it assumes the end is on the next day, so 10:00 PM to 6:00 AM is 8 hours. For spans longer than a day, use the Date & Time Difference calculator.

How do I convert a duration to decimal hours?

Divide the minutes by 60 and add them to the hours: 7 hours 30 minutes is 7.5 hours, and 8 hours 45 minutes is 8.75 hours. Payroll and timesheets usually need decimal hours. The time to decimal converter does it for you.

How do I subtract a lunch break?

Work out the full shift first, then subtract the break. 8:00 AM to 4:30 PM is 8 hours 30 minutes; minus a 30-minute lunch leaves 8 hours. For a whole week of shifts with breaks, use the time card calculator.

How do I find the time between two dates?

Use the Date & Time Difference calculator. Leave Include time ticked to count to the minute, or untick it for whole days. For a full breakdown in years, months, weeks and weekdays, use the date difference calculator.

How many hours are there between 9 AM and 5 PM?

8 hours. A typical 9-to-5 workday with a one-hour lunch is 7 hours of work.

Time Calculator iOS App Icon

Time Calculator - Work Hours

An all-in-one toolkit for time calculations. Add or subtract time, calculate work hours, convert between formats, and more. Perfect for professionals and everyday use.

Time calculator Work hours tracker Date calculator Time converter
Download on the App Store
Time Calculator Screenshot 1 Time Calculator Screenshot 2 Time Calculator Screenshot 3 Time Calculator Screenshot 4 Time Calculator Screenshot 5

Contact Us