how to calculate percentage difference

Percentage Difference Calculator

Enter two values to calculate their percentage difference using the standard formula.

If you're trying to compare two numbers and want to know how far apart they are in relative terms, percentage difference is the right tool. It's commonly used in science, data analysis, quality checks, pricing comparisons, and everyday problem solving.

What is percentage difference?

Percentage difference tells you the size of the difference between two values, relative to their average. Unlike percentage change, percentage difference does not assume one value is a starting point and the other is an ending point.

Percentage Difference Formula
Percentage Difference = (|A - B| / ((|A| + |B|) / 2)) × 100

Where:

  • A = first value
  • B = second value
  • |A - B| = absolute difference (always non-negative)
  • ((|A| + |B|) / 2) = average magnitude of the two values

How to calculate percentage difference step by step

  1. Find the absolute difference between the two values: |A - B|.
  2. Find the average of their absolute values: (|A| + |B|)/2.
  3. Divide difference by average.
  4. Multiply by 100 to convert to percent.

Example 1: 40 and 50

Difference = |40 - 50| = 10

Average = (|40| + |50|) / 2 = 45

Percentage Difference = (10 / 45) × 100 = 22.22%

Example 2: 95 and 100

Difference = |95 - 100| = 5

Average = (95 + 100) / 2 = 97.5

Percentage Difference = (5 / 97.5) × 100 = 5.13%

Percentage difference vs percentage change

These are often confused. Use the one that matches your goal:

  • Percentage difference: compares two values symmetrically (no “before” or “after”).
  • Percentage change: measures increase/decrease from an original value.

For percentage change, the formula is usually: ((New - Old) / Old) × 100.

Common mistakes to avoid

  • Using one value as the denominator (that gives percentage change, not percentage difference).
  • Forgetting the absolute value around the difference.
  • Not converting the final decimal into a percentage by multiplying by 100.
  • Ignoring the zero case. If both values are zero, percentage difference is defined as 0% in this calculator.

When should you use percentage difference?

Use percentage difference when order does not matter and you simply want to quantify how far apart two numbers are:

  • Comparing lab measurements from two instruments
  • Comparing two suppliers' quotes
  • Checking variation between estimates and actuals
  • Evaluating consistency in repeated tests

Quick FAQ

Can percentage difference be greater than 100%?

Yes. If the difference between values is larger than their average, the result exceeds 100%.

Can I use negative numbers?

Yes. This page uses absolute values in the denominator so the result reflects magnitude and stays meaningful.

What if both numbers are the same?

The difference is zero, so percentage difference is 0%.

Use the calculator above whenever you need a fast, reliable comparison. It shows both the final answer and the exact substitution into the formula so you can verify each step.

🔗 Related Calculators