Absolute Value Calculator

Distance from Zero, Nothing More

Absolute value strips the sign off a number and leaves only its magnitude — how far it sits from zero on the number line, regardless of direction. It's one of the simplest operations in mathematics, but it's foundational to distance formulas, error measurement, and any calculation where the direction of a difference doesn't matter, only its size.

The Formula

|x|

Positive numbers and zero pass through unchanged; negative numbers have their sign flipped to positive.

Where Absolute Value Is Used

  • Error and deviation measurement — the difference between a predicted and actual value is usually reported as an absolute value, regardless of which direction the error runs.
  • Distance calculations — one-dimensional distance between two points is the absolute value of their difference.
  • Tolerance checking — manufacturing and engineering specs often require a measurement to fall within ± some absolute value of a target.
  • Temperature and financial swings — describing the size of a change without regard to whether it was up or down.
Worked examples
Input|x|
−1515
8.58.5
00

How to Use This Calculator

  1. Enter a number in the Number field.
  2. Select Calculate to see the absolute value.

Related Calculations

Need to round instead of strip a sign? See the Ceiling Calculator and Floor Calculator for rounding up or down to the nearest integer.