Imagine standing at zero on a number line. Walk five steps to the right and you reach 5. Walk five steps to the left instead and you reach −5. Those two numbers are opposites. They are the same distance from zero, but they are on different sides of it.

To find the opposite of a positive or negative integer, keep its distance from zero and change its sign. The opposite of zero is zero.

What is an integer?

Integers are the whole numbers (0, 1, 2, 3, and so on) and their negatives. For example, 2.5 is not an integer because it lies between two whole numbers. If you have 3 dollars, you can write that as 3. If you owe 3 dollars, you can describe that amount as −3. The minus sign tells you that the amount is below zero.

The number line can help you see where every integer belongs. Zero is the starting point. Positive numbers are to the right, negative numbers to the left.

Each step between neighbouring marks is one unit. Negative 3 is three units left of zero, and positive 3 is three units right of it.

Pause and check: Which number is two units to the left of zero?

It is −2. The minus sign tells you which direction to go from zero.

How to find the opposite of an integer

Think of zero as the middle of a mirror. A nonzero integer and its opposite are equally far from zero on opposite sides. Zero stays at zero. If one is above or to the right of zero, its opposite is equally far below or to the left.

Opposite of 5 = −5
Opposite of −5 = 5

There are three cases to remember:

Starting numberIts oppositeWhy?
PositiveNegativeSame distance, left of zero.
NegativePositiveSame distance, right of zero.
00Zero is already at the starting point.

How do you check your answer?

Add the number to its opposite. If the result is zero, you have the correct opposite. Moving five steps right and then five steps left brings you back to zero. For that reason, mathematicians also call an opposite the additive inverse of a number.

5 + (−5) = 0

In algebra, a letter such as n stands for a number. The opposite of n is written −n. That minus sign means “take the opposite.” If n is already negative, its opposite is positive.

Pause and check: Why does a number plus its opposite equal zero?

For a nonzero integer, the two numbers represent equal movements in opposite directions. For zero, neither movement changes your position. The second movement undoes the first, so you end where you started.

Opposite vs. absolute value

The opposite of a nonzero integer is on the other side of zero; the opposite of zero is zero. Absolute value tells you how far the integer is from zero. A distance cannot be negative.

Two vertical bars around a number mean absolute value: |−7| is read as “the absolute value of negative seven.” It equals 7 because −7 is seven units from zero.

IntegerOppositeAbsolute value
7−77
−777
000

Notice that the opposite of 7 is negative, but its absolute value is positive. When the starting number is negative, the two operations happen to give the same answer.

If you would like to spend more time on distance from zero, read the lesson on integers and absolute value.

Examples

Example 1: Find the opposite of a positive integer

What is the opposite of 8?

Eight is eight units to the right of zero. Its opposite must be eight units to the left, so it is −8. Add the two numbers to check.

8 + (−8) = 0

Answer: −8.

Example 2: Find the opposite of a negative integer

What is the opposite of −13?

Negative 13 is thirteen units to the left of zero. Its opposite is thirteen units to the right of zero. You can drop the negative sign and write 13.

−13 + 13 = 0

Answer: 13.

Example 3: The opposite of zero

Zero marks the origin (the reference point) of the number line. If you reflect zero across zero, it stays where it is. That is why zero is the only integer that is its own opposite.

0 + 0 = 0

Example 4: Understand two minus signs

Simplify −(−6). The minus sign outside the parentheses means “find the opposite of what is inside.” The number inside is −6, so its opposite is 6.

−(−6) = 6

What if the question asks for the opposite of the entire expression −(−6)? First simplify it to 6. Then find the opposite of 6, which is −6. Read the instruction carefully so you know how many times to take the opposite.

Example 5: Temperatures on either side of zero

A temperature is 14 degrees below 0°C, or −14°C. What temperature is its opposite?

Move to the other side of zero but keep the distance of 14 degrees. The opposite temperature is 14°C. The change from −14°C to 14°C is a rise of 28 degrees because you move 14 degrees to zero, then 14 more.

14 + 14 = 28 degrees

Video lessons

Opposite integer calculator

Enter a positive integer, a negative integer or zero. Use up to 12 digits, without commas. The calculator gives its opposite and shows why the sum is zero.

Exercises

Try these ten new questions, one at a time. If you make a mistake, read the hint and try again before checking the explanation.

Interactive practiceQuestion 1 of 10
What is the opposite of 9?
0 of 10 answered

Frequently asked questions

Are opposite integers always one positive and one negative?

Yes, for nonzero integers. Zero is its own opposite and is neither positive nor negative.

Does the opposite change the distance from zero?

No. The distance stays the same. A nonzero integer and its opposite lie on opposite sides of zero. Zero stays at zero.

How do you subtract an integer’s opposite?

Subtracting the opposite of a number is the same as adding that number again. For example, 6 − (−6) = 6 + 6 = 12.

Can an integer be equal to its opposite?

Only zero. A nonzero integer and its opposite have different signs.

Related topics

For further reading, see the free OpenStax introduction to integers.