Calculated
Absolute Value Calculator
Sign up to favourite this calculatorEnter a number to get its absolute value — its distance from zero. Set the second field to measure the distance between two numbers instead.
Sign in to keep your calculationsSaved · View in My dashboard
Saving…Saved to My dashboardCouldn't save. We'll try again.That saved calculation isn't available.
Share result
Compare scenarios
Keep this calculation as a scenario, change any input above, and the Now column shows how the result moves. Keep up to three, A to C; Open puts one back in the calculator.
Explain my result
Assumptions and limits
- An estimate from the numbers you entered, for guidance only. It is not financial, tax or medical advice.
- Calculator version 1, last updated 25 October 2026.
Was this calculator useful?
Report a problem
Saved to your account. Go to My dashboard to view your calculations.Link copied. Paste it wherever you want to share it.Your link is ready: open Share result and choose Copy link.
How to use this calculator
- Enter your number. Negatives and decimals both work.
- Leave the second field at zero for the plain absolute value, or enter another number to get the distance between the two.
- Read the answer above the supporting figures. The two working lines under the inputs show both sums written out with the bars.
What do I need to enter?
- Number — the value to take the absolute value of. Any number from −1,000,000,000,000 to 1,000,000,000,000, negative or decimal.
- Distance from — the second number, zero by default. At zero the result is the plain absolute value; any other number gives the distance between the two.
What do the results show?
- |x| — the main figure: your number's absolute value, its distance from zero.
- Original value and Sign — your number as entered, and whether it is positive, negative or zero.
- Distance from — how far your number is from the second number.
- Numbers with this absolute value — the positive and negative pair that share the answer, or only zero.
- Working and Distance — both sums written out with the absolute value bars.
How absolute value is calculated
There is no arithmetic to do — only a decision about the sign, made by which side of zero the number sits on.
- x — your number, e.g. −5.3
- −x — the negative of a negative, so −(−5.3) = 5.3
- |x| — the result, always zero or more
| Expression | Value |
|---|---|
| |−5.3| | 5.3 |
| |12| | 12 |
| |0| | 0 |
| |2 − 5| | 3 |
| |−8 − 11| | 19 |
The last two rows are absolute value doing real work. Anything inside the bars is worked out first, then the sign is dropped — which turns a subtraction into a distance.
Where absolute value is used
- Error and tolerance — how far a measurement is from its target, regardless of which side it missed on.
- Distance — between two points on a line, two temperatures, two dates, two prices.
- Averaging differences — mean absolute deviation adds up the distances from the mean, which would otherwise cancel out to zero.
- Comparing sizes — a −12% return and a +12% return are equally large moves, and absolute value is what says so.
Frequently asked questions
What is the absolute value of a number?
How do I calculate absolute value?
How do I find the distance between two numbers?
Does the order matter when measuring a distance?
Can an absolute value be negative?
How do I solve an equation with absolute value in it?
Last updated 25 October 2026.