Percentage calculator (percent of and % change)
Work out X% of Y, what percent one number is of another, and percentage change.
Business & Calculators
Enter two values to see how far apart they are as a percentage of their average, step by step.
Private by design — your data stays on your device.
22.2222%
+25%
The percentage difference is the same whichever value you enter first. The percentage change depends on the order.
Percentage difference compares two values on equal terms: it divides the gap between them by their average, so swapping the values gives the same answer. Percentage change is different, because it measures a move from a starting value to a new one and divides by the starting value. This calculator shows both, with the working for each.
All calculations run in your browser. The numbers you enter are not sent or stored anywhere.
Percentage difference = |A − B| ÷ ((A + B) ÷ 2) × 100. For 80 and 100, the gap is 20 and the average is 90, so the difference is 20 ÷ 90 × 100 = 22.22%.
Use percentage difference when neither value is the starting point, such as two prices from different shops or two measurements of the same thing. Use percentage change when one value came first: 80 to 100 is a 25% increase, but 100 to 80 is a 20% decrease.
If both values are the same, including both zero, the difference is 0%. If the values differ but average to zero, such as −5 and 5, the percentage difference is undefined and the calculator says so. Percentage change from a starting value of zero is also undefined.
Yes, but the result is easiest to interpret for positive values. With negative numbers the calculator divides by the size of the average (its absolute value), so the percentage difference is never negative.