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∣10−15∣\left|10 - 15\right|

40%\displaystyle 40\%

Percent

40%\displaystyle 40\%

Decimal

0.4\displaystyle 0.4

Fraction

25\displaystyle \frac{2}{5}
Show the work
  1. Absolute difference

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

    d=∣a−b∣=∣10−15∣=5\begin{aligned} d &= \left|a - b\right| \\ &= \left|10 - 15\right| \\ &= 5 \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=(10+15)÷2=12.5\begin{aligned} m &= \frac{\left|a\right| + \left|b\right|}{2} \\ &= \left(10 + 15\right) \div 2 \\ &= 12.5 \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%=5÷12.5×100%=40%\begin{aligned} P &= \frac{d}{m} \times 100\% \\ &= 5 \div 12.5 \times 100\% \\ &= 40\% \end{aligned}
  4. Result

    So the percentage difference between 1010 and 1515 is 40%40\%.

Worked examples