How to Calculate Percentage: Formulas for Every Type (With Examples)

Last updated October 2026

A 10 by 10 grid with 25 squares shaded, showing that 25 out of 100 is 25 percent

A percentage is a fraction out of 100. Every percentage problem comes down to one formula, Percentage = (Part ÷ Whole) × 100, rearranged to find whichever number is missing. Once you know which kind of percentage question you are answering, the calculation takes one line. This guide gives the formula for each type, a worked example, a conversion table, and the mistakes that trip most people up.

The Basic Percentage Formula

"Percent" means "per hundred." Every percentage calculation is a relationship between a part, a whole and a rate:

Percentage = (Part ÷ Whole) × 100

Rearrange it and you get the other two forms you will use most:

Part = (Percentage ÷ 100) × Whole Whole = Part ÷ (Percentage ÷ 100)

The trick is spotting which number is the part, which is the whole, and which one you are missing. The sections below walk through each case.

1. How to Find a Percent of a Number

Use this when you know the rate and the whole and want the part. Think "15% of 80" or "a 20% tip on a bill."

Part = (Percentage ÷ 100) × Number

Example: What is 15% of 80?

  1. Convert 15% to a decimal: 15 ÷ 100 = 0.15
  2. Multiply by the number: 0.15 × 80 = 12
Answer: 15% of 80 is 12

To add a percentage to a number (for tax or a markup), multiply by 1 plus the decimal: 250 plus 12% is 250 × 1.12 = 280. To subtract a percentage (a discount), multiply by 1 minus the decimal: 250 less 12% is 250 × 0.88 = 220.

2. What Percent Is One Number of Another?

Use this when you know the part and the whole and want the rate. Test scores are the classic case: you got 18 out of 72, so what percentage is that?

Percentage = (Part ÷ Whole) × 100

Example: What percent of 72 is 18?

  1. Divide the part by the whole: 18 ÷ 72 = 0.25
  2. Multiply by 100: 0.25 × 100 = 25
Answer: 18 is 25% of 72

A quick check: the whole is usually the number after the word "of." In "what percent of 72 is 18," the whole is 72.

Skip the arithmetic: the Percentage Calculator handles every type in this guide, including percent error, and shows each step of the working.

3. Percentage Increase and Decrease

Use this when a value changes from an old number to a new one, such as a price, a salary, website traffic or a population. The original value is always the base.

Percentage change = (New − Old) ÷ Old × 100

A positive result is an increase. A negative result is a decrease.

Example: A price rises from 50 to 65

  1. Find the change: 65 − 50 = 15
  2. Divide by the old value: 15 ÷ 50 = 0.30
  3. Multiply by 100: 0.30 × 100 = 30
Answer: a 30% increase

Example: Sales drop from 120 to 90

  1. Find the change: 90 − 120 = −30
  2. Divide by the old value: −30 ÷ 120 = −0.25
  3. Multiply by 100: −0.25 × 100 = −25
Answer: a 25% decrease

4. Percentage Difference

Use percentage difference when you compare two values and neither one is the starting point, for example the price of the same item in two shops, or two lab measurements. Instead of dividing by the old value, you divide by the average of the two.

Percentage difference = |A − B| ÷ ((A + B) ÷ 2) × 100

Example: Compare 40 and 60

  1. Find the absolute difference: |40 − 60| = 20
  2. Find the average: (40 + 60) ÷ 2 = 50
  3. Divide and multiply by 100: 20 ÷ 50 × 100 = 40
Answer: the two values differ by 40%

Percentage change from 40 to 60 would be 50%, while from 60 to 40 it would be −33.3%. Percentage difference gives the same 40% in both directions, which is why it is the fair choice when there is no "before" and "after."

Percent error

Percent error is a close relative used in science classes. It compares a measured value with the accepted (true) value, and the true value is the base:

Percent error = |Measured − True| ÷ True × 100

If you measure 9.6 cm and the true length is 10 cm, the error is |9.6 − 10| ÷ 10 × 100 = 4%.

5. Reverse Percentage: Finding the Original Value

Use this when you know the value after a percentage change and want the value before it. This is where most people go wrong, because you cannot simply add the percentage back on.

Original = Final ÷ (1 + rate) for an increase Original = Final ÷ (1 − rate) for a decrease

Example: A jacket costs 64 after a 20% discount

  1. The sale price is 100% − 20% = 80% of the original, so the multiplier is 0.80
  2. Divide: 64 ÷ 0.80 = 80
Answer: the original price was 80

Example: A bill is 92 including 15% tax

  1. The total is 100% + 15% = 115% of the pre-tax amount, so the multiplier is 1.15
  2. Divide: 92 ÷ 1.15 = 80
Answer: 80 before tax
Why adding it back fails: 20% of 64 is 12.80, and 64 + 12.80 = 76.80, not 80. The discount was taken from the larger original price, so adding the same percentage of the smaller sale price always falls short.

Fraction, Decimal and Percent Conversion Table

To turn a decimal into a percentage, multiply by 100. To turn a fraction into a percentage, divide the top by the bottom, then multiply by 100. These are the ones worth memorizing:

FractionDecimalPercent
1/20.550%
1/30.333…33.33%
2/30.666…66.67%
1/40.2525%
3/40.7575%
1/50.220%
1/80.12512.5%
1/100.110%
1/200.055%
1/1000.011%

Need to simplify a fraction first? The Fraction Calculator reduces it and shows the decimal, and our guide on how to add, subtract, multiply and divide fractions covers the rules.

Mental Math Shortcuts

You can work out most everyday percentages without a calculator by building from 10%:

One more useful fact: x% of y equals y% of x. So 8% of 50 is the same as 50% of 8, which is 4.

Percentages in Excel or Google Sheets

For a percent of a number, use =A2*B2 with B2 formatted as a percentage. For percentage change, use =(B2-A2)/A2 and apply the Percent format. If you are averaging a column of percentages, our guide to calculating averages in Excel explains when you need a weighted average instead.

Common Mistakes to Avoid

Key takeaway: identify the part, the whole and the missing number, then use Percentage = (Part ÷ Whole) × 100 or one of its rearrangements. For change, the original value is always the base. To check your own numbers step by step, use the Percentage Calculator.

Frequently Asked Questions

What is the basic formula for percentage?
Percentage = (Part ÷ Whole) × 100. For example, 18 out of 72 is (18 ÷ 72) × 100 = 25%.
How do I calculate a percentage of a number?
Convert the percentage to a decimal by dividing by 100, then multiply by the number. 15% of 80 is 0.15 × 80 = 12.
How do I calculate percentage increase?
Subtract the old value from the new value, divide by the old value, and multiply by 100. From 50 to 65 is (65 − 50) ÷ 50 × 100 = 30%.
What is the difference between percentage change and percentage difference?
Percentage change compares a new value to an original value, so direction matters. Percentage difference compares two values with no starting point, using their average as the base, so the result is always positive.
Why doesn't a 20% increase followed by a 20% decrease get back to the start?
Because the second percentage is taken from a bigger number. 100 rises 20% to 120, then 20% of 120 is 24, so it falls to 96, not 100.
How do I find the original price before a discount?
Divide the sale price by (1 − discount as a decimal). A price of 64 after a 20% discount was originally 64 ÷ 0.80 = 80.

Related Articles

Author

StepSolvers Team

The StepSolvers team writes plain-English math guides that go with our free step-by-step calculators. Each guide explains the idea, works through an example, and links to the calculator that does the arithmetic for you. About StepSolvers