Ultimate Calculator
Math guide

How to calculate a percentage

Learn the three percentage problems: finding a percent of a number, what percent X is of Y, and finding the whole. Includes worked examples.

To find a percentage of a number, convert the percent to a decimal and multiply: 20% of 150 is 0.20 × 150 = 30. To find what percent one number is of another, divide the part by the whole and multiply by 100.

What a percentage means

Percent means "per hundred". So 35% is the fraction 35/100, which is the decimal 0.35. To turn a percent into a decimal, divide by 100 (move the decimal point two places left). To turn a decimal into a percent, multiply by 100 (move it two places right).

Every percentage problem involves three quantities: the part, the whole and the percent. They are tied together by one relationship:

Part = Percent × Whole

If you know any two of the three, you can find the third. That gives three types of problem.

You wantYou knowDo this
The partPercent and wholePercent (as a decimal) × Whole
The percentPart and wholePart ÷ Whole × 100
The wholePart and percentPart ÷ Percent (as a decimal)

Type 1: a percent of a number

Convert the percent to a decimal, then multiply by the number.

Example 1. What is 15% of 240?

  1. 15% as a decimal is 0.15.
  2. 0.15 × 240 = 36.

Example 2. A $64 purchase has 7.5% sales tax. The tax is 0.075 × 64 = $4.80, so the total is 64 + 4.80 = $68.80. You can get the total in one step by multiplying by 1.075: 64 × 1.075 = 68.80.

Type 2: what percent X is of Y

Divide the part by the whole, then multiply by 100.

Example 3. You answer 18 of 24 questions correctly. 18 ÷ 24 = 0.75, and 0.75 × 100 = 75%.

Example 4. 45 is what percent of 36? 45 ÷ 36 = 1.25, which is 125%. A result above 100% is fine. It simply means the part is larger than the number you are comparing it to.

The key is identifying the whole. It is the number that comes after the word "of", or the total, original or reference amount. If you would rather not set it up by hand, the percentage calculator handles all three problem types.

Type 3: finding the whole

When you know a part and the percent it represents, divide the part by the percent written as a decimal.

Example 5. 30 is 12% of what number? 30 ÷ 0.12 = 250. Check: 0.12 × 250 = 30.

Example 6. A jacket costs $68 after a 20% discount. What was the original price? After 20% off you pay 80% of the original, so $68 is 80% of the whole. 68 ÷ 0.80 = $85. Check: 20% of 85 is 17, and 85 − 17 = 68.

Mental shortcuts

  • 10%: move the decimal point one place left. 10% of 80 is 8.
  • 5%: half of 10%. 5% of 80 is 4.
  • 1%: move the decimal point two places left. 1% of 80 is 0.8.
  • Build up: 15% of 80 is 10% plus 5%, which is 8 + 4 = 12. A 20% tip is 10% doubled.
  • Swap: X% of Y equals Y% of X. So 8% of 50 is the same as 50% of 8, which is 4.

Common mistakes

  • Forgetting to convert the percent. 15 × 240 = 3,600 is not 15% of 240. Use 0.15, or multiply by 15 and then divide by 100.
  • Dividing by the wrong number. "What percent of 24 is 18" means 18 ÷ 24, not 24 ÷ 18. The whole goes on the bottom.
  • Reversing a discount by adding the same percent back. Adding 20% to $68 gives $81.60, not the original $85. The 20% was taken from the larger original price, so you must divide by 0.80 instead.
  • Assuming equal percents cancel. A 10% increase followed by a 10% decrease does not return you to the start: 100 becomes 110, then 99. Each percent applies to a different whole. For before-and-after comparisons, use the percent change calculator.
  • Adding percents of different wholes. 50% of one class and 30% of another class do not combine to 80% of anything. Go back to the actual counts first.

Percentages, decimals and fractions are three ways to write the same value. If a percent is awkward, try the fraction: 25% is 1/4, 20% is 1/5, 12.5% is 1/8, and 33⅓% is 1/3. The fraction calculator can help when the numbers do not come out evenly.

Common questions

How do I calculate a percentage of a number?

Divide the percent by 100 to get a decimal, then multiply by the number. For example, 15% of 240 is 0.15 × 240 = 36.

How do I find what percent one number is of another?

Divide the part by the whole and multiply by 100. For example, 18 out of 24 is 18 ÷ 24 × 100 = 75%.

How do I find the original price before a discount?

Divide the sale price by 1 minus the discount as a decimal. A $68 price after 20% off came from 68 ÷ 0.80 = $85.