Absolute separation
Calculate the nonnegative distance between the two entered values.
This calculator for percentage difference compares two numbers without treating either as a starting baseline. View their absolute difference and symmetric percentage difference, with clear conventions for zero and signed values.
Results update as you edit. Use comparable numbers in the same unit and review the denominator convention.
Read the result together with the breakdown and calculation assumptions below.
Neither value is a baseline. For signed inputs, use the mean of absolute magnitudes; opposite signs give 200%. Both zero gives 0% by convention.
The main result displays up to 6 decimal places; breakdown values display 2. Calculations retain unrounded precision.
This calculator for percentage difference gives two observations equal weight. It measures their absolute separation relative to their average magnitude, rather than choosing an original value. The documented absolute-magnitude convention extends the nonnegative formula to signed inputs while keeping the result symmetric.
Use the result as a transparent mathematical estimate. The calculation method, input conventions and limitations are explained below so you can compare scenarios with the same assumptions.
Follow four steps to enter consistent inputs, read the estimate and understand the result.
Enter the first number using a consistent unit.
Enter the second comparable number; signed values and decimals are supported.
Read absolute difference, the denominator and symmetric percentage difference.
Swap the numbers to confirm symmetry, then review how the result differs from directional change.
Explore the inputs, breakdowns and supported options available in this calculator.
Calculate the nonnegative distance between the two entered values.
Use both input magnitudes equally in the denominator.
Avoid cancellation by averaging absolute magnitudes for negative values.
Document 0% for two zeros and 200% when only one value is zero.
Review the absolute difference, mean magnitude and final division.
Explain the difference from directional percentage change and reference-based error.
Learning how to calculate percentage difference starts with choosing a denominator. Use this symmetric measure for two comparable observations without an original baseline. Use percentage change for before-and-after comparisons. The signed convention is bounded from 0% to 200% and does not describe direction.
Measure separation without assigning either number the role of a starting baseline.
Swap the values and confirm the same answer.
See why the percentage differs from a before-and-after change.
Review the absolute difference when opposite signs produce the same 200% result.
Check these definitions and conventions when entering values or comparing estimates.
| Input or Result | Meaning | Main Consideration |
|---|---|---|
| Absolute difference | The magnitude of A minus B | It remains in the input unit and never becomes negative. |
| Mean magnitude | Average of |A| and |B| | For nonnegative values this is their ordinary arithmetic mean. |
| Opposite signs | One observation positive and the other negative | This convention produces 200%; it does not preserve their direction or relative sizes. |
| Both zero | A zero numerator and denominator | The tool reports 0% as an explicit convention, not as ordinary division. |
Keep units consistent and identify whether the question is about a part and whole, a directional change, or a symmetric comparison. These questions use different denominators.
Use a concrete example and focused comparisons to connect the inputs with the outputs.
For 80 and 100, the absolute difference is 20 and their mean is 90. Percentage difference is 20 / 90 × 100 = 22.222222…%. Swapping the numbers gives the same result. By comparison, the directional change from 80 to 100 is 25%.
80 and 100 produce about 22.22%; 100 and 80 must produce the same percentage.
From 80 to 100, change is 25%. The symmetric difference is about 22.22%, because its denominator is 90.
−80 and −100 give about 22.22%. −80 and 100 give 200% under the stated convention.
Read the calculation method alongside its units, precision and input conventions.
For nonnegative A and B: difference (%) = |A − B| / ((A + B) / 2) × 100. Signed convention: |A − B| / ((|A| + |B|) / 2) × 100. Both zero → 0% by convention.
To calculate difference between two numbers, subtract and take the absolute value. To express that difference symmetrically, divide by the mean absolute magnitude and multiply by 100. For nonnegative inputs, the mean absolute magnitude equals the ordinary arithmetic mean. For signed inputs, absolute magnitudes prevent cancellation or a negative denominator. This documented extension is one convention, not a universal definition for signed data.
Both values must describe comparable quantities in the same unit. A percentage difference between unrelated measures has no useful interpretation.
Two zeros give 0% by convention; one zero and one nonzero value give 200%. Equal nonzero inputs give 0%.
For negative inputs, use the mean of absolute magnitudes. Opposite-sign nonzero numbers give 200%, regardless of their magnitudes. Consider absolute difference as well when this loses useful detail.
Numeric inputs are limited to absolute values of 1 trillion unless a field states a narrower range. Non-finite inputs and results exceeding Number.MAX_SAFE_INTEGER are rejected. Display rounding does not change intermediate calculations.
Calculations run locally in your browser. The calculator does not send your entered values to a calculation server or store them between visits.
Results describe the stated mathematical relationship. Choose a denominator appropriate to your question, review signed-value conventions and use unrounded values when checking the arithmetic.
Practical answers about the inputs, calculation method and limitations of this estimate.
The numerator is an absolute difference and the denominator averages both input magnitudes. Swapping A and B changes neither quantity.
Percentage change divides by an original baseline and has direction. Percentage difference uses both values equally. For 80 and 100, the symmetric result is about 22.22%, while the increase from 80 to 100 is 25%.
If only one is zero, the difference equals twice the mean magnitude, giving 200%. For two zeros, the mathematical fraction is 0/0; this tool explicitly reports 0% by convention.
The denominator is (|A| + |B|) / 2. For −80 and −100, the result is about 22.22%. Opposite signs give 200%. Other signed-data conventions exist, so verify this definition suits your comparison.
No. Percentage error typically divides by a reference or accepted value. This calculator gives both observations equal weight without designating one as correct.