How to calculate percentages: every formula with examples
Work it out with your own numbersPercentage calculator: X% of Y, % change, reverse %, VAT and % points.Open the calculator →“Per cent” means “out of 100”, so 20% is 20 out of every 100, or 0.2 as a decimal. Almost every percentage question is one of three sums: part = percent ÷ 100 × whole, percent = part ÷ whole × 100, and % change = (new − old) ÷ old × 100. For example, 15% of 80 is 0.15 × 80 = 12, and 12 out of 80 is 12 ÷ 80 × 100 = 15%.
This guide covers those three sums, the reverse questions (finding the original number), discounts and tax, the traps that catch most people, percentage points, and margin versus markup. The percentage calculator does every one of them as you type.
The three basic percentage sums
percent as a decimal = percent ÷ 100
part = decimal × whole
percent = part ÷ whole × 100
% change = (new − old) ÷ old × 100
1. What is X% of Y?
Turn the percentage into a decimal and multiply. 15% of 80: 15 ÷ 100 = 0.15, and 0.15 × 80 = 12.
2. X is what percent of Y?
Divide the part by the whole, then multiply by 100. A test score of 45 out of 60: 45 ÷ 60 = 0.75, and 0.75 × 100 = 75%.
3. What is the percentage change from X to Y?
Find the difference, divide by the old value, then multiply by 100. Rent going from 2,400 to 2,700: (2,700 − 2,400) ÷ 2,400 × 100 = +12.5%. If the answer is negative, it is a decrease. The percentage increase calculator does this one on its own.
All the common percentage formulas
| Question | Formula | Example |
|---|---|---|
| What is X% of Y? | X ÷ 100 × Y | 20% of 150 = 30 |
| X is what % of Y? | X ÷ Y × 100 | 30 is 20% of 150 |
| % change from X to Y | (Y − X) ÷ X × 100 | 80 → 100 is +25% |
| Y plus X% | Y × (1 + X ÷ 100) | 200 + 15% = 230 |
| X is P% of what? | X ÷ (P ÷ 100) | 12 is 8% of 150 |
| Value before a P% change | after ÷ (1 + P ÷ 100) | 230 after +15% was 200 |
| % difference of A and B | |A − B| ÷ ((A + B) ÷ 2) × 100 | 48 and 52 differ by 8% |
| Percentage points | new % − old % | 4% → 4.5% is +0.5 points |
| Two changes in a row | (1 + A ÷ 100) × (1 + B ÷ 100) − 1 | −20% then −10% = −28% |
| Percent error | |measured − true| ÷ true × 100 | 9.8 vs 10 is 2% |
| Fraction to percent | top ÷ bottom × 100 | 3/8 = 37.5% |
How do you find the original number?
Sometimes you know the result and the percentage, and need the number you started from.
- X is P% of what? Divide by the percentage as a decimal. If 12 people are 8% of a group, the group is 12 ÷ 0.08 = 150.
- What was it before a rise? Divide by 1 plus the rise. A salary of 105,000 after a 5% raise was 105,000 ÷ 1.05 = 100,000 before.
- What was it before a fall? Divide by 1 minus the fall. Something costing 180 after 25% off was 180 ÷ 0.75 = 240.
Discounts, tax and VAT
To take a percentage off, multiply by 1 minus the percentage: 240 with 25% off is 240 × 0.75 = 180. To add tax, multiply by 1 plus the rate: 1,000 plus 15% VAT is 1,000 × 1.15 = 1,150.
To remove tax from a price that already includes it, divide instead: 1,150 ÷ 1.15 = 1,000, so the tax was 150. A very common mistake is to take 15% off 1,150, which gives 977.50. That is wrong because the 15% was worked out on 1,000, not on 1,150.
Two discounts one after the other do not add up. 20% off and then a further 10% off is 0.8 × 0.9 = 0.72 of the price, so 28% off, not 30%. The discount calculator handles stacked discounts, amounts off and sales tax.
The trap: a rise and a fall don’t cancel out
A percentage is always worked out on a starting number, and after a change the starting number is different. So:
- +10% then −10%: 100 → 110 → 99, which is −1% overall.
- +50% then −50%: 100 → 150 → 75, which is −25% overall.
- A price that falls from 2,700 back to 2,400 has dropped by 300 ÷ 2,700 = 11.11%, even though going up from 2,400 to 2,700 was +12.5%.
To undo a change, use −P ÷ (100 + P) × 100. A 30% fall needs a rise of 30 ÷ 70 × 100 = 42.86% to get back to where it was. This is why an investment that loses 30% has to gain almost 43% just to break even.
Percent or percentage points?
When a rate moves from 4% to 4.5%, it has gone up by 0.5 percentage points, but by 12.5% in relative terms (0.5 ÷ 4 × 100). Both are correct, they just answer different questions. Interest rates, tax rates and poll results should be compared in points; saying “the rate rose 12.5%” sounds much bigger than it is.
Percentage difference or percentage change?
Percentage change has a clear before and after and divides by the old value. Percentage difference compares two values with no order, such as two shops’ prices, and divides by their average, so it gives the same answer either way round. Two prices of 48 and 52 differ by 4 ÷ 50 × 100 = 8%.
Profit margin or markup?
Both describe profit as a percentage, but of different numbers. Margin divides the profit by the selling price; markup divides it by the cost.
profit = price − cost
margin % = profit ÷ price × 100
markup % = profit ÷ cost × 100
price for a target margin = cost ÷ (1 − margin ÷ 100)
Something that costs 80 and sells for 100 makes 20 profit: a 20% margin but a 25% markup. If you want a 25% margin on an item costing 60, the price is 60 ÷ 0.75 = 80, not 60 × 1.25 = 75 (that would only be a 20% margin). The profit margin calculator and markup calculator switch between the two.
Quick tricks for working out percentages in your head
- 10%: move the decimal point one place left. 10% of 340 is 34.
- 5%: half of 10%. 5% of 340 is 17.
- 15%: 10% plus 5%. 15% of 340 is 34 + 17 = 51.
- 1%: move the decimal point two places. 1% of 340 is 3.4, so 3% is 10.2.
- Swap them round: X% of Y is the same as Y% of X. 8% of 50 is hard; 50% of 8 is 4.
- Fractions: 25% is a quarter, 50% a half, 75% three quarters, 20% a fifth, 12.5% an eighth.
Common questions
How do I work out a percentage of a number?
Divide the percentage by 100 and multiply by the number. 15% of 80 is 15 ÷ 100 × 80 = 12. A quick check: 10% of 80 is 8, and 5% is half of that, 4, so 15% is 8 + 4 = 12.
How do I work out what percentage one number is of another?
Divide the part by the whole and multiply by 100. If you scored 45 out of 60, that is 45 ÷ 60 × 100 = 75%.
How do I calculate a percentage increase or decrease?
Take the old value from the new one, divide by the old value and multiply by 100. A rent going from 2,400 to 2,700 is (2,700 − 2,400) ÷ 2,400 × 100 = +12.5%. A minus answer is a decrease.
Why doesn’t a 10% rise and a 10% fall cancel out?
Because the second percentage is worked out on a different number. 100 plus 10% is 110, and 10% of 110 is 11, so the fall takes it to 99: −1% overall. To undo a 10% rise you need a fall of about 9.09%.
How do I remove VAT or sales tax from a price?
Divide the price by 1 plus the tax rate as a decimal. A price of 1,150 that includes 15% VAT was 1,150 ÷ 1.15 = 1,000 before tax, so the VAT is 150. Taking 15% off 1,150 gives 977.50, which is wrong, because the tax was worked out on 1,000.
What is the difference between percent and percentage points?
Percentage points are the plain gap between two percentages. A rate moving from 4% to 4.5% has risen by 0.5 percentage points, but by 12.5% in relative terms (0.5 ÷ 4 × 100). Interest rates and poll results are usually compared in points.
This guide explains the rules in plain English for planning. It is not legal, financial or flight-operations advice; check your contract, the official source linked above, your employer or your operator.