Time Duration Calculator — Free Online Duration Between Two Times
Calculate the exact duration between any two times with second-level precision.
Start Time
End Time
Duration
Total Minutes
510
Total Seconds
30,600
Decimal Hours
8.50
Hours : Minutes
8:30
Time Range
09:00:00 to 17:30:00
Time Unit Conversions Reference Table
| Time Unit | In Seconds | In Minutes | In Hours |
|---|---|---|---|
| 1 Second | 1 | 0.0167 | 0.000278 |
| 1 Minute | 60 | 1 | 0.0167 |
| 1 Hour | 3,600 | 60 | 1 |
| Quarter Day (6h) | 21,600 | 360 | 6 |
| Half Day (12h) | 43,200 | 720 | 12 |
| Full Day (24h) | 86,400 | 1,440 | 24 |
Related Calculators
Time Calculator
Add or subtract hours, minutes, and seconds from any time with day overflow detection.
Hours Calculator
Calculate the number of hours and minutes between two times with midnight crossing support.
Time Difference Calculator
Calculate the difference between two times with direction indicator and midnight crossing.
Time Card Calculator
Track weekly work hours with daily entries, break deductions, and overtime calculations.
Days Between Dates
Calculate the exact number of days, weeks, and months between any two calendar dates.
Percentage Calculator
Calculate percentages, percentage changes, and percentage differences with five modes.
About this calculator
Duration Calculation Formula
Total Seconds = |End Total - Start Total| where Total = (H x 3600) + (M x 60) + S Decimal Hours = Total Seconds / 3600 Variables Explained
- H, M, S: Hours, minutes, and seconds components of each time input. Hours range from 0 to 23, minutes and seconds from 0 to 59.
- Total: Each time converted to total seconds from midnight. For 09:15:30, this is (9 x 3,600) + (15 x 60) + 30 = 32,400 + 900 + 30 = 33,330 seconds.
- | | (Absolute value): Ensures the duration is always positive regardless of input order. The difference between 09:00 and 17:00 is the same as between 17:00 and 09:00.
- 3,600: The number of seconds in one hour. Used to convert between total seconds and decimal hours.
- Duration Hours: floor(Total Seconds / 3,600) gives whole hours.
- Duration Minutes: floor((Total Seconds mod 3,600) / 60) gives remaining minutes.
- Duration Seconds: Total Seconds mod 60 gives remaining seconds.
Step-by-Step Example
Calculate duration from 08:15:30 to 14:45:15:
- Start total: (8 x 3,600) + (15 x 60) + 30 = 28,800 + 900 + 30 = 29,730 seconds
- End total: (14 x 3,600) + (45 x 60) + 15 = 50,400 + 2,700 + 15 = 53,115 seconds
- Difference: |53,115 - 29,730| = 23,385 seconds
- Hours: floor(23,385 / 3,600) = 6 hours (21,600 seconds used)
- Remaining: 23,385 - 21,600 = 1,785 seconds
- Minutes: floor(1,785 / 60) = 29 minutes (1,740 seconds used)
- Seconds: 1,785 - 1,740 = 45 seconds
- Decimal hours: 23,385 / 3,600 = 6.50 hours
- Result: 6h 29m 45s (6.50 decimal hours, 23,385 total seconds)
Sources
- ISO 8601 Date and Time Standard — International Organization for Standardization
- National Institute of Standards and Technology (NIST) — Time Measurement Standards
- timeanddate.com — Duration Calculator and Time Conversion Reference
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026