Understanding the Hours and Minutes Calculator
This tool adds or subtracts two durations that are each expressed as hours and minutes — for example, combining 5 hours 30 minutes with 2 hours 45 minutes, or finding the difference between a start and end duration. Because a clock carries over at 60 (not 10), hours-and-minutes arithmetic cannot be done with ordinary decimal addition — 5:30 plus 2:45 is not "7:75," it is 8:15.
The formula
The standard method converts everything to a single unit — minutes — does the arithmetic there, then converts back:
- Step 1 — convert to minutes: total minutes = hours × 60 + minutes, for each time separately.
- Step 2 — combine: add the two totals (for addition) or subtract Time 2's total from Time 1's total (for subtraction).
- Step 3 — convert back: resulting hours = floor(total minutes ÷ 60); resulting minutes = total minutes mod 60 (the remainder after removing whole hours).
For example, adding 5:30 and 2:45: 5×60+30 = 330 minutes, plus 2×60+45 = 165 minutes, gives 495 minutes total. Dividing by 60 gives 8 hours with a remainder of 15, so the result is 8:15 — not 7:75.
Reading a negative result
Subtracting a larger time from a smaller one produces a negative total. For example, 2:00 minus 3:30 is -1:30, meaning Time 2 exceeds Time 1 by 1 hour 30 minutes. The calculator reports the magnitude with a leading minus sign so the direction of the difference is clear.
Decimal hours vs. minutes
Decimal hours (dividing total minutes by 60, e.g., 5:30 = 5.5 hours) are useful for payroll, billing, and spreadsheets that expect a single decimal number rather than a colon-separated H:MM value. Total minutes is useful whenever the smallest common unit is more convenient, such as scheduling or cooking-time totals.