How to Calculate Percentage: 3 Formulas With Examples
Learn how to calculate percentage three ways: find a percentage of a number, work out what percent X is of Y, and recover the whole from a part and a percent.
Updated
To calculate a percentage, divide the part by the whole and multiply by 100: percentage = part ÷ whole × 100. To find a percentage of a number, turn the percent into a decimal and multiply: 20% of 150 is 0.20 × 150 = 30. Every everyday percentage problem is one of three versions of that same relationship.
What a percentage is
Percent means "per hundred". 45% is 45 out of every 100, which is the fraction 45/100 and the decimal 0.45. Converting between the three forms is the only skill the formulas need:
- Percent to decimal: divide by 100, which moves the decimal point two places left. 7.5% becomes 0.075.
- Decimal to percent: multiply by 100, which moves the point two places right. 0.62 becomes 62%.
- Fraction to percent: divide the top by the bottom, then multiply by 100. 3/8 is 0.375, or 37.5%.
The Fraction to Decimal Converter shows the decimal and the percentage for any fraction if you would rather not divide by hand.
The three percentage questions
Every problem contains three numbers: a part, a whole and a percent. You are given two and asked for the third.
| Question | Formula | Example |
|---|---|---|
| What is P% of Y? | P ÷ 100 × Y | 20% of 150 = 30 |
| X is what percent of Y? | X ÷ Y × 100 | 30 is 20% of 150 |
| X is P% of what number? | X ÷ (P ÷ 100) | 30 is 20% of 150 |
The hard part is rarely the arithmetic. It is deciding which number is the whole. The whole is the value that stands for 100%: the full price, the total marks, the entire population. In a sentence it usually follows the word "of".
How to find a percentage of a number
Use this when you know the percent and the whole.
- Divide the percent by 100 to get a decimal.
- Multiply the decimal by the number.
Worked examples:
- 15% of 80:
0.15 × 80 = 12. - An 18% tip on a 64 dollar bill:
0.18 × 64 = 11.52. - 6.5% sales tax on 240 dollars:
0.065 × 240 = 15.60. - 250% of 40:
2.5 × 40 = 100. Percentages above 100 are fine and give a result larger than the starting number.
X is what percent of Y
Use this when you know the part and the whole and need the rate.
- Divide the part by the whole.
- Multiply by 100 and add the percent sign.
Worked examples:
- A score of 42 out of 50:
42 ÷ 50 = 0.84, so 84%. - 9 absent students in a class of 36:
9 ÷ 36 = 0.25, so 25%. - 150 calories from fat in a 400 calorie meal:
150 ÷ 400 = 0.375, so 37.5%.
If the part is larger than the whole the answer is above 100%. Selling 130 units against a target of 100 is 130% of target.
Finding the whole from a part and a percent
Use this when you know that some number is a given percent of an unknown total.
- Turn the percent into a decimal.
- Divide the part by that decimal.
If 30 is 20% of a number, the number is 30 ÷ 0.20 = 150. If a 45 dollar deposit is 15% of the price, the price is 45 ÷ 0.15 = 300 dollars. A common mistake is to multiply here. Check by working forward: 15% of 300 is 45, so the answer holds.
Mental math shortcuts
Most percentages can be built from a few easy ones.
- 10%: move the decimal point one place left. 10% of 86 is 8.6.
- 1%: move it two places. 1% of 86 is 0.86.
- 5%: half of 10%. 5% of 86 is 4.3.
- 15%: 10% plus 5%. 15% of 86 is 12.9.
- 20%: double 10%. 20% of 86 is 17.2.
- 25%: divide by 4. 50%: divide by 2. 75%: half plus a quarter.
Percentages are reversible: X% of Y equals Y% of X. So 8% of 50 is the same as 50% of 8, which is 4. Swap the numbers whenever the other order is easier.
Common percentages as fractions and decimals
Knowing these by heart turns many problems into a single division.
| Percent | Fraction | Decimal |
|---|---|---|
| 1% | 1/100 | 0.01 |
| 5% | 1/20 | 0.05 |
| 10% | 1/10 | 0.1 |
| 12.5% | 1/8 | 0.125 |
| 20% | 1/5 | 0.2 |
| 25% | 1/4 | 0.25 |
| 33.33% | 1/3 | 0.3333 |
| 50% | 1/2 | 0.5 |
| 66.67% | 2/3 | 0.6667 |
| 75% | 3/4 | 0.75 |
| 100% | 1 | 1 |
The values for 1/3 and 2/3 are rounded, because those decimals repeat forever.
Using the calculator
The Percentage Calculator has a panel for each of the first two questions. "What is X% of Y?" takes the percent and the number and returns the part. "X is what % of Y?" takes the part and the whole and returns the rate. Results update as you type and each has a copy button.
There is no dedicated panel for finding the whole, so do that one by division as shown above, then confirm it in the first panel: enter the percent and your answer, and the result should be the part you started with.
The third panel, "Percentage change from X to Y", answers a different kind of question, which is where the related guides come in.
Which percentage calculation do you need
A plain percentage compares a part with its whole at one moment. Other situations use different formulas:
- A value that went up over time: see how to calculate percentage increase.
- A value that moved either way, or the gap between two rates: see how to calculate percentage change.
- Two values where neither is the starting point: see the percentage difference formula.
- A sale price or coupon: see how to calculate percent off.
More converters for numbers and units are in the numbers category.
Try it
Open the Percentage Calculator, enter 15 and 80 in the first panel to get 12, then enter 42 and 50 in the second panel to see 84%.