How to Calculate a Percentage
A percentage is a way of writing a number as a part of 100. The word itself means “per hundred.” If 15 out of every 100 parts of something are selected, that is 15%. Percentages are used for exam scores, prices, survey results, and almost any case where you want to compare a part with a whole on a common scale.
This guide explains the two calculations people need most often: turning a part and a whole into a percentage, and finding a percentage of a number. It is about the arithmetic itself. If you want the button-by-button steps on a handheld calculator, see our existing guide, How do I do percentages on a calculator?. You can also try the numbers in the percentage of a number calculator as you read.
Percentage of a Number
Find what P% of a number is, instantly, with the working shown underneath.
Result
The basic percentage formula
To express a part as a percentage of a whole, divide the part by the whole and multiply by 100:
The whole is the reference amount — the total marks, the original price, the full group. The part uses the same units as the whole. The result is a percentage, not a dollar or a mark.
To take a percentage of a number, convert the percentage to a decimal (divide it by 100) and multiply:
These two formulas are inverses of each other. If 15% of 200 is 30, then 30 is 15% of 200. The homepage calculator can switch between those questions; the sections below show the working by hand.
How to turn a part and a whole into a percentage
Use this method when you already know both numbers and want a percentage.
- Identify the part and the whole, and check that they are in the same units.
- Divide the part by the whole. This gives a decimal or a fraction.
- Multiply by 100 to convert that value into a percentage.
- If you are writing the result down, you may round it. Keep enough decimal places that a small non-zero result is not hidden as zero.
Example: 45 out of 60
A student scores 45 marks on a paper that is out of 60.
- Part = 45, whole = 60.
- 45 ÷ 60 = 0.75.
- 0.75 × 100 = 75.
The score is 75%. The same working applies whenever the units match. The marks percentage calculator is built for exam marks and will also show the marks remaining.
Example: 30 is what percent of 200?
Here 30 is the part and 200 is the whole.
- 30 ÷ 200 = 0.15.
- 0.15 × 100 = 15.
So 30 is 15% of 200. This is the same relationship as “15% of 200 is 30,” just asked in the opposite direction.
Example: 7 out of 8
- 7 ÷ 8 = 0.875.
- 0.875 × 100 = 87.5.
The percentage is 87.5%. You do not have to force the result to a whole number. Half a percentage point is a real value, and rounding it to 88% would be a separate, later choice.
How to find a percentage of a number
Use this method when you know a percentage and a number, and you want the amount.
- Convert the percentage to a decimal by dividing by 100. For example, 15% becomes 0.15, and 2.5% becomes 0.025.
- Multiply that decimal by the number.
- The product is the amount — in the same units as the original number, not a percentage.
Example: What is 15% of 200?
- 15 ÷ 100 = 0.15.
- 0.15 × 200 = 30.
So 15% of 200 is 30. You can also think of 15% as 15/100, and compute (15/100) × 200 = 30.
Example: What is 2.5% of 80?
- 2.5 ÷ 100 = 0.025.
- 0.025 × 80 = 2.
The amount is 2. Percentages smaller than 1%, and percentages that are not whole numbers, use the same two steps.
A third question, “30 is 15% of what number?”, is a reverse percentage: 30 ÷ 0.15 = 200. See How reverse percentages work and the reverse percentage calculator.
Fractions and decimals are the same idea
A percentage, a decimal, and a fraction can describe the same proportion.
- 3/4 = 0.75 = 75%.
- 1/8 = 0.125 = 12.5%.
- 25% = 0.25 = 1/4.
To go from a decimal to a percentage, multiply by 100. To go from a percentage to a decimal, divide by 100. To go from a fraction to a percentage, divide the numerator by the denominator and then multiply by 100. A fuller tour of those conversions is in Converting fractions, decimals, and percentages, and the fraction to percentage calculator will do the arithmetic as you type.
Repeating decimals appear in everyday fractions. For example, 1/3 as a percentage is (1 ÷ 3) × 100 = 33.333…%. If you need an exact value, leave it as 33 1/3% or as the fraction 1/3. If you need a rounded value, say how you rounded.
What the whole (the base) must be
A percentage is always a percentage *of something*. That “something” is the base, and changing the base changes the meaning of the result.
- Exam marks use the official total as the base: 45 out of 60 is 75% of the paper, not 75% of a different paper.
- A price change uses the original price as the base. A rise from 50 to 80 is a 60% increase, because the difference 30 is 60% of 50, not of 80. Using the later number as the base is a different calculation and is one of the common percentage mistakes.
- Percentage difference, which uses the midpoint of two values, is not the same as a percentage of a total. That comparison belongs on the percentage difference calculator page.
If the whole is 0, you cannot form a percentage of it: you would be dividing by zero. A calculator should explain that, not print Infinity or NaN. Our calculation methodology describes how this site handles that case.
Percentages greater than 100%
A percentage can be larger than 100% when the part is larger than the whole. If a value grows from 40 to 80, the new value is 200% of the original (80 ÷ 40 × 100 = 200), which is a 100% increase, not a 200% increase. “Percent of” and “percent increase” use different formulas; see Percentage increase vs. percentage points.
When to use each calculation
- Use (part ÷ whole) × 100 for scores, turnout, pass rates, and “what percent is this of that?”
- Use (P ÷ 100) × N for tax, tips, discounts, and “what is P% of this number?”
- Use a percentage change formula, not the basic “percent of” formula, when you want growth or decline from an earlier value. See the percentage change calculator.
- Use a reverse-percentage formula when the percentage and the resulting part are known, but the original whole is not.
Common mistakes
- Switching the part and the whole. “30 is what percent of 200?” uses 200 in the denominator. “200 is what percent of 30?” is a different, much larger figure.
- Forgetting to multiply (or divide) by 100. Leaving the answer as 0.15 when you meant 15%, or as 15 when you meant 0.15 of the number, are both off by a factor of 100.
- Mixing percent of with percent change. “80 is 200% of 40” is true. “80 is a 200% increase from 40” is not. The increase is 100%.
- Averaging percentages that have different bases. Two papers, 40/50 and 90/100, are not “85% overall” if you simply average 80% and 90%. The combined marks are 130 out of 150, which is 86.666…%. Weight by the totals, or add the raw marks first.
Frequently asked questions
How do you calculate a percentage?
Divide the part by the whole and multiply by 100. If you need a percentage of a number instead, divide the percentage by 100 and multiply by that number.
How do you find 15% of a number?
Convert 15% to 0.15 and multiply. For 200, 0.15 × 200 = 30.
Can a percentage be more than 100%?
Yes. If the part is larger than the whole, the percentage is greater than 100%. That is common when you compare a later value with an earlier, smaller value.
What is the difference between a percentage and a percentage point?
A percentage is a part of 100, or a relative change. A percentage point is the simple difference between two percentages. A move from 4% to 6% is 2 percentage points, which is a 50% increase relative to 4%. The distinction is explained in Percentage increase vs. percentage points.
Do I need a calculator?
No. The steps above work with pencil and paper. A calculator is useful for longer decimals and for checking. The tool below uses the same formulas.
