Date & time · Duration
Time Duration Calculator
Calculate the duration between two clock times or convert hours, minutes, and seconds to total hours and minutes. Free time duration calculator.
Enter values above to see the result.
How it works
Calculates the duration between two clock times, or converts a given hours/minutes/seconds combination into its total equivalents. Useful for time-tracking, scheduling, and sports timing.
Step by step
- 1Choose 'between two clock times' to find elapsed time between a start and end.
- 2Or choose 'add hours/minutes/seconds' to convert a raw duration.
- 3Enter times in HH:MM or HH:MM:SS format (24-hour clock).
- 4If the end time is before the start time, the tool assumes the period crosses midnight.
Examples
Working hours 09:00 to 17:30
17:30 − 09:00 = 8 hours 30 minutes.
Inputs
- mode:
- between
- start_time:
- 09:00
- end_time:
- 17:30
Result
- duration_hms:
- 8h 30m 0s
- total_hours:
- 8.5 hours
- total_minutes:
- 510 minutes
Convert 2h 45m 30s
2×3600 + 45×60 + 30 = 9,930 seconds = 165.5 minutes.
Inputs
- mode:
- add
- hours:
- 2
- minutes:
- 45
- seconds:
- 30
Result
- duration_hms:
- 2h 45m 30s
- total_minutes:
- 165.5 minutes
Frequently asked questions
What if the end time is before the start time?▾
The calculator assumes the period spans midnight. For example, 23:00 to 01:00 is calculated as 2 hours, not −22 hours.