Subtraction Calculator

Created by Maciej Kowalski, PhD candidate
Reviewed by Steven Wooding
Last updated: Feb 02, 2023

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:


then subtraction turns it around into:


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\scriptsize \mathrm{Minuend}-\mathrm{Subtrahend}=\mathrm{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.

πŸ™‹ We talked about addition: check our addition calculator to learn everything about the most essential mathematical operation!

Properties of subtraction

Recall that addition (just like multiplication, as you can learn at our multiplication calculator) is commutative. In other words, the aa and bb 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βˆ’ac - a` is something different from aβˆ’ca - c.

Switching places of the numbers is one thing, what about switching the place of the operator? Try it with our Polish notation converter!

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:




And once we have a sum, we can use tricks such as commutativity or the distributive property (if you don't remember the latter, visit Omni's distributive property calculator for a refresh). 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 55 donuts and decide to eat 22 for lunch, we'll end up with 5βˆ’2=35 - 2 = 3 left and too much sugar in our blood.

Difference meaning in math: on donuts.

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 simplifying rules we met at the simplify fractions calculator apply. In our case, this means that we can write as many zeros at the end of a decimal as we want:


So, when subtracting decimals, we:

  1. Make sure they have the same number of digits after the dot;
  2. Subtract them as if there was no dot (i.e., as integers); and
  3. 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.182.3 - 1.12 = 2.30 - 1.12 = 1.18


.715βˆ’2=3.715βˆ’2.000=1.715.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 in-depth once more.

In essence, subtracting a positive integer means moving that many places to the left on the number line. For instance, 3βˆ’23 - 2 means going two steps from 33 to the left and arriving at 11. The same works for subtracting a positive number from a negative one. For example:

βˆ’4βˆ’3=βˆ’7-4 - 3 = -7


βˆ’19.1βˆ’5.13=βˆ’19.10βˆ’5.13=βˆ’24.23-19.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=93 - (-6) = 3 + 6 = 9


βˆ’11βˆ’(βˆ’12)=βˆ’11+12=1-11 - (-12) = -11 + 12 = 1


βˆ’37.22βˆ’(βˆ’9.7)=βˆ’37.22+9.70=βˆ’27.52-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 step-by-step 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 1515 minus 66, you need to:

  1. Input 1515 into the "Minuend" variable field.
  2. Input 66 into the "Subtrahend" variable field.
  3. Read off the result from the "Difference" field.
  4. 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.


How do I subtract decimals?

To subtract decimals, you need to:

  1. Check if they have the same number of digits after the dot.
  2. If they don't, add zeros to the short one accordingly.
  3. Subtract the numbers as if there was no dot.
  4. Place the dot as many digits from the right as it was initially.
  5. Enjoy your result of subtracting decimals.

How do I subtract integers?

To subtract integers, you need to:

  1. Write the subtrahend under the minuend.
  2. Subtract the leftmost bottom digit from the top one.
  3. 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.
  4. Repeat for consecutive digits.
  5. Enjoy your result of subtracting integers.

How do I subtract negative numbers?

To subtract negative numbers, say, a from b, you need to:

  1. Look for a on the negative and positive number line.
  2. Moveb positions from a:
    • To the right, if b is positive; or
    • To the left, if b is negative.
  3. The point you end up in is the difference.
  4. 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 = 7but3 - 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:

  1. Switch the negative number to its positive equivalent.
  2. Change subtraction into addition (e.g., 10 - (-3) = 10 + 3).
  3. Add the two positive numbers.
  4. 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.

Maciej Kowalski, PhD candidate
Minuend - Subtrahend = Difference
Check out 66 similar arithmetic calculators βž—
Absolute changeAbsolute valueAdding and subtracting fractions… 63 more
People also viewed…

Angle of right triangle

Use this angle of a right triangle calculator to find the two acute angles of a right triangle, given any of the triangle's sides or given its area and one of its sides.

Area of a regular polygon

Use this area of a regular polygon calculator and find the answer to the questions: How to find the area of a polygon? What are the area of a regular polygon formulas?


Use this free circumference calculator to find the area, circumference and diameter of a circle.

Coffee kick

A long night of studying? Or maybe you're on a deadline? The coffee kick calculator will tell you when and how much caffeine you need to stay alert after not sleeping enough πŸ˜€β˜• Check out the graph below!
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background