Absolute Value Calculator

Enter any real number and instantly get its absolute value with a visual number line.

The absolute value of a number is its distance from zero, so it is never negative: |-42| = 42, |3.14| = 3.14 and |0| = 0.

Use the Absolute Value Calculator

Enter a Number

Result

Enter a number and click Calculate

Quick Examples

Quick answer

The absolute value of a number is its distance from zero, so it is never negative: |-42| = 42, |3.14| = 3.14 and |0| = 0. Type a number and click Calculate Absolute Value. The tool drops the minus sign and marks the number, zero and the result on a number line.

Examples

NumberAbsolute value
-4242
-3.143.14
00
100100
-0.0010.001
-2.5e32500

Type a number and click Calculate Absolute Value.

Summary

The absolute value of a number is its distance from zero on the number line, always expressed as a non-negative value. For positive numbers and zero the result equals the input; for negative numbers the sign is removed. This calculator handles integers, decimals, and fractions expressed as decimals.

How it works

  1. Type any real number into the input field.
  2. The tool evaluates the number and removes any negative sign.
  3. The absolute value result is shown instantly.
  4. A visual number line marks both the original number and zero.
  5. Click Copy to copy the result to your clipboard.

Use cases

  • Check homework answers involving absolute value expressions.
  • Find the distance between two points on a number line.
  • Verify error margins in engineering calculations.
  • Simplify expressions with |-x| before further algebra.
  • Teach or learn the concept of distance from zero.
  • Convert negative readings (temperature, profit/loss) to magnitudes.

Frequently Asked Questions

Last updated: 2026-06-04 · Reviewed by Nham Vu