ToolNimba
๐Ÿ”ข Math & Numbers

The Percent Difference Formula, Explained Simply

By ToolNimba Editorial Team June 23, 2026 6 min read

Illustration comparing two equal sized values with a percentage symbol between them

Quick answer

Percent difference = ( the absolute difference between two values, divided by their average, ) times 100. In symbols, percent difference = ( |A minus B| divided by ((A plus B) divided by 2) ) times 100. It is always a positive number, and you use it when neither value is a clear reference or original.

Percent difference answers a simple but slippery question: how far apart are two numbers, expressed as a percentage, when neither one is more correct or more original than the other. Think of comparing two lab measurements of the same object, two store prices for the same item, or two readings from two different instruments. There is no obvious "before" and no obvious "true" value, so you compare them to their shared middle ground, the average.

That middle ground is what makes percent difference distinct. If you are tracking how a single value moved over time, you actually want percent change instead, and if you are checking a measurement against a known correct answer, you want percent error. This guide focuses on the symmetric, no clear reference case.

The percent difference formula

The formula has two moving parts: the gap between the values on top, and the average of the values on the bottom. Take the difference between the two numbers, ignore its sign, divide by the average of the two numbers, then multiply by 100.

The formula

percent difference = ( |A minus B| divided by ( (A plus B) divided by 2 ) ) times 100

The bars around A minus B mean absolute value, so you always take the positive size of the gap. That is why percent difference is never negative: it measures how far apart two values are, not which one is bigger. Swapping A and B gives the exact same answer, which is the whole point of using the average rather than picking one value as the base.

The denominator, the average (A plus B) divided by 2, is what separates this formula from its cousins. By dividing by the midpoint of the two numbers, you treat both values as equally valid, so the result does not depend on which one you happened to write first.

A worked example, step by step

Two thermometers measure the same room. One reads 68 degrees and the other reads 72 degrees. Neither is the official correct temperature, so percent difference is the right tool. Here is the calculation.

  1. Label the two values. A equals 68 and B equals 72. It does not matter which is which.
  2. Find the absolute difference: |68 minus 72| equals |minus 4| equals 4.
  3. Find the average: (68 plus 72) divided by 2 equals 140 divided by 2 equals 70.
  4. Divide the difference by the average: 4 divided by 70 equals about 0.0571.
  5. Multiply by 100: 0.0571 times 100 equals about 5.71 percent.

So the two thermometer readings differ by roughly 5.71 percent. Notice that if you had labelled them the other way around, A equals 72 and B equals 68, every step would give the same numbers, because the absolute value and the average both ignore the order. That symmetry is the signature of percent difference.

Two similar values balanced on either side of their average midpoint
Percent difference measures the gap between two values relative to the point halfway between them.

Percent difference vs percent change vs percent error

These three formulas look almost identical, and mixing them up is the number one source of wrong answers. They all put a difference on top and multiply by 100. The only thing that changes is what goes in the denominator, and that choice depends entirely on what you are comparing.

How the three percentage formulas differ

FormulaDivide byUse it whenCan be negative
Percent differenceThe average of the two valuesNeither value is a reference or originalNo, always positive
Percent changeThe old or original valueOne value comes before the other in timeYes, sign shows up or down
Percent errorThe true or accepted valueYou are checking against a known correct answerOften reported positive

A quick test: ask yourself whether one of your two numbers is special. If one is the starting value, use percent change. If one is the correct value, use percent error. If neither stands out, the two are just peers, and percent difference is your formula.

Percent difference quick reference chart

Use this table to sanity check your own work. Each row shows two values, their average, and the resulting percent difference rounded to two decimals.

Percent difference for common pairs of values

Value AValue BAveragePercent difference
1001001000 percent
1001101059.52 percent
10012011018.18 percent
50605518.18 percent
6872705.71 percent
20010015066.67 percent
103020100 percent

Notice that 100 versus 120 and 50 versus 60 both give 18.18 percent. That is because percent difference depends on the ratio of the gap to the average, not on the raw size of the numbers, so proportional pairs land on the same percentage.

Where you will actually use it

  • Science and lab work: comparing two independent measurements of the same quantity, where neither is the accepted truth, is the classic textbook use of percent difference.
  • Shopping and pricing: two stores quote different prices for the same product and you want a fair sense of how far apart they are, with neither price being the "right" one.
  • Quality control: comparing readings from two instruments or two samples to flag pairs that disagree by more than an acceptable threshold.
  • Surveys and data: comparing two groups, regions, or time slots when neither serves as a baseline, so a symmetric comparison is fairer.

Because the formula leans on the average, it pairs naturally with basic statistics. If you are juggling more than two numbers, our average calculator handles the midpoint step, and once you have it you can drop the values into a percent difference calculation directly.

Common mistakes to avoid

  • Dividing by one value instead of the average. That turns percent difference into percent change or percent error. Always divide by ((A plus B) divided by 2).
  • Forgetting the absolute value. Percent difference is always positive. If you get a negative number, drop the sign, since direction is not part of the answer.
  • Using it when one value is a true or original value. If a reference exists, percent difference is the wrong choice. Use percent change or percent error instead.
  • Averaging incorrectly. The average of the two values is their sum divided by 2, not the larger value or the smaller value.
  • Skipping the times 100. Without it you are left with a decimal like 0.0571 rather than 5.71 percent.

Good to know

If both values are zero, percent difference is undefined, because the average in the denominator is zero and you cannot divide by zero. Also, percent difference can exceed 100 percent when the two numbers are very far apart. For example, 10 and 30 have an average of 20 and a gap of 20, giving exactly 100 percent, and an even wider gap pushes past that. This is normal and simply reflects that one value is much larger than the other relative to their midpoint.

Percent difference compares two peers against their shared middle. No before, no after, no true value, just how far apart they sit.

Calculate percent difference instantly

Skip the arithmetic. Enter your two values below and the calculator returns the percent difference, with the absolute difference and the average handled for you.

๐Ÿ“Š Try the free tool Percent Difference Calculator Free percent difference calculator. Enter two values to get the percentage difference relative to their average, plus the absolute difference and the mean.

Once you internalize the rule "absolute difference over the average, times 100," percent difference becomes a quick, fair way to compare any two numbers that stand on equal footing. Keep it straight from percent change and percent error, and you will reach for the right formula every time.

Frequently asked questions

What is the percent difference formula?

Percent difference equals the absolute difference between two values divided by their average, then multiplied by 100. In symbols it is ( |A minus B| divided by ((A plus B) divided by 2) ) times 100. The result is always positive, because the absolute value ignores which number is larger.

What is the difference between percent difference and percent change?

Percent difference divides by the average of two values and is always positive, used when neither value is a reference. Percent change divides by the old, original value and can be negative to show a rise or fall over time. The denominator is the key difference between them.

Can percent difference be negative?

No. Percent difference uses the absolute value of the gap between the two numbers, so it is always zero or positive. It measures how far apart the values are, not which one is bigger, which is why swapping the two values gives the exact same answer.

Why do you divide by the average in percent difference?

Dividing by the average treats both values as equally valid, with no special reference point. Because the average is symmetric, the result does not depend on which value you call A and which you call B, giving a fair comparison when neither number is an original or a true value.

When should I use percent difference instead of percent error?

Use percent difference when neither value is a known correct answer, such as comparing two independent measurements. Use percent error when one value is the true or accepted value and you are checking how close a measured value comes to it. The reference point decides which formula fits.

Can percent difference be more than 100 percent?

Yes. When the two values are very far apart relative to their average, percent difference can exceed 100 percent. For example, 10 and 30 give exactly 100 percent, since the gap of 20 equals their average of 20. A wider gap pushes the result even higher.

Tools used in this guide

Keep reading