🧮
🧮 Math & statistics

Absolute Value Calculator (|x| of real numbers and |a + bi| of complex numbers)

Results update as you type.

Your numbers

Understanding the absolute value calculator — concept and principle

This calculator finds the absolute value of a real number, |x|, or the modulus of a complex number, |a + bi|. It also shows the exact form, a² + b², the angle (argument) and which other numbers share the same absolute value. Use it for homework, error sizes and distances.

Absolute valueAbsolute value is distance from 0−10−8−6−4−20246810−7.57.5distance 7.5|−7.5| = 7.5
−7.5 and 7.5 sit the same distance from zero, so both have absolute value 7.5.

How it is calculated

For a real number: |x| = x if x ≥ 0, and |x| = −x if x < 0

For a complex number z = a + bi: |z| = √(a² + b²)

Argument = angle of the point (a, b) from the positive real axis

The principle

Absolute value is distance from zero, and distance is never negative. On the number line, −7.5 and 7.5 are both 7.5 units from 0. A complex number a + bi is a point in a plane with a real axis and an imaginary axis, so its distance from the origin comes from the Pythagorean theorem: √(a² + b²). For example |3 + 4i| = √(9 + 16) = 5. The absolute value together with the angle gives the polar form of a complex number.

Worked example

Default inputs: a = −7.5, b = 0.

  1. The number is the real number −7.5, measured on the number line.
  2. Since −7.5 < 0, |−7.5| = −(−7.5) = 7.5; exact form 7.5.
  3. a² + b² = 56.25 + 0 = 56.25, and √56.25 = 7.5 confirms the result.
  4. The point lies on the negative real axis, so the argument is 180°.
  5. Numbers with the same absolute value: 7.5, −7.5.
How Absolute value changes with Real part a (or just the real number)How Absolute value changes with Real par…051015-1.88-3.75-5.62-7.5-9.38-11.2-15Example: 7.5Real part a (or just the real number)
Each point is the calculator re-run with only “Real part a (or just the real number)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Real part a (or just the real number)Absolute value
-1.881.875
-3.753.75
-5.625.625
-7.57.5
-9.389.375
-11.211.25
-1515

How to read the result

The absolute value is always 0 or positive, and it is 0 only for 0 itself. In applications it measures size without direction: an error of −0.3 and +0.3 has the same size, and the distance between two numbers p and q is |p − q|. For complex numbers, all points with the same modulus lie on a circle around the origin.

Common mistakes

Keep in mind: Rounded decimals may hide an exact root; use the exact form for written answers.

Frequently asked questions

What is the absolute value of −7.5?

7.5.

What is the absolute value of 3 + 4i?

5, because √(3² + 4²) = 5.

Can absolute value be negative?

No. It is a distance, so it is always 0 or positive.

Sources: OpenStax, Prealgebra 2e (2020), §3.1 Introduction to Integers · OpenStax, Precalculus 2e (2021), §8.5 Polar Form of Complex Numbers

Checked 9 Nov 2026. OpenStax, Prealgebra 2e (2020), §3.1 Introduction to Integers (absolute value as distance from 0, never negative); OpenStax, Precalculus 2e (2021), §8.5 Polar Form of Complex Numbers — “Finding the Absolute Value of a Complex Number” (|z| = √(x² + y²), the distance from the origin to (x, y)).

🧮 All math & statistics tools →🌍 Calculators by country →