Time Duration Calculator

Calculate the duration between two times in hours and minutes. Add or subtract time from any start time.

Calculate Time Duration

8h 30m

Duration

510

Total minutes

8.50

Decimal hours

Work Hours Reference
Standard workday8 hours (9:00 AM - 5:00 PM)
Standard work week40 hours (5 days × 8 hours)
Part-time (half day)4 hours
Overtime threshold (US)Over 40 hours/week
Work hours in a year2,080 hours (52 weeks × 40 hours)
Work hours in a month~173 hours (2,080 / 12)

Add or Subtract Time

h
m

Result

11:30

09:00 plus 2h 30m

How to Use the Time Duration Calculator

  1. Calculate duration: Enter a start time and end time using the time pickers. The result shows hours and minutes, total minutes, and decimal hours. If your shift crosses midnight (for example, 10:00 PM to 6:00 AM), check the overnight toggle.
  2. Add or subtract time: Enter a starting time, choose whether to add or subtract, and enter the hours and minutes. This is useful for finding out what time a meeting ends, when to take a break, or when something will be ready.

How Time Duration Is Calculated

Duration is calculated by converting both times to total minutes and finding the difference:

Start time in minutes = start hours × 60 + start minutes
End time in minutes   = end hours × 60 + end minutes
Duration in minutes   = end - start

For overnight shifts:
Duration = (end + 24×60) - start  (when end < start)

Example: Start 9:00 AM, End 5:30 PM:

Start = 9 × 60 + 0  = 540 minutes
End   = 17 × 60 + 30 = 1050 minutes
Duration = 1050 - 540 = 510 minutes = 8h 30m

Decimal hours (used in payroll) = total minutes / 60:

510 / 60 = 8.5 decimal hours

Common decimal conversions: 15 min = 0.25 hr, 30 min = 0.5 hr, 45 min = 0.75 hr.

Frequently Asked Questions

Subtract the start time from the end time. For 9:00 AM to 5:30 PM: from 9:00 to 17:30 is 8 hours and 30 minutes, or 8.5 hours in decimal. The time duration calculator above handles this instantly. For overnight shifts (e.g., 11 PM to 7 AM), use the overnight toggle to add 24 hours to the end time before subtracting.

Related Calculators