Absolute Value
The absolute value of a number is its distance from zero on the number line. Distance is never negative — you can't walk blocks — so absolute value is never negative either. We write it with two vertical bars: and , because both numbers sit units from zero.
That's the whole definition, but there is one trap worth learning up front: a negative sign written outside the bars survives. , but . The bars only strip the sign of what's inside them.
Distance from zero
Picture on the number line. To get from back to zero you travel units — direction doesn't matter, only the length of the trip. So .
Positive numbers are already a distance from zero: . And zero is zero units from itself, so . In short: the bars leave positive numbers and zero alone, and flip negative numbers to positive.
Opposites share an absolute value
Every number and its opposite sit the same distance from zero, just on opposite sides. and . This is why an equation like has two answers later in algebra — both and are five units from zero.
On the number line below, and sit the same units from zero — mirror images across the middle — so they share the absolute value .
A negative outside the bars
Work from the inside out. In , first evaluate the bars: . Then apply the negative sign that was waiting outside: .
Compare that with , where the negative sign is inside the bars and gets stripped: . Same digits, different placement, opposite answers. On a test, check where the sign sits before you write anything.
Worked examples
Example 1: a negative inside the bars
Evaluate .
Answer:
Example 2: a positive inside the bars
Evaluate .
Answer:
Example 3: a negative outside the bars
Evaluate .
Answer:
Try one yourself
Common questions
Can an absolute value ever be negative?
No. Absolute value measures distance from zero, and distance can't be negative. The smallest possible absolute value is . But an expression like can be negative, because the negative sign sits outside the bars.
What is the absolute value of zero?
. Zero is the only number whose absolute value is zero — every other number sits some positive distance away from zero.
Why do and give the same answer?
Because and are opposites: they sit on opposite sides of zero but at the same distance, units. Absolute value only cares about the distance, not the side.
How is different from ?
In the negative sign is inside the bars, so it gets stripped: the answer is . In the negative sign is outside the bars, so it stays: the bars give , then the sign makes it .
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.