Absolute Value Calculator
An absolute value calculator computes the non-negative magnitude of a real number or expression, representing its distance from zero on the number line. For positive numbers, the absolute value is the number itself; for negative numbers, the value is negated to become positive. It supports evaluating simple inputs and absolute differences between two values (|a - b|).
Calculate the absolute value |x| of any real number or evaluate distance expressions like |a - b| with steps.
Quick Answer
Calculate the absolute value of a single number or evaluate expression distances like |a - b|. Distance values are always non-negative.
Enter any positive, negative, or zero value. · e.g. -7
Absolute Value |x|
7
|-7| = 7
The absolute value of -7 is 7. It represents the distance of -7 from 0 on the number line. Since -7 is negative, we negate it to get a positive distance: -(-7) = 7.
Step-by-step calculation
Examples
|-5|
= 5
|3 - 10|
= |-7| = 7
|0|
= 0
How it works
The Concept of Absolute Value
Geometrically, the absolute value of a number is its distance from zero on the real number line. Distance is a physical measurement, which means it can never be negative.
Mathematical Definition
|x| = x (if x ≥ 0)
|x| = −x (if x < 0)
To compute roots alongside absolute values, visit our standard square root calculator or use our new cube root calculator for third-order root operations.
Properties of absolute values
- Non-negativity: |x| ≥ 0 (distance is always positive or zero).
- Symmetry: |−x| = |x| (opposite values are equidistant from zero).
- Multiplicativity: |a × b| = |a| × |b|.
- Triangle Inequality: |a + b| ≤ |a| + |b|.



