Absolute Value Calculator
Find the absolute value of a number or the distance between two numbers on a number line. Includes sign, opposite number, and decimal input support.
What this absolute value calculator does
English search results for absolute value calculators focus on a direct |x| answer, with explanations that frame absolute value as distance from zero. This version also includes a distance-between-two-numbers mode.
The result is always non-negative.
Use the distance mode when the question is about how far apart two numbers are on a number line.
Accepted input
- Enter one decimal number for |x|.
- Switch to distance mode to enter two numbers.
- Use a decimal point for English numeric format; scientific notation such as -2.5e2 is also accepted.
Frequently Asked Questions
Sources and References
- Absolute Value CalculatorCalculatorSoup
- Absolute ValueWolfram MathWorld
- Absolute value and number linesKhan Academy
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Calculate a mod b and compare JavaScript-style remainder with Python-style modulo for positive, negative, integer, and decimal inputs.
Round numbers to decimal places, whole numbers, or a nearest multiple. Compare half-away, half-even, ceiling, floor, and truncation results.
Calculate square roots, cube roots, and nth roots. Get decimal values, exact integer detection, simplified square-root form, and real-number validation.
Raise a base to a power, including negative exponents and exact fractional exponents such as 1/2 and 1/3. Includes scientific notation and reciprocal output.