Article

How to Calculate the Percentage of a Number: Formulas and Calculator

A percentage is a fraction with a denominator of 100. This article shows the formula, the reverse question (what percent one number is of another), how to find the number before an increase or decrease, and what happens when two percentages are applied in a row. You can test your own numbers in the percentage calculator. For example, 30 is 15% of 200.

Last updated:

For the change between two values, read Percentage Change: Formula and Examples. For proportions, see Rule of Three: How to Solve Proportions.

The formula for a percentage of a number

To find a percentage of a number, divide the percentage by 100 and multiply the result by the number. A percent is one hundredth of the whole, so 15% means 15 hundredths, or 0.15.

p% of n = p ÷ 100 × n
example: 15% of 200 = 15 ÷ 100 × 200 = 30

PercentValue of 200Mental shortcut
1%2one hundredth
5%10half of 10%
10%20move the decimal point one place
15%3010% plus half of 10%
25%50a quarter
50%100half
75%150three quarters

The order does not matter: 15% of 200 equals 200% of 15, which is 30.

A bar for the whole 200 with the part equal to 15% markedA horizontal bar stands for the number 200, which is 100%. The marked part from 0% to 15% corresponds to 30, and the remaining part of the bar to 170.0%100%15%02003085% = 170
15% of 200 is 30, because 15 ÷ 100 = 0.15 and 0.15 × 200 = 30. The remaining 85% is 170.

Try it with an example

Example: a price of 250 after a 30% discount. The chosen question and both numbers are already stored in the link to the calculator.

Question
number after a decrease
Number
250
Percent
30
Result
175

Open the calculator with these numbers

The calculator reads the values from the page address and shows the result right away. You can change them freely.

How the calculator works

The calculator offers seven questions to choose from. Each one uses a plain formula: p ÷ 100 × n, part ÷ whole × 100, part ÷ (p ÷ 100), n × (1 + p ÷ 100), n × (1 − p ÷ 100), and result ÷ (1 ± p ÷ 100) for the number before a change. The optional second percentage is applied to the result of the first. A zero percent in the question about the whole, and a 100% decrease in the question about the number before a decrease, have no solution, so the calculator shows a message instead of a result.

Six questions the percentage calculator answers

In the calculator you choose the type of question from a list, and the field labels change to match. The available calculations are listed below.

QuestionFormulaExample
What is p% of n?p ÷ 100 × n15% of 200 = 30
What percent is a part of a whole?part ÷ whole × 10030 of 200 = 15%
What is the whole if a part is p%?part ÷ (p ÷ 100)45 is 18% of 250
Number after an increase of p%n × (1 + p ÷ 100)200 after +15% = 230
Number after a decrease of p%n × (1 − p ÷ 100)200 after −15% = 170
Number before an increase or decreaseresult ÷ (1 ± p ÷ 100)230 after +15% came from 200

The calculator also shows the amount left after subtracting the percentage and the decimal form of the percent. A zero percent has no meaning in the question about the whole, and a 100% decrease has no starting number, so the calculator displays a message in those cases.

What percent is one number of another

When you know the part and the whole, divide the part by the whole and multiply by 100. The number 30 is 15% of 200, because 30 ÷ 200 = 0.15. The same method gives the share of correct answers, votes or survey responses.

A proportion gives the same result: if 200 is 100%, then 30 is x%. The rule of three calculator solves that layout. For two values that change over time, calculate the percentage change instead.

Two percentages in a row

Two percentages applied one after the other do not add up. The calculator has an optional second percentage that is applied to the result of the first. A price of 100 after a 20% discount is 80, and after a further 10% discount it is 72. The total discount is 28%, not 30%.

n × (1 − p₁ ÷ 100) × (1 − p₂ ÷ 100)
100 × 0.8 × 0.9 = 72

A 20% increase followed by a 20% decrease does not return to the starting point either: 100 rises to 120 and then falls to 96.

Where percentages of a number are useful

Prices and discounts. Check a discounted price in the list price after discount calculator and a selling price from a markup in the price from markup calculator.

Taxes. Use the VAT calculator for gross amounts with tax, or the "before an increase" question of the percentage calculator to find the amount before tax was added. For US purchases try the sales tax calculator.

Tips and bills. The tip calculator works out a percentage of the bill.

Grades. A test score in percent is points divided by the maximum. Combine several scores in the weighted average calculator.

Four worked examples

You can repeat each example in the percentage calculator.

1. What is 15% of 200?

The basic question about a part of a number.

  1. Choose the question "p% of n" and enter 200 and 15.
  2. Compute 15 ÷ 100 × 200.
  3. The result is 30.
  4. After a 15% increase the number is 230, and after a 15% decrease it is 170.

2. What percent of 200 is 30?

You know the part and the whole.

  1. Choose the question "what percent", then enter the part 30 and the whole 200.
  2. Compute 30 ÷ 200 × 100.
  3. The result is 15%.
  4. Check: 15% of 200 is 30.

3. The number 45 is 18% of some number. What is it?

You are looking for the whole from a part and a percentage.

  1. Choose the question about the whole, then enter the part 45 and the percent 18.
  2. Compute 45 ÷ (18 ÷ 100).
  3. The result is 250.
  4. Check: 18% of 250 is 45.

4. A price of $1,230 includes 23% tax. What was the price before tax?

You are looking for the number before an increase.

  1. Choose the question "before an increase" and enter 1,230 and 23.
  2. Compute 1,230 ÷ (1 + 23 ÷ 100).
  3. The result is $1000.
  4. The tax is $230.

Common mistakes with percentages

  • Subtracting 23% from a gross price to get the net price — the number before an increase is found by dividing by 1.23, not by taking 23% off the gross amount.
  • Adding two discounts — each percentage applies to the result of the previous step, so 20% and 10% do not make 30%.
  • Swapping the part and the whole — in the question "what percent" the part is divided by the whole, not the other way round.
  • Confusing percentage points with percent — a rise from 10% to 12% is two percentage points, but a relative change of 20%.
  • Forgetting the decimal form — 15% is 0.15, not 1.5.
  • Assuming an increase and a decrease of the same percent cancel out — they apply to different bases.
  • Rounding during the calculation — round only the final result.

Frequently asked questions

How do you calculate the percentage of a number?

Divide the percentage by 100 and multiply by the number. For 15% of 200 the result is 15 ÷ 100 × 200 = 30.

How do you calculate what percentage one number is of another?

Divide the part by the whole and multiply by 100. The number 30 is 15% of 200.

How do I calculate 20% of a number in my head?

Find 10% by moving the decimal point one place to the left, then double it. For 350, ten percent is 35 and twenty percent is 70.

How do I find the number before an increase?

Divide the final number by (1 + percent ÷ 100). A price of 230 after a 15% increase came from 200.

How do I remove 23% tax from a gross price?

Divide the gross price by 1.23. From $1,230 gross the net price is $1000.

How do I subtract a percentage from a number?

Multiply the number by (1 − percent ÷ 100). To add a percentage, multiply by (1 + percent ÷ 100). For 250 and 30% you get 175 after subtracting and 325 after adding.

How do I calculate a percentage of a number in Excel?

Enter =number*percent, for example =200*15%. The result is 30. The cell holding the percentage can be formatted as a percent.

What is the difference between a percent and a percentage point?

A percent describes a part of a number, and a percentage point is the difference between two percentages. A rise from 10% to 12% is two percentage points.

Calculate a percentage of your own number

Choose the type of question in the percentage calculator, enter two numbers and read the result with the calculation steps. The optional second percentage lets you check two discounts or increases in a row.

For a change between two values use the percentage change calculator, and for prices with tax the VAT calculator.