Formula
Seconds = h × 3600 + m × 60 + s for each entryTotal = Σ(+entries) − Σ(−entries)h = ⌊Total ÷ 3600⌋, m = ⌊remainder ÷ 60⌋, s = remainder
How it works
Time is not base 10, so adding 1:30 and 2:45 as decimals gives the wrong answer. Each row is converted to seconds, the signed seconds are added, and the total is converted back so that every 60 seconds becomes a minute and every 60 minutes becomes an hour.
You can type values that are not normalized, such as 90 minutes or 75 seconds; they are carried the same way. Hours are never wrapped at 24, which is what you want for timesheets, video lengths, and race splits.
Worked examples
Two durations minus a pause
1:30:45 + 2:45:20 = 4:16:05; subtracting 20 minutes leaves 3:56:05.
- Time amounts
- 3 rows
- Total (h:mm:ss)
- 3:56:05
Adding lap times
Three laps with fractional seconds add to 23 minutes 42.8 seconds.
- Time amounts
- 3 rows
- Total (h:mm:ss)
- 0:23:42.8
Adding time by hand
- Add the seconds column, then the minutes, then the hours.
- If the seconds reach 60 or more, carry 1 minute for every 60 seconds.
- If the minutes reach 60 or more, carry 1 hour for every 60 minutes.
- When subtracting, borrow 60 from the next larger unit instead of 10.
Clock time vs. elapsed time
This tool adds amounts of time (durations). To find the time between two clock readings, such as 9:15 AM to 5:40 PM, use the time duration calculator; to total a week of shifts with breaks, use the time card calculator.
Related calculators
- Time Card CalculatorEnter in and out times for each shift, subtract unpaid breaks, and get the week’s total in hours:minutes and decimal hours for payroll.
- Time Duration CalculatorFind the hours and minutes between two times, including overnight shifts, minus any break.
- Overtime Pay CalculatorSplit a week’s hours into regular and overtime, apply time and a half (or any multiplier), and see gross pay line by line.
- Time ConverterConvert milliseconds, seconds, minutes, hours, days, weeks, months, and years.
Last reviewed: