Skip to content

How to Calculate Percentages: 3 Formulas With Examples

Work out X% of a number, what percent one number is of another, and percentage increase or decrease, with worked examples and the classic traps.

4 min read

Percentages show up everywhere: discounts, tax, exam scores, pay rises, interest rates and statistics in the news. Almost every percentage question is one of three types, and each has a simple formula. Once you can tell which type you are looking at, the maths takes seconds.

This guide covers all three, with worked examples and the mistakes people make most often. To check your answers, open the percentage calculator.

What a percentage is

Per cent means "per hundred". So 15% is 15 out of every 100, which you can also write as the fraction 15/100 or the decimal 0.15. To turn a percentage into a decimal, divide by 100. To turn a decimal into a percentage, multiply by 100.

PercentageDecimalFraction
50%0.51/2
25%0.251/4
20%0.21/5
10%0.11/10
1%0.011/100

Type 1: What is X% of Y?

This is the most common question. Use it for discounts, tips, tax and commission.

Example: What is 15% of 80?

  1. Turn the percentage into a decimal: 15 ÷ 100 = 0.15.
  2. Multiply: 0.15 × 80 = 12.

A useful shortcut: X% of Y is always the same as Y% of X. So 8% of 50 is the same as 50% of 8, which is 4.

Type 2: X is what percent of Y?

Use this to turn a part into a share of the whole, such as a test score or a budget category.

Example: You scored 12 out of 80. What percentage is that?

  1. Divide the part by the whole: 12 ÷ 80 = 0.15.
  2. Multiply by 100: 15%.

The order matters. The number you are measuring goes on top, and the total goes underneath.

Type 3: Percentage change

Use this to measure growth or decline: price rises, salary increases, population change or investment returns.

Example: A price goes from 50 to 65.

  1. Find the difference: 65 − 50 = 15.
  2. Divide by the starting value: 15 ÷ 50 = 0.3.
  3. Multiply by 100: +30%.

Now the price drops back from 65 to 50. The difference is −15, but you now divide by 65, the new starting point: −15 ÷ 65 = −23.1%. A 30% rise followed by a 23.1% fall takes you back to where you started. This asymmetry catches out a lot of people.

Working backwards from a percentage

Sometimes you know the result and need the original. A jacket costs 120 after 20% sales tax was added. What was the price before tax?

120 ÷ 1.20 = 100. Taking 20% off 120 gives 96, which is wrong, because the 20% was calculated on the smaller, original price. The sales tax calculator and VAT calculator do this reverse step for you.

Percent versus percentage points

If an interest rate moves from 4% to 5%, it has risen by one percentage point, but by 25 percent (1 ÷ 4 × 100). News reports mix these up all the time. Use "percentage points" for the gap between two percentages, and "percent" for the relative change.

Common mistakes to avoid

  • Adding percentage changes together. A 10% rise then a 10% fall is not zero. 100 becomes 110, then 99, which is a 1% loss overall.
  • Using the wrong base. Percentage change always divides by the starting value, not the ending one.
  • Stacking discounts. "50% off, then an extra 50% off" is 75% off in total, not 100%. The second discount applies to the already reduced price.
  • Confusing margin and markup. Selling for 150 something that cost 100 is a 50% markup but a 33.3% margin. The margin calculator shows both.

How to use the percentage calculator

  1. Choose the question: X% of Y, X is what % of Y, or the change from X to Y.
  2. Enter the two numbers.
  3. Read the answer. For percentage change, a rise is shown with a plus sign and a fall with a minus sign.

For shopping, the percent off calculator gives the sale price and the amount you save in one step. To compare measured results with expected ones, try the percent error calculator.

Frequently asked questions

How do I calculate a percentage of a number in my head?

Find 10% by moving the decimal point one place to the left, then scale it. For 15% of 80: 10% is 8, 5% is half of that (4), so 15% is 12. For 1%, move the decimal point two places.

How do I work out a percentage increase between two numbers?

Subtract the old value from the new one, divide by the old value and multiply by 100. Going from 40 to 50 is (50 − 40) ÷ 40 × 100 = 25%.

Can a percentage be more than 100?

Yes. A share of a whole cannot go above 100%, but a change can. If sales grow from 100 to 250, that is a 150% increase. A decrease, though, can never go beyond −100%, because that would mean less than nothing.

What is the difference between percent and percentile?

A percent is a share out of 100. A percentile is a rank: scoring in the 90th percentile means you did better than 90% of people, whatever your actual score was.

Share

Try it yourself

Run your own numbers with our free tool: Percentage calculator. No sign-up, and it works on any device.

Open the calculator