How to Calculate a Percentage: Formulas With Examples

Percentages appear in shop discounts, exam marks, tax and salary rises. Every one of these questions comes down to a handful of formulas. The Percentage Calculator does all of them and shows the working, but here is how they work by hand.
1. What is X% of Y?
Multiply Y by X and divide by 100. 15% of 80 = 80 × 15 ÷ 100 = 12.
2. X is what percent of Y?
Divide X by Y and multiply by 100. 30 out of 120 = 30 ÷ 120 × 100 = 25% — the same formula turns exam marks into a percentage.
3. Percentage change from X to Y
Subtract the old value from the new one, divide by the old value and multiply by 100. From 50 to 65: (65 − 50) ÷ 50 × 100 = +30%. From 65 back to 50 is −23.08% — not −30%, because the starting value is different.
4. Percentage difference between two numbers
When neither number is “the old one”, compare the gap with their average: |X − Y| ÷ ((X + Y) ÷ 2) × 100. For 40 and 60: 20 ÷ 50 × 100 = 40%.
5. Add or subtract a percentage
Adding 20% to 50 gives 50 × 1.20 = 60; subtracting 20% gives 50 × 0.80 = 40. For shop prices, Discount Calculator shows the saving as well.
6. Find the original value
If 120 is the price after a 20% increase, the original is 120 ÷ 1.20 = 100 — not 120 minus 20%, which would be 96. In the calculator, choose X is the result after Y% change — find the original.
Do it without the maths
- Open Percentage Calculator.
- Under What do you want to know?, pick the question that matches yours.
- Enter the two numbers. The answer appears straight away, in figures and in words, with the formula used.