Skip to content
QuickUtila

Time Duration Calculator

Find the time between two clock times. Enter a start and end time to get the duration in hours and minutes, in decimal hours for timesheets, and in total minutes.

Duration
8 h 30 min

From 09:00 to 17:30 is 8 hours, 30 minutes.

Formula17:30 − 09:00 = 8 h 30 min
Decimal hours
8.5
Total minutes
510
Total seconds
30,600

If the end time is earlier than the start time, it is treated as the next day (for example, a night shift from 22:00 to 06:00 is 8 hours).

Calculated in your browser. If the end time is earlier than the start time, it is treated as the next day.

How Time Duration Is Calculated

Both times are converted to minutes after midnight and the start is subtracted from the end. If the end time is earlier than the start time, the period is assumed to cross midnight, so 24 hours are added before subtracting.

Formula
Duration = End time − Start time (+ 24 hours if the end is earlier)
Example: a night shift from 22:00 to 06:30Overnight
Start
22:00 = 1,320 min
End (next day)
06:30 + 24 h = 1,830 min
Duration
8 h 30 min

Converting Minutes to Decimal Hours

Timesheets and payroll systems often need hours as a decimal. Divide the minutes by 60 and add them to the whole hours: 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours.

MinutesDecimal hours
15 minutes0.25
20 minutes0.3333
30 minutes0.5
45 minutes0.75

When Is a Time Duration Calculator Useful?

  • Hours worked and timesheets
  • Night shifts and sleep time
  • Flight and travel times
  • Meeting and event lengths
  • Workout durations
  • Scheduling and planning

Frequently Asked Questions

Subtract the start time from the end time. From 09:15 to 17:45 is 8 hours 30 minutes, or 8.5 decimal hours.

Learn More