Subtraction Calculator
Welcome to Omni's subtraction calculator, where we'll tackle just what the name suggests: subtraction problems. In essence, the operation is the inverse of addition, but the properties of subtraction are quite different. We'll begin with some theory: the meaning of a difference in math, as well as the formal subtraction math definition. Obviously, we'll support it all with examples, including instructions on how to subtract numbers in some special cases of the minuend and subtrahend: decimals, negative numbers, etc.
Subtraction definition in math; the minuend and subtrahend
Subtraction is the opposite of addition. To be precise, if we have a sum:
a + b = c
,then subtraction turns it around into:
c  a = b
.In other words, instead of adding things to a pile, we'll steal some away. The formal yet basic subtraction math definition would be the following:
💡 Subtraction is the arithmetic operation of taking several objects (the subtrahend) away from a pile of the same objects (the minuend). We represent it by the minus sign  and call the result the difference. 
As a formula, we can write the terms mentioned above as:
Minuend  Subtrahend = Difference
,(observe that it's also at the top of Omni's subtraction calculator). In other words, the meaning of a difference in math is "whatever we have left after taking the subtrahend away from the minuend."
Next, let's take a look at the properties of subtraction. The thing may be similar to addition, but the rules that govern it are quite different.
Properties of subtraction
Recall that addition (just like multiplication) is commutative. In other words, the a
and b
can exchange places in the first formula from the above section, and the result will stay the same.
On the other hand, subtraction (just like division) is not commutative. Therefore, the minuend is always the first of the numbers, while the second is the subtrahend (that's also why they have different names). For instance, c  a
is something different from a  c
.
However, if you've studied general integers, you know that negative numbers exist. And if we know that much, we can use it to explain the connection between addition and subtraction even better.
At the top of the above section, we said that subtraction is the opposite of addition. Formally, this means that subtracting a value is the same as adding its opposite, i.e., the number with the opposite sign. For instance:
4  3 = 4 + (3) = 1
; and9  (20) = 9 + 20 = 29
.And once we have a sum, we can use tricks such as commutativity or the distributive property. However, we have to be careful to keep track of the signs.
We've seen the subtraction math definition, the properties and even began to see actual numbers. It's high time we finally explain how to subtract in practice.
Subtracting integers, decimals, negative numbers
Subtraction problems (the basic ones, at least) ask how much we'll have left once we give away, sell, eat, etc., some of what we had initially. For instance, if we have 5
donuts and decide to eat 2
for lunch, we'll end up with 5  2 = 3
left and high blood sugar.
Still, there's more to math than just that and more to Omni's subtraction calculator than just a subtracting integers calculator.
For decimals, the operation works similarly. In essence, it all boils down to considering integers, but we have to keep track of the decimal dot. To make it more precise, we need the minuend and subtrahend to have the same number of digits after (i.e., to the right of) the dot. If they don't, we recall that decimals are fractions, and therefore, the same simplifying rules apply. In our case, this means that we can write as many zeros at the end of a decimal as we want:
2.3 = 2.300 = 2.30000000000
.So, when subtracting decimals, we:
 Make sure they have the same number of digits after the dot;
 Subtract them as if there was no dot (i.e., as integers); and
 Place the dot in the result as many digits from the right, as it was in the minuend and subtrahend.
For example:
2.3  1.12 = 2.30  1.12 = 1.18
; and3.715  2 = 3.715  2.000 = 1.715
.Lastly, we'll cover negative numbers. In fact, we've already touched upon the topic at the end of the above section, but let's describe it all indepth once more.
In essence, subtracting a positive integer means moving that many places to the left on the number line. For instance, 3  2
means going two steps from 3
to the left and arriving at 1
. The same works for subtracting a positive number from a negative one. For example:
4  3 = 7
; and19.1  5.13 = 19.10  5.13 = 24.23
.On the other hand, subtracting negative numbers works a bit differently. The basic rule here is: two minuses give a plus. More formally, following the information at the end of the above section, subtracting a number (positive or negative) is the same as adding its opposite. Therefore:

3  (6) = 3 + 6 = 9
; 
11  (12) = 11 + 12 = 1
; and 
37.22  (9.7) = 37.22 + 9.70 = 27.52
.
Note how the last example combines the rules for subtracting negative numbers with those for subtracting decimals. Obviously, our tool serves as more than just a subtracting integers calculator, so it can deal with all such fancy subtraction problems.
As the final touch, let us provide you with a nice stepbystep instruction on how to use the subtraction calculator.
Using the subtraction calculator
At the top of our tool, you can see the subtraction formula with the names of its consecutive parts, which we use in the subtraction calculator below. For instance, if you'd like to see what is 15
minus 6
, you need to:
 Input
15
into the "Minuend" variable field.  Input
6
into the "Subtrahend" variable field.  Read off the result from the "Difference" field.
 Enjoy the solution and tell all your friends about it.
Remember that subtraction is just one of the four basic arithmetic operations. And, believe it or not, mathematics doesn't end there! Make sure to check out other Omni tools in this category to see what other exciting calculators you can find.
FAQ
How do I subtract decimals?
To subtract decimals, you need to:
 Check if they have the same number of digits after the dot.
 If they don't, add zeros to the short one accordingly.
 Subtract the numbers as if there was no dot.
 Place the dot as many digits from the right as it was initially.
 Enjoy your result of subtracting decimals.
How do I subtract integers?
To subtract integers, you need to:
 Write the subtrahend under the minuend.
 Subtract the leftmost bottom digit from the top one.
 If the top one is too small:
 Subtract
1
from the next top one,  Add
10
to the "too small" digit, and  Subtract the bottom digit as in step 2.
 Subtract
 Repeat for consecutive digits.
 Enjoy your result of subtracting integers.
How do I subtract negative numbers?
To subtract negative numbers, say, a
from b
, you need to:
 Look for
a
on the negative and positive number line.  Move
b
positions froma
: To the right, if
b
is positive; or  To the left, if
b
is negative.
 To the right, if
 The point you end up in is the difference.
 Enjoy your result of subtracting negative numbers.
Is difference subtraction?
Yes. By definition, the result of subtracting two numbers is called their difference.
Is subtraction commutative?
No. As opposed to, for example, addition, subtraction is not a commutative operation. Indeed, for instance, 10  3 = 7
but 3  10 = 7
.
How do I subtract a negative number from a positive number?
To subtract a negative number from a positive number, you need to:
 Switch the negative number to its positive equivalent.
 Change subtraction into addition (e.g.,
10  (3) = 10 + 3
).  Add the two positive numbers.
 Enjoy your result of subtracting the numbers.
Is subtraction associative?
No. As opposed to, for example, addition, subtraction is not an associative operation. Indeed, for instance, 10  (3  1) = 10  2 = 8
, while (10  3)  1 = 7  1 = 6
.
Are natural numbers closed under subtraction?
No. By definition, natural numbers are positive integers (i.e., whole numbers) and, for instance, 2  6 = 4
, which is a negative integer but not a natural number.
How are addition and subtraction related?
Addition and subtraction are inverse operations. In other words, whenever we have a sum a + b = c
, the numbers must satisfy similar subtraction relations: c  a = b
and c  b = a
.
To phrase it differently, subtraction is the same as adding the opposite number. Therefore, instead of subtracting a value, we can add its opposite (i.e., the number with the opposite sign). For example, 2  6 = 2 + (6) = 4
or 10  (3) = 10 + 3 = 13
.