Absolute Value

Absolute value measures the distance a number is from zero without regard to direction, so it is always positive or zero.

a={aa0aa<0|a| = \begin{cases} a & a \ge 0 \\ -a & a < 0 \end{cases}

Solve a problem with Absolute Value

Type the problem. The solver will use Absolute Value where Absolute Value is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Absolute Value takes
aa
Absolute Value
SymbolMeaning
aaThe number inside the absolute value bars, which can be any real number—positive, negative, or zero; if you interpret aa as a distance instead of a signed magnitude, you will miss that negative inputs give positive outputs.

When to use it

When you need to find how far a number is from zero, or when you want only the distance without the direction.

Level

Usually taught in: Pre-Algebra

Worked examples

1. Find the absolute value of a negative integer

Problem

Find 5|-5|.
  1. 5<0-5 < 0

    The number 5-5 is negative, so we use the case for negative numbers from the definition.

  2. 5=(5)|-5| = -(-5)

    For negative numbers, the definition is a=a|a| = -a.

  3. (5)=5-(-5) = 5

    We simplify: the opposite of negative 5 is positive 5.

Answer: 5=5|-5| = 5

Since 5-5 is less than zero, we apply the rule that a=a|a| = -a when a<0a < 0. So 5=(5)=5|-5| = -(-5) = 5, which makes sense because 5-5 is 5 units away from zero on the number line.

2. Find the absolute value of a negative fraction

Problem

Simplify 34\left|-\frac{3}{4}\right|.
  1. 34<0-\frac{3}{4} < 0

    The fraction 34-\frac{3}{4} is negative.

  2. 34=(34)\left|-\frac{3}{4}\right| = -\left(-\frac{3}{4}\right)

    Using the definition for negative numbers: a=a|a| = -a when a<0a < 0.

  3. (34)=34-\left(-\frac{3}{4}\right) = \frac{3}{4}

    The opposite of 34-\frac{3}{4} is 34\frac{3}{4}.

Answer: 34=34\left|-\frac{3}{4}\right| = \frac{3}{4}

Absolute value removes the negative sign, leaving us with the positive version of the fraction. Regardless of whether we have a whole number or a fraction inside, absolute value always gives the non-negative version.

3. Find the distance for a garden fence

Problem

A rectangular garden plot is being fenced. One corner of the plot is at position 0, and an adjacent corner is at position 12-12 feet (meaning 12 feet in the opposite direction). What is the distance between these two corners?
  1. Position 1=0, Position 2=12\text{Position 1} = 0, \text{ Position 2} = -12

    One corner is at position 0 and the other is at position 12-12 on the fence line.

  2. Distance=120=12\text{Distance} = |-12 - 0| = |-12|

    Distance is always positive, so we use absolute value to find the distance between positions.

  3. 12=(12)=12|-12| = -(-12) = 12

    We apply absolute value: since 12<0-12 < 0, we use the rule a=a|a| = -a, which gives us (12)=12-(-12) = 12.

Answer: Distance=12 feet\text{Distance} = 12 \text{ feet}

Absolute value tells us the distance between two points, ignoring whether we are moving left or right. The position 12-12 describes a direction and magnitude, but distance itself has no direction—it is always the non-negative number of units between two points. That is exactly what absolute value gives us.

Common mistakes

Where Absolute Value usually goes wrong
Answer came out wrong
7=7|-7| = -7
7=7|-7| = 7. Always check: is my answer zero or positive? If it is negative, something went wrong.
(3)=3|(-3)| = -3
Think 'opposite' instead of 'remove the sign'. If the number is negative, absolute value gives its opposite; if it is already positive, it stays put. So (3)=3|(-3)| = 3 and 3=3|3| = 3.
2+(5)=2+5=2+5=7|2 + (-5)| = |2| + |-5| = 2 + 5 = 7
Always do arithmetic inside the absolute value bars first, then apply absolute value to the result.
The mistakeWhy it is wrongThe fix
7=7|-7| = -7The definition of absolute value is that a|a| is never negative; it represents distance, which cannot be negative.7=7|-7| = 7. Always check: is my answer zero or positive? If it is negative, something went wrong.
(3)=3|(-3)| = -3Saying 'ignore the sign' misses that absolute value requires us to make negative numbers positive—which means taking the opposite. For 3-3, the opposite is 33, not 3-3.Think 'opposite' instead of 'remove the sign'. If the number is negative, absolute value gives its opposite; if it is already positive, it stays put. So (3)=3|(-3)| = 3 and 3=3|3| = 3.
2+(5)=2+5=2+5=7|2 + (-5)| = |2| + |-5| = 2 + 5 = 7Absolute value does not distribute over addition or subtraction. You must simplify inside the bars first: 2+(5)=3=37|2 + (-5)| = |-3| = 3 \neq 7.Always do arithmetic inside the absolute value bars first, then apply absolute value to the result.

Tips and when to use something else

  • Absolute value always outputs zero or a positive number; if you get a negative result, you made a mistake.
  • Use absolute value to find distances: the distance between two positions aa and bb on a number line is ba|b - a|.
  • Don't confuse absolute value with the Distributive Property. The Distributive Property says 3(2+5)=32+353(2 + 5) = 3 \cdot 2 + 3 \cdot 5, but absolute value does NOT work this way: 2+52+5|2 + 5| \neq |2| + |5|.
  • When you see absolute value signs, ask yourself: 'How far is this number from zero?' That is the answer.

Frequently asked questions

What is absolute value used for in real life?
Absolute value measures distances and magnitudes without direction. Engineers use it to express tolerances (a measurement must be within ±0.5\pm 0.5 inches), surveyors use it for distances, and anyone comparing magnitudes (like temperature changes) uses it. Whenever the answer should be 'how far' or 'how much,' not 'in which direction,' absolute value is useful.
Can absolute value be negative?
No, absolute value is never negative. By definition, a0|a| \geq 0 for any number aa. If you calculate an absolute value and get a negative result, you made a computational error. Check whether you applied the correct case from the definition (negative vs. non-negative inputs) and whether you simplified correctly.
Why is there a minus sign in the definition for negative numbers?
The minus sign in the definition (a=a|a| = -a when a<0a < 0) does not make the result negative—it flips the sign of a negative number to make it positive. For example, if a=7a = -7, then a=(7)=7-a = -(-7) = 7. The negative sign is an operation (multiply by 1-1), not part of the final answer.
How is absolute value different from the square root?
Both absolute value and Square Root always give non-negative outputs, but they work differently. Absolute value measures distance from zero: 5=5|-5| = 5. The Square Root finds which number times itself gives the original: 9=3\sqrt{9} = 3 because 32=93^2 = 9. Use absolute value for distances and to handle negative numbers; use Square Root to undo squaring.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18