Maths & numbers

Absolute value calculator

Find the distance of a signed number from zero on the number line.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Opposite numbers have the same absolute value. The distance from x to another point c is |x−c|.

THE FORMULA|x| = distance from 0

A worked example

−7 is seven units from zero, so |−7| = 7.

Good to know

Use a real number. The result is always nonnegative.

Read the result

Find the distance of a signed number from zero on the number line.

The primary result is labeled “Absolute value”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

Use a real number. The result is always nonnegative.

For a related exercise, try the fraction calculator.

A few questions, answered

How can I check the default inputs by hand?

−7 is seven units from zero, so |−7| = 7.

Which rule does this calculator apply?

|x| = distance from 0

Find your calculator

Start typing to explore the library.