Time & date
Duration calculator
Add or subtract two lengths of time with hours, minutes and seconds.
Reviewed December 1, 2026Your results
Enter your numbers and select Calculate.
The formula
Total seconds = (hours × 3,600) + (minutes × 60) + seconds. Add or subtract totals, then convert back.
Worked example
02:30:00 + 00:45:00 = 03:15:00.
What to keep in mind
Inputs may be signed. Hours can exceed 24. Each minute and second component uses two digits from 00 to 59.