Absolute Value Calculator – |x| with Properties
Evaluate |x| instantly: |−12|=12, |5|=5, |3−9|=6.
- See the piecewise rule, distance meaning and simplifications of |x|² and √(x²).
Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.
How the Absolute Value Calculator Works
The absolute value strips a number’s sign, leaving its distance from zero: |−12| = 12, |5| = 5, and for expressions first evaluate inside — |3−9| = |−6| = 6. The calculator applies the piecewise definition, telling you which branch fired, so the habit "absolute value never negative" is reinforced with each run. It also simplifies the classic identities: |x|² = x² (both equal 9 for x = −3), √(x²) = |x|, and |a·b| = |a|·|b| — so |−4×7| = 28. Magnitude comparisons print the distance between two points |a−b|, e.g. |−7−3| = 10, which is the number-line gap. For inputs in scientific or decimal form the result keeps full precision, and the tool notes the special case |0| = 0, the only value whose absolute value equals its negative.
- 1
Type a number or expression
Such as -12, 3-9, or -4×7
- 2
Evaluate inside first
Expressions reduce to a single value before the bars apply
- 3
Apply the piecewise rule
Positive stays, negative flips — the active branch is shown
- 4
Review the identities
x², √(x²) and |a−b| distance forms accompany the result
Use Cases
Checking Homework
Verify |3−9| = 6 and similar drill problems instantly
Data Cleaning
Measure magnitude of deviations from a target value
Complex Number Magnitude
Seed the |z| habit that generalizes to |3+4i| = 5
Tips
- 1
Evaluate the inside completely before dropping the sign
- 2
|x|² = x² always, but √(x²) = |x|, not x
- 3
|a−b| is the distance between a and b on the number line
Common Mistakes
Answering |3−9| as −6 — inside first, then the bars
Assuming |x| can output negatives; the minimum is 0
Writing √(x²) = x, wrong for x = −3 where it equals 3
Distributing bars over addition: |−3+5| is 2, not 8
FAQs
What is |−12|?
What is |3−9|?
Does |x|² equal x²?
What is |−4 × 7|?
Can absolute value ever be negative?
Related tools
Pick another tool to continue your calculation.
Calculus Calculator - Derivatives and Integrals Online
Calculate derivatives and integrals online with our free calculus calculator. Solve differentiation and integration problems with step-by-step solutions. Essential tool for calculus students and professionals.
2D Cross Product Calculator – Signed Area
Calculate cross product of two 2D vectors.
Euler Totient Calculator – φ(n) Coprimes
Calculate Euler totient function φ(n).
Fibonacci Calculator – Any Term & Sequence
Calculate any Fibonacci number and display the sequence.
Hyperbolic Functions Calculator – sinh, cosh
Calculate hyperbolic trigonometric functions.
Laplace Transform Calculator – Basic Functions
Calculate Laplace transform of basic functions.