Time Duration Calculator
Compute the duration between two clock times, broken into days/hours/minutes/seconds (supports >24h).
Input Data
Results
At a glance:Duration = end − start, unified to seconds then subtracted as absolute value: t = h·3600 + m·60 + s. Output is decomposed into d/h/m/s (auto-carry: 3600s=1h, 60s=1m, 86400s=1d). Cross-midnight is summed directly (no requirement that end > start). Useful for work hours, sleep, travel timing.
Formula
t = h·3600 + m·60 + s.
Δ = |t₂ − t₁|; decomposed into d, h, m, s.
How to Use
- Enter the start and end hours/minutes/seconds.
- The tool gives the duration (d/h/m/s) and total seconds.
Case Studies
9:00 → 17:30
30600s; 8h30m = 0d 8h 30m 0s.
23:00 → 1:00 (cross-midnight)
7200s; 2h0m.
FAQ
Cross-midnight?
Absolute difference; 23:00→1:00 gives 2h, no requirement that end > start.
Over 24h?
Supported (hour field can exceed 23); output includes days.
Negative value?
Absolute value taken; duration is non-negative.
Vs date difference?
This tool only computes h/m/s difference, not calendar years/months/days (see date-difference).
Precision?
Integer seconds.
Applications?
Work-hour stats, sleep hours, exercise timing, shift length.
Related Tools
References
Content review: Calculatorism Lifestyle Team. Results are for reference only; please refer to the relevant authorities for the official figures.