Work out hours and minutes adder instantly with clear inputs, formula shown and shareable results.
Adding durations in hours and minutes needs base-60 carrying: 2:45 plus 3:50 is 395 minutes, which is 6:35 rather than the 5:95 that naive addition suggests. Converting everything to minutes, summing and converting back removes the carrying error entirely.
Total minutes
total = sum of (hours x 60 + minutes)
Formatted result
hours = floor(total / 60), minutes = total mod 60
Because minutes carry at 60, not 100. Adding 45 and 50 gives 95 minutes, which must become one hour and 35 minutes.
The same method extends to any number - convert each to minutes, sum, then convert once at the end.