Percentage Difference Calculator

Compare two values and measure the difference between them as a percentage.

The first value to compare, like 40.

The second value to compare, like 60.

Try

Result

You entered∣100−100∣\left|100 - 100\right|

0%\displaystyle 0\%

Percent

0%\displaystyle 0\%

Decimal

0\displaystyle 0

Fraction

0\displaystyle 0
Show the work
  1. Absolute difference

    The difference dd is the distance between the two values, so take the absolute value. Here a=100a = 100 and b=100b = 100.

    d=∣a−b∣=∣100−100∣=0\begin{aligned} d &= \left|a - b\right| \\ &= \left|100 - 100\right| \\ &= 0 \end{aligned}
  2. Average of two values

    The average mm uses the absolute values so that it is positive; percentage difference compares the gap with this average, not with either value alone.

    m=∣a∣+∣b∣2=(100+100)÷2=100\begin{aligned} m &= \frac{\left|a\right| + \left|b\right|}{2} \\ &= \left(100 + 100\right) \div 2 \\ &= 100 \end{aligned}
  3. Percentage difference

    Divide the difference dd by the average mm and multiply by 100100 to find the percentage PP, because a percent is a number of hundredths.

    P=dm×100%=0÷100×100%=0%\begin{aligned} P &= \frac{d}{m} \times 100\% \\ &= 0 \div 100 \times 100\% \\ &= 0\% \end{aligned}
  4. Result

    So the percentage difference between 100100 and 100100 is 0%0\%.

Worked examples