Number comparison

Absolute Difference Calculator

Calculate the distance between two numbers, ignoring direction.

Absolute versus signed difference

Absolute difference measures distance only. Signed difference keeps direction, so it can tell you whether the second number is higher or lower than the first.

Example

For 14 and 9, the absolute difference is |14 - 9| = 5. If you reverse the order, |9 - 14| is still 5, while the signed difference changes from 5 to -5.

Use cases

Absolute difference is useful for error measurement, score gaps, before-and-after comparisons and checking how far a value is from a target.

Common mistakes

Do not use absolute difference when the direction of change matters. For growth, decline or performance movement, compare it with percentage change or signed difference.

Last reviewed: 2026-05-17

Before relying on this result

Use this calculator together with the formula, assumptions, limitations and examples on the page. If the topic involves health, tax, lending, investment, legal, safety or current-rate decisions, treat the number as an estimate and check the relevant primary source or professional guidance.

Calculator metadata last reviewed: 2026-05-14.