Absolute value in simple words
The absolute value of a number is how far it is from 0 on the number line. Distance is never negative, so the absolute value is never negative either. We write it with two straight bars: |x|.
For a positive number, nothing changes: |5| = 5. For a negative number, just drop the minus sign: |−5| = 5. Both 5 and −5 are 5 steps away from 0.
The distance between two numbers works the same way. Take one from the other, then drop any minus sign. For example, the distance between 3 and −2 is |3 − (−2)| = |5| = 5 steps.
What absolute value means
The absolute value of a number is its distance from zero on the number line, so it is never negative. Written |x|, it equals x when x is zero or positive and −x when x is negative: |8| = 8 and |−8| = 8.
The absolute difference |a − b| is the distance between a and b. Because distance has no direction, |a − b| = |b − a|.
Worked examples
|−7.25|: the number is negative, so |−7.25| = −(−7.25) = 7.25.
|3.5 − (−12)|: first a − b = 3.5 + 12 = 15.5, then |15.5| = 15.5. Swapping the order gives −12 − 3.5 = −15.5, whose absolute value is also 15.5.
Exact decimals
The calculator subtracts as exact decimals rather than binary floating point, so |0.3 − 0.1| comes out as exactly 0.2 instead of 0.19999999999999998.