Absolute Value (Modulus) Calculator

Absolute Value (Modulus) Calculator | Math Tools

Absolute Value (Modulus) Calculator

Use this free absolute value (modulus) calculator to find the absolute value of any number. Enter any integer, fraction, or decimal and get the result instantly.

What Is Absolute Value?

The absolute value of a number is its distance from zero on the number line. Absolute value is always non-negative. It is represented by two vertical bars: |x|.

Absolute Value Formula

The absolute value of a number x is defined as:

|x| = x if x ≥ 0

|x| = −x if x < 0

  • |x| = absolute value of x
  • x = any real number

Example Calculation

Example: Find the absolute value of −5.

|−5| = 5

The distance from −5 to 0 is 5 units, so the absolute value is 5.

Scroll to Top