How do you calculate percentage difference between two values?
Take the absolute gap between the two values and divide it by their arithmetic mean. Multiply by 100 to express the result as a percentage. For 80 and 100, the gap is 20 and the mean is 90. The percentage difference is about 22.22%, and it stays the same if the inputs are swapped.
Choose the formula when neither value is the baseline
Percentage difference is a symmetric comparison. It is useful when you have two independent observations and neither should be treated as the starting point. Dividing by their average avoids choosing one of them as the reference. The calculator also shows the raw gap and the mean so the result can be reproduced.
Percentage change answers a different question. If a count changes from 80 to 100 over time, the starting figure 80 is the reference and the change is 25%. A change in the opposite direction would use 100 as the reference and give a 20% decrease. Use the linked Percent Change Calculator for that directional interpretation.
Check the calculation with measurements
Suppose two methods report a length of 49 and 51 centimetres. Their gap is two centimetres and the midpoint is 50 centimetres, so the percentage difference is 4%. This compares their relative disagreement without asking which reading is correct. If a known reference value exists, calculate each measurement’s error against that reference instead.
Both values should use the same unit and describe the same quantity. Convert one before comparing a reading in centimetres with another in inches. Because the numerator and denominator use the same unit, the final percentage has no length unit. Giving both values a consistent scale preserves the result.
Understand the behavior near zero
The tool takes nonnegative inputs, which keeps the mean positive unless both are zero. If one is zero and the other positive, the gap equals the positive value and the mean is half of it. The resulting percentage difference is 200%. This describes the formula’s reference choice, not an observed increase from zero.
When both values are zero, they have no raw difference but their average is also zero. The percentage is therefore undefined. You can state that the measurements agree at zero and report the zero absolute gap without assigning a relative percentage. Negative measurements can require another convention, especially when they cancel in the mean.
Use another reference when the situation calls for it
An agreed tolerance may be stated in units or as a percent of a designated target. If a specification says deviations must stay below a percentage of a reference reading, use that specified denominator. Substituting the average of two measurements can change whether the pair appears to pass the tolerance.
In reports, name the chosen formula because “percent difference” is sometimes used informally for ordinary percent change. State whether the percent uses the average, a starting value, or a desired value. That language lets someone reproduce the calculation and understand why two reported percentages from the same figures might differ.
Try both orders if you need a quick check on a spreadsheet formula. The percentage difference should be unchanged. A formula that gives a different answer after swapping positive inputs is probably using one value as a baseline rather than the average.
Frequently asked questions
Does a zero percentage difference mean the measurements are identical?
For two equal positive values, the gap is zero and the denominator is positive, so the percentage difference is zero. Measurement precision still matters. Two rounded readings can be equal on a display even if the unrounded observations had a small difference.
Can I compare two quoted prices with this formula?
If you want a neutral relative gap, use two prices with equivalent scope and currency. For a question such as how much more the second costs than the first, use the first price as the reference in a percentage change calculation. Decide which question you want before reporting the number.
Is 200% the largest result here?
For nonnegative values with at least one above zero, the gap is never more than their sum. The average is half that sum, giving a maximum ratio of two. The result reaches 200% when one value is zero and the other is positive.
How do I find the raw difference from the result?
The detail line gives the raw gap. You can also reverse the formula by multiplying the mean by the decimal version of the percentage. Keep sufficient precision if the displayed percentage was rounded, especially when the amounts differ by a small fraction.
What if the result is used to compare lab measurements?
Check the method’s reporting instructions and the measurement uncertainties. A paired comparison can use relative percent difference, but other quality controls use a specific reference, detection threshold, or additional rules for small values. Preserve the documented method when preparing a formal result.