What this calculator does
The Hours and Minutes Add/Subtract Calculator lets you combine up to five time durations written in hours and minutes. Each row can be added or subtracted, and each can be repeated a chosen number of times. The tool returns the running total in three convenient forms: as hours plus minutes, as a decimal number of hours, and as a single total in minutes. It is pure arithmetic with no calendar or clock-of-day involved, so it works the same everywhere.
How to use it
Each row reads as: [Add or Subtract] ( Hours, Minutes ) × Times. Choose Add to count the duration toward the total or Subtract to remove it. Enter the duration as whole hours and minutes, then set Times to how many times that duration occurs. A row contributes nothing when Times is 0, or when both Hours and Minutes are 0, so you can leave unused rows blank. Keep your entries as non-negative whole numbers; the Operation dropdown supplies the sign, so you never need to type a minus sign yourself.
The formula explained
Every row is converted to signed minutes with \( \text{sign} \times (\text{hours} \times 60 + \text{minutes}) \times \text{times} \). The five rows are summed into a single total in minutes. That total becomes the "= minutes" figure directly, and dividing by 60 gives the decimal "= hours" figure. For the hours-and-minutes split, the calculator works on the absolute value: the whole hours are the floor of minutes divided by 60, and the leftover minutes are the remainder. The original sign is then re-applied, so a total of -90 minutes displays as -1 hour and -30 minutes.
$$\text{Total Minutes} = \sum_{i=1}^{5} \text{Op}_i \times \left( 60 \times \text{Hours}_i + \text{Minutes}_i \right) \times \text{Times}_i$$$$\begin{gathered} T = \sum_{i=1}^{5} \text{Op}_i \times \left( 60 \times \text{Hours}_i + \text{Minutes}_i \right) \times \text{Times}_i \\[1.5em] \text{where}\quad \left\{ \begin{aligned} \text{Hours} &= \operatorname{sign}(T)\left\lfloor \tfrac{|T|}{60} \right\rfloor \\ \text{Minutes} &= \operatorname{sign}(T)\,( |T| \bmod 60 ) \\ \text{Decimal Hours} &= \dfrac{T}{60} \end{aligned} \right. \end{gathered}$$
Worked example
Row 1: Add 2h 45m × 2 = +330 minutes. Row 2: Add 1h 15m × 1 = +75 minutes. Other rows have Times 0 and are ignored. Total = 405 minutes. That is 6 hours 45 minutes, equal to 6.75 hours, equal to 405 minutes.
$$\text{Total} = (60 \times 2 + 45) \times 2 + (60 \times 1 + 15) \times 1 = 330 + 75 = 405 \text{ minutes}$$
FAQ
Can the result be negative? Yes. If your subtractions exceed your additions, the total is negative, and the sign is preserved in all three output forms.
What if a field is empty? Blank numeric fields are treated as 0, and a row with Times 0 or a zero duration adds nothing.
Does it handle seconds? No. This tool covers hours and minutes only; a separate calculator handles hours, minutes, and seconds.