Enter two values
Type any two numbers (decimals allowed). Percent difference is symmetric: swapping A and B gives the same result. Use it when you’re comparing two measurements, two prices, or two results — and you don’t want to pick a baseline.
Want to compare two numbers without arguing about which one is the “original”? That’s exactly what percent difference is for. Enter Value A and Value B and this calculator instantly shows: percent difference, absolute difference, and the average used in the formula — plus a clean, shareable breakdown you can screenshot.
Type any two numbers (decimals allowed). Percent difference is symmetric: swapping A and B gives the same result. Use it when you’re comparing two measurements, two prices, or two results — and you don’t want to pick a baseline.
The percent difference formula compares how far apart two numbers are, relative to their average. The standard version (used in many math and science classes) is:
Percent difference (%) = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100
Here’s exactly how your percent difference is calculated. If you want to understand it once and never get confused again, read this section slowly one time — you’ll be set for life.
Subtract the two values and take the absolute value so the result is positive: |A − B|. If A = 120 and B = 100, the difference is 20.
Add the absolute values and divide by 2: (|A| + |B|) ÷ 2. For 120 and 100, the average is (120 + 100) ÷ 2 = 110.
Divide the difference by the average: 20 ÷ 110 = 0.181818… and multiply by 100 to get 18.18% (rounded).
Percent difference is everywhere — not just homework. Below are examples that feel “real,” so you can build intuition quickly. (And yes, these make great quick screenshots for social posts when you’re comparing numbers.)
Store A sells a product for $48. Store B sells it for $60. You’re not tracking “old vs new,” you’re comparing two offers. Difference = |48 − 60| = 12. Average = (48 + 60) ÷ 2 = 54. Percent difference = 12 ÷ 54 × 100 = 22.22%. Meaning: the prices are about 22% apart relative to the midpoint price.
Two devices measured the same sample: 9.8 and 10.3. Difference = 0.5. Average = (9.8 + 10.3) ÷ 2 = 10.05. Percent difference = 0.5 ÷ 10.05 × 100 = 4.98%. Meaning: the devices disagree by ~5% relative to the average reading.
You scored 86, the class average was 74. Difference = 12. Average = 80. Percent difference = 12 ÷ 80 × 100 = 15%. That’s a clean way to say your score was 15% away from the average (relative to the midpoint).
You walked 7,200 steps yesterday and 9,000 today. Difference = 1,800. Average = (7,200 + 9,000) ÷ 2 = 8,100. Percent difference = 1,800 ÷ 8,100 × 100 = 22.22%. If you post a progress screenshot, this number communicates “how different” the days were without calling yesterday the baseline.
If you bought something for $100 and it’s now $120, you have a clear baseline: $100. The best metric is percent increase = (120 − 100) ÷ 100 × 100 = 20%. Percent difference would give 18.18% (because it uses the average 110) — that’s not wrong mathematically, it’s just answering a different question.
A percent by itself can be vague. The most “viral” comparisons include context, a one-line caption, and one extra number. Here’s how to make your percent difference result instantly understandable.
Percent difference measures how far apart two numbers are relative to their average. It’s commonly used when you’re comparing two values but you don’t have (or don’t want) a clear “original” baseline. It’s symmetric: swapping the two values doesn’t change the answer.
Percent change uses a baseline (old) value: (new − old) ÷ old × 100. Percent difference uses the average of the two values: |A − B| ÷ ((|A| + |B|) ÷ 2) × 100. If you’re describing “before → after,” use percent change. If you’re comparing two independent values, use percent difference.
The average makes the comparison fair and symmetric. If you used A as the denominator, you’d get a different answer than if you used B. The average provides a neutral midpoint reference.
In the standard formula, yes. The absolute value |A − B| makes the numerator positive. Percent difference describes separation, not direction. If you need direction (increase vs decrease), use percent change instead.
Yes. If one value is much larger than the other, the difference can exceed the average. Example: A = 1 and B = 9. Difference = 8. Average = 5. Percent difference = 8 ÷ 5 × 100 = 160%.
It still works (in absolute mode). Example: A = 0 and B = 10 → difference 10, average 5 → percent difference 200%. If both are zero, percent difference is 0% because the values are identical.
For most real-world comparisons, absolute mode is safer because the denominator is based on magnitudes. Signed mode is mainly for special cases where sign carries meaning and you want the average to reflect direction. If signed mode creates a zero average (A = −B), percent difference becomes undefined.
No. Percent error compares a measured value to a “true” or accepted value: |measured − true| ÷ |true| × 100. Percent difference compares two measured values without choosing which is “true.”
It depends on the context. In measurement, smaller percent difference can mean better agreement between instruments. In pricing, a larger percent difference can indicate a better deal if you’re choosing the cheaper option. The calculator is neutral — it reports the gap; you decide what that means.
No. Calculations happen in your browser. If you press “Save Result,” it saves to local storage on your device only (so you can compare multiple pairs).
These are hand-picked from the Math & Conversion category to keep you in the “compare & compute” flow.
Note: These links follow the same ./calculators/... pattern used in your Math category cards.
This page’s filename is percent-difference.html (as listed in math.html).