On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Arithmetic Operations · Grade 6-8

Absolute Value

Absolute value is distance from zero.

∣x∣=distance from 0

Quick Answer

Absolute value is distance from zero. It is written with bars: ∣−7∣=7 and ∣7∣=7, because both numbers sit 7 steps from 0 on the number line. Use it when only the size of a number matters, not its direction: how far apart two temperatures are, how big an error is, or how far a diver is below the surface. The distance between any two numbers a and b is ∣a−b∣.

Why This Matters

Absolute value lets you talk about size without direction: a $40 withdrawal and a $40 deposit are changes of the same size, and ∣−40∣=∣40∣=40 says so. It gives the distance between any two numbers as ∣a−b∣, even across zero, and it is how tolerances are written, such as ∣x−10∣≤0.1. Using it where direction matters, like a temperature of −7 degrees, throws away real information.

Intuitive Explanation

Stand at 0 on a number line. Walk to 5: you took 5 steps. Walk to −5 instead: still 5 steps, just in the other direction. Absolute value counts the steps and ignores the direction, so ∣5∣=∣−5∣=5. That is why the answer is never negative: you cannot walk a negative number of steps. And ∣0∣=0, because you didn't move.

The same idea measures the distance between any two numbers. From −3 to 4 is 7 steps, and ∣4−(−3)∣=∣7∣=7. Subtract in the other order and you get ∣−3−4∣=∣−7∣=7, the same distance. The bars make the order of subtraction stop mattering, which is exactly what you want for a distance.

Absolute value is not a rule for deleting minus signs. If the temperature is −12 degrees, writing 12 degrees changes the weather from freezing to cool. Use the bars only when a problem asks how far, how large, or how much error. When the sign carries meaning (below zero, a loss, a debt, a move to the left), keep it.

Think of it like this. Absolute value is a car's trip meter rather than its map position. Drive 5 km east or 5 km west and the trip meter shows 5 either way, while the map shows which side of home you are on. The match holds for one straight drive; on a round trip the meter counts both legs, while ∣5+(−5)∣=0.

Core idea. Absolute value measures how far a number is from zero on the number line.


When to Use

Use absolute value when a question asks how far, how far apart, how big an error, or the size of a change regardless of direction. Distances on a number line, differences in temperature or elevation, and tolerances ("within 2 cm") all call for it. Keep the sign when direction is the point: a temperature below zero, a withdrawal, a debt or a move to the left. For the opposite of a number, use a negative sign, not bars.

Tip. Ask: Is the sign direction important, or only the distance?

How to Recognize It

Before writing absolute value bars, decide whether the answer should say how far or which way.

  1. Does the question ask how far apart two numbers are, such as two temperatures or two heights?

    Yes means find ∣a−b∣: from −4∘C to 9∘C is ∣9−(−4)∣=13 degrees. If it asks how the temperature changed and whether it rose or fell, keep the sign.

  2. Would a negative answer still make sense in the story, like a debt or a drop?

    Then keep the sign and work with negative numbers: a bank balance of −20 dollars says you owe money. Bars would hide that fact.

  3. Is the question asking for the opposite of a number, like the opposite of 6?

    That is −6, written with a minus sign. Opposites sit the same distance from 0 on different sides; absolute value gives that distance itself, ∣−6∣=∣6∣=6.

  4. Is there an allowed error, like a bolt that must be within 0.2 mm of 10 mm?

    That is absolute value as a tolerance: ∣x−10∣≤0.2, so any length from 9.8 mm to 10.2 mm passes. This leads to absolute value inequalities.

Absolute Value compared with Negative numbers and Opposites

Absolute value, negative numbers and opposites all live on the number line around 0, so they are easy to swap. Ask whether the answer needs a direction (negatives), a mirror image across 0 (opposites), or only a size (absolute value).

Absolute Value

Meaning
Use this when direction/sign should be ignored and distance or magnitude should be measured.
Key test
Is the sign direction important, or only the distance?
Formula
∣x∣=distance from 0
Example
Find ∣−12∣.

Negative numbers

Meaning
Numbers left of zero or below a reference point.
Key test
Use when direction matters.
Formula
−7
Example
7 below zero

Opposites

Meaning
Numbers the same distance from zero on opposite sides.
Key test
Use when changing direction across zero.
Formula
7 and −7
Example
Opposite signs

Formula & Notation

∣x∣=distance from 0
∣x∣={xx≥0−xx<0,equivalently ∣x∣=x2

How to read it: ∣x∣ is never negative because distance is never negative.

Worked Examples

Example 1 — Distance from zero

Easy

Find ∣−12∣.
Show the steps and the answer
  1. Locate −12 on the number line: 12 steps to the left of 0.

    Absolute value measures how many steps a number is from 0.

  2. Count the distance, ignoring direction: 12.

    Going left instead of right changes the direction, not the number of steps.

  3. Compare with its opposite: ∣12∣=12 as well.

    A number and its opposite are always the same distance from 0.

Answer: 12

Takeaway: Absolute value keeps the size of a number and drops its direction, so −12 and 12 both give 12.

Example 2 — Temperature direction

Standard

A temperature is -12 degrees. Should you rewrite it as +12 degrees?
Show the steps and the answer
  1. Ask what the minus sign means here: 12 degrees below zero.

    In a temperature the sign is information, not a distance to be measured.

  2. Compare the two readings: −12 degrees is freezing, while +12 degrees is a cool spring day.

    They are ∣12−(−12)∣=24 degrees apart, so they describe very different weather.

  3. Keep −12 degrees.

    Absolute value would fit only a question such as how far the reading is from zero, which is 12 degrees.

Answer: -12 degrees

Takeaway: Use absolute value only when the question asks for a distance or size; when the sign describes the situation, keep it.

Example 3 — Find the mistake: a negative distance

Application

Find the distance between −8 and 3 on the number line. Lena writes: "∣−8−3∣=∣−11∣=−11, so they are −11 apart." Find the mistake and correct it.
Show the steps and the answer
  1. Check the subtraction inside the bars: −8−3=−11.

    That part is right; Lena's error is in the last step.

  2. Apply the bars: ∣−11∣=11.

    −11 is 11 steps from zero, and a distance cannot be negative.

  3. Count on the number line: from −8 up to 0 is 8 steps, and from 0 to 3 is 3 more, so 8+3=11.

    Counting the steps directly confirms the distance.

  4. Subtract in the other order: ∣3−(−8)∣=∣11∣=11.

    The bars give the same distance whichever number you subtract first.

Answer: The distance is 11.

Takeaway: The bars always produce a result of 0 or more; a negative answer to a distance question means a step was skipped.

Where You'll See It

  • Comparing two cities' temperatures

    Anchorage reads −6 degrees and Seattle reads 9 degrees. The difference is ∣9−(−6)∣=15 degrees, and ∣−6−9∣ gives the same 15, whichever city you start from.

  • Checking machine parts

    A factory makes rods meant to be 50 mm long and accepts any rod with ∣L−50∣≤0.2. A 49.9 mm rod passes, since ∣49.9−50∣=0.1, but a 50.3 mm rod fails, since 0.3>0.2.

  • A diver and a seagull

    A diver is at −15 m and a gull flies at 20 m. The gap between them is ∣20−(−15)∣=35 m. Each one's absolute value gives its distance from sea level: 15 m and 20 m.

Common Mistakes

  1. The slip: Keeping the negative sign inside absolute value

    Instead: distance from zero is nonnegative.

  2. The slip: Thinking ∣a−b∣ equals a−b always

    Instead: order matters before absolute value removes sign.

  3. The slip: Using absolute value when direction matters

    Instead: a temperature of -7 degrees is not the same situation as +7 degrees.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find ∣−15∣ and ∣15∣. Are they equal?

    Hint: How far is each number from zero?

  2. Evaluate ∣4−11∣ by working inside the bars first.

    Hint: Subtract first; the result may be negative.

  3. A submarine is at −250 m and a plane is at 1200 m. How far is each from sea level, and which is farther?

    Hint: Sea level is zero. Distance ignores the sign.

  4. Find every number x with ∣x∣=6.

    Hint: Which numbers are 6 steps from zero on a number line?

  5. A bank statement shows a change of −40 dollars. Should you report it as ∣−40∣=40 dollars?

    Hint: Does it matter whether money came in or went out?

  6. Rosa writes "∣−9∣=−9." Correct her work.

    Hint: How many steps is −9 from zero on a number line?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Is −∣−3∣ positive or negative?

Negative. Work from the inside out: ∣−3∣=3|-3| = 3, and then the minus sign outside the bars makes it −3-3. The bars only act on what is inside them. So −∣x∣-|x| is never positive, while ∣−x∣|-x| is never negative. Spotting which sign sits inside the bars and which sits outside is a favourite test question.

Is ∣a+b∣ the same as ∣a∣+∣b∣?

Only when aa and bb have the same sign, or one is 0. With a=5a = 5 and b=−3b = -3, ∣5+(−3)∣=2|5 + (-3)| = 2, but ∣5∣+∣−3∣=8|5| + |-3| = 8. Opposite signs partly cancel before the bars act. In general ∣a+b∣|a + b| is never more than ∣a∣+∣b∣|a| + |b|, a fact called the triangle inequality: a direct trip is never longer than two legs.

Can an absolute value equation have two answers?

Yes, often. ∣x∣=4|x| = 4 asks which numbers are 4 steps from 0, and there are two: 4 and −4-4. ∣x−2∣=5|x - 2| = 5 asks for numbers 5 steps from 2, which are 7 and −3-3. And ∣x∣=−1|x| = -1 has no answer at all, because a distance can never be negative.

Learning Path

← Before

Integers
Absolute Value

You are here

You need Integers first: negative numbers, opposites like 6 and −6, and the number line. Absolute Value adds a way to measure size and distance without direction, written ∣x∣, with the distance between two numbers given by ∣a−b∣. Next, the Distance Formula extends that idea to points on a grid, and Inequalities like ∣x−3∣<2 describe every number within 2 of 3.

See Also