Subtraction Calculator
Enter a starting number (the minuend) and up to three numbers to subtract from it (subtrahends). The calculator returns the difference immediately, with a step-by-step panel that shows the running total after each subtraction, and a visual comparison of the numbers. Negative numbers and decimals are both supported.
What subtraction is and how it works
Subtraction is one of the four basic arithmetic operations. It represents removing a quantity from another, finding the gap between two values, or reversing an addition. The number you start with is called the minuend, the number you remove is the subtrahend, and the answer is the difference. Written as a formula: Minuend - Subtrahend = Difference. When there is more than one subtrahend you subtract them one by one from left to right, and the result of each step becomes the new starting point for the next.
Regrouping (borrowing) explained
When subtracting whole numbers by hand, regrouping (also called borrowing) is needed whenever a digit in the top number (minuend) is smaller than the digit directly below it in the subtrahend. You take 1 from the column immediately to the left, which reduces that column by 1 and increases the current column by 10. For example, to subtract 47 from 83: in the ones column 3 is less than 7, so you regroup by reducing the tens digit from 8 to 7 and treating the ones digit as 13. Then 13 - 7 = 6, and 7 - 4 = 3, giving 36. Cascading regrouping happens when the column to the left also needs to borrow before it can lend.
Subtracting decimals and negative numbers
For decimals, align the decimal points before subtracting column by column, padding shorter numbers with trailing zeros so the columns line up. For example, 12.5 - 3.75 becomes 12.50 - 3.75 = 8.75. Subtracting a negative number is the same as adding its positive counterpart: a - (-b) = a + b. This is because removing a debt is equivalent to receiving a payment. A negative result means the subtrahend exceeded the minuend, which is perfectly valid and common in finance, temperature change, and coordinate geometry.
Common uses of subtraction
Subtraction appears constantly in everyday life. Budgeting uses it to find remaining funds after expenses. Inventory management tracks what is left after fulfilling orders. Navigation finds the distance still to travel. Temperature change is the end temperature minus the start temperature. Elapsed time is the end time minus the start time. Profit is revenue minus cost. In algebra, solving for an unknown often involves subtracting a term from both sides of an equation to isolate the variable.
Key properties of subtraction
| Property | Holds for subtraction? | Example |
|---|---|---|
| Closure (integers) | Yes | 5 - 8 = -3 (still an integer) |
| Commutative (a - b = b - a) | No | 9 - 4 = 5, but 4 - 9 = -5 |
| Associative (a - (b - c) = (a - b) - c) | No | 10 - (4 - 1) = 7, but (10 - 4) - 1 = 5 |
| Identity element (a - 0 = a) | Yes (right only) | 7 - 0 = 7, but 0 - 7 = -7 |
| Inverse (a - a = 0) | Yes | 15 - 15 = 0 |
| Subtracting a negative | Adds instead | 6 - (-3) = 6 + 3 = 9 |
Subtraction does not share all the familiar properties of addition. Understanding these prevents common arithmetic mistakes.
Frequently asked questions
What is the difference between minuend, subtrahend, and difference?
The minuend is the number you start with (the one being reduced). The subtrahend is the number you take away. The difference is the result. In 15 - 6 = 9, the minuend is 15, the subtrahend is 6, and the difference is 9.
Can the result of subtraction be negative?
Yes. If the subtrahend is larger than the minuend, the difference is negative. For example, 3 - 10 = -7. Negative results are common and valid in finance (a deficit), physics (a leftward displacement), and temperature (a drop below zero).
How do I subtract more than two numbers?
Subtract from left to right: start with the minuend, subtract the first subtrahend to get an intermediate result, then subtract the second subtrahend from that result, and so on. This calculator handles up to four numbers (one minuend and three subtrahends) and shows each step.
What does subtracting a negative number do?
Subtracting a negative number is the same as adding its positive equivalent. The two minus signs cancel to give a plus: a - (-b) = a + b. For example, 10 - (-4) = 10 + 4 = 14.
Why is subtraction not commutative?
Commutativity means you can swap the operands and get the same result, as you can with addition (3 + 5 = 5 + 3). Subtraction does not work this way: 9 - 4 = 5, but 4 - 9 = -5. Swapping the minuend and subtrahend flips the sign of the result. Similarly, subtraction is not associative: (10 - 4) - 2 = 4, but 10 - (4 - 2) = 8.
How do I subtract decimals by hand?
Line up the decimal points, then pad the shorter number with trailing zeros so every column has two digits to work with. Subtract column by column from right to left, regrouping when the top digit is smaller. For example, 8.3 - 2.75: write 8.30 - 2.75, subtract to get 5.55.