How to Calculate a Percentage
"Per cent" means "per hundred", so a percentage is simply a fraction with 100 at the bottom: 15% is 15/100, or 0.15. Every percentage question is the same small formula, part = percentage ÷ 100 × whole, rearranged to find whichever of the three numbers is missing. This calculator does that rearranging for you and shows the exact formula it used, so you can see how the answer was reached.
The Five Calculations
| Question | Formula | Example |
|---|---|---|
| What is X% of Y? | X ÷ 100 × Y | 15% of 80 = 0.15 × 80 = 12 |
| X is what percent of Y? | X ÷ Y × 100 | 30 of 120 = 30 ÷ 120 × 100 = 25% |
| X is Y% of what? | X ÷ (Y ÷ 100) | 45 is 15% of 45 ÷ 0.15 = 300 |
| Add X% to Y | Y × (1 + X ÷ 100) | 50 + 20% = 50 × 1.2 = 60 |
| Take X% off Y | Y × (1 − X ÷ 100) | 80 − 25% = 80 × 0.75 = 60 |
Need the change between an old and a new value, such as a price rising from 40 to 50? That's a different question with its own formula: use the percentage change calculator.
Everyday Examples
- Shopping discounts: a 30% discount on a 65 item is 30% of 65 = 19.50 off, so you pay 65 − 30% = 45.50. Our discount price calculator also handles "extra 10% off" stacked discounts.
- Tips and service charges: a 12% tip on a bill of 48 is 5.76. Add 12% to 48 to get the total of 53.76.
- Exam scores: 42 marks out of 60 is 42 ÷ 60 × 100 = 70%.
- VAT and sales tax: adding 20% VAT to a net price of 150 gives 180. To remove VAT from a gross price, divide by 1.2 – don't subtract 20%, which gives the wrong answer (see below).
- Salary raises: a 4% raise on 2,500 a month adds 100, for a new salary of 2,600.
- Recipes and mixing: if 15% of a 300 ml mixture should be syrup, you need 45 ml.
Common Percentage Mistakes
- Adding then subtracting the same percentage doesn't get you back. 100 + 10% = 110, but 110 − 10% = 99, because the second 10% is taken from a bigger number.
- Removing tax by subtracting the rate. A price of 120 including 20% tax had a net price of 120 ÷ 1.2 = 100, not 120 − 20% = 96. Use "X is Y% of what?" with Y = 120 (the gross price is 120% of the net price).
- Percentage vs percentage points. An interest rate rising from 4% to 5% has risen by one percentage point, but by 25% in relative terms.
- Stacked discounts don't add up. 20% off and then another 10% off is 28% off in total, not 30%: 100 × 0.8 × 0.9 = 72.
Doing It in Your Head
A few shortcuts make mental maths easier. 10% is the number divided by 10, so 10% of 340 is 34; 5% is half of that (17) and 20% is double (68). 1% is the number divided by 100. And percentages can be swapped round: X% of Y = Y% of X, so 8% of 50 is the same as 50% of 8, which is 4.
Frequently Asked Questions
How do I calculate a percentage of a number?
Divide the percentage by 100 and multiply by the number. For example, 15% of 80 is 15 ÷ 100 × 80 = 12.
How do I work out what percentage one number is of another?
Divide the part by the whole and multiply by 100. For example, 30 out of 120 is 30 ÷ 120 × 100 = 25%.
How do I find the original number from a percentage?
Divide the part by the percentage as a decimal. If 45 is 15% of a number, the number is 45 ÷ 0.15 = 300.
How do I add a percentage to a price?
Multiply by 1 plus the percentage as a decimal. To add 20% to 50, calculate 50 × 1.2 = 60.
Can I use decimals and negative numbers?
Yes. You can type decimals with a point or a comma, such as 12.5 or 12,5, and negative values work in every row.
Is my data stored?
No. Everything is calculated in your browser, and nothing you type is saved or sent.