X-Calculator
Math 5 min read Updated November 23, 2026

How to Calculate Percentage: Formulas and Examples for Every Case

The three percentage formulas, percent change, discounts, reverse percentages and the mistakes that trip people up, with worked examples.

Advertisement
Advertisement

To calculate a percentage, divide the part by the whole and multiply by 100: percentage = (part ÷ whole) × 100. For example, 18 out of 240 is 18 ÷ 240 = 0.075, and 0.075 × 100 = 7.5%.

That one formula covers most everyday questions once you know which number is the part and which is the whole. This guide walks through every common percentage problem — percent of a number, what percent one number is of another, finding the whole, percent change, discounts, and reverse percentages — with numbers you can check. If you just want the answer, the percentage calculator solves all three basic forms instantly.

What a percentage means

“Percent” means “per hundred.” 25% is 25 out of every 100, which is the fraction 25/100 or the decimal 0.25. Every percentage problem is a conversion between these three forms:

  • Percent to decimal: divide by 100 (move the decimal point two places left). 7.5% = 0.075.
  • Decimal to percent: multiply by 100 (move the point two places right). 0.375 = 37.5%.
  • Fraction to percent: divide top by bottom, then multiply by 100. 3/8 = 0.375 = 37.5%.

The three basic percentage formulas

Almost every percentage question is one rearrangement of the same relationship: part = percent × whole, with the percent written as a decimal.

Percent of a number:     part    = whole × (percent ÷ 100)
What percent is X of Y:  percent = (X ÷ Y) × 100
Find the whole:          whole   = part ÷ (percent ÷ 100)

1. What is P% of a number?

Convert the percent to a decimal and multiply.

  • 15% of 80: 0.15 × 80 = 12
  • 6.5% sales tax on $350: 0.065 × 350 = $22.75

Shortcut: percentages are reversible. 8% of 50 is the same as 50% of 8, which is 4 — often much easier to do in your head.

2. X is what percent of Y?

Divide the part by the whole, then multiply by 100. The whole is the number that comes after “of.”

  • 18 is what percent of 240? 18 ÷ 240 = 0.075 → 7.5%
  • You answered 45 of 60 questions correctly: 45 ÷ 60 = 0.75 → 75%

3. X is P% of what number?

Divide the part by the percent as a decimal.

  • 30 is 40% of what? 30 ÷ 0.40 = 75
  • You saved $300, which was 20% of your goal. 300 ÷ 0.20 = $1,500 goal
Advertisement
Advertisement

Quick reference: common percentages

Memorizing a handful of fraction–decimal–percent equivalents makes mental math much faster.

Percent Decimal Fraction Mental shortcut
1% 0.01 1/100 Move the decimal two places left
5% 0.05 1/20 Half of 10%
10% 0.10 1/10 Move the decimal one place left
12.5% 0.125 1/8 Halve three times
20% 0.20 1/5 Double 10%
25% 0.25 1/4 Halve twice
33.33% 0.3333 1/3 Divide by 3
50% 0.50 1/2 Halve
66.67% 0.6667 2/3 Divide by 3, double
75% 0.75 3/4 Whole minus 25%
150% 1.50 3/2 Whole plus half

How to calculate percent change

Percent change compares a new value to an old one. Always divide by the original (old) value:

percent change = (new − old) ÷ old × 100
  • Price rises from $50 to $65: (65 − 50) ÷ 50 × 100 = +30%
  • Price falls from $65 to $50: (50 − 65) ÷ 65 × 100 = −23.08%
  • Rent goes from $1,000 to $1,250: 250 ÷ 1,000 × 100 = +25%. Going back down from $1,250 to $1,000 is only −20%.

Notice the asymmetry: a 30% increase followed by a return to the starting price is a 23% decrease, not 30%. The base changed. The percentage change calculator handles increases, decreases and percent difference in one place.

Increase or decrease a number by a percentage

Multiply by (1 + percent) to increase, or (1 − percent) to decrease:

  • Increase 120 by 15%: 120 × 1.15 = 138
  • Decrease 120 by 15%: 120 × 0.85 = 102

Percent difference (no “old” or “new”)

When two values are peers — two stores’ prices, two lab measurements — use their average as the base:

percent difference = |a − b| ÷ ((a + b) ÷ 2) × 100

For 40 and 60: 20 ÷ 50 × 100 = 40%.

Discounts and sale prices

A discount is a percentage decrease. To get the sale price, multiply by (1 − discount):

  • $80 jacket at 25% off: 80 × 0.75 = $60 (you save $20)
  • Stacked discounts, 20% then an extra 10%: $100 × 0.80 × 0.90 = $72. That is 28% off in total, not 30%, because the second discount applies to the already-reduced price.

The discount calculator shows the sale price and savings, including double discounts. Running a business instead? Markup and margin are percentages with different bases — markup divides profit by cost, margin divides profit by price. Use the markup calculator or margin calculator so you do not confuse them.

Advertisement
Advertisement

Reverse percentages: finding the original value

If you know the amount after a percentage was added or removed, divide — do not subtract the percentage from the final number.

  • You paid $54 including 8% sales tax. What was the pre-tax price? 54 ÷ 1.08 = $50. (Taking 8% off $54 gives $49.68 — wrong.)
  • A laptop costs $2,400 after a 20% price increase. What was it before? 2,400 ÷ 1.20 = $2,000.
  • A shirt is $60 after 25% off. What was the original? 60 ÷ 0.75 = $80.

Everyday percentage problems

Tips

For a 20% tip, find 10% by moving the decimal one place, then double it. On a $64 bill: 10% = $6.40, so 20% = $12.80. The tip calculator also splits the total between people.

Test scores and grades

Points earned ÷ points possible × 100. 41 out of 48 = 0.8542 → 85.4%.

Interest and returns

A $1,000 investment that grows to $1,250 earned (1,250 − 1,000) ÷ 1,000 = 25%. For returns over several years, see the ROI calculator or the compound interest calculator, because yearly growth compounds instead of adding.

Commissions and raises

A real estate agent earning a 2.5% commission on a $420,000 sale receives 0.025 × 420,000 = $10,500. A 4% raise on a $62,000 salary adds 62,000 × 0.04 = $2,480, for a new salary of 62,000 × 1.04 = $64,480. To see what that means per hour, divide by 2,080 working hours: about $31.00 an hour.

Budget breakdowns

To see what share of your spending goes where, divide each category by the total. If your monthly take-home pay is $4,800 and rent is $1,680, rent takes 1,680 ÷ 4,800 = 35%. Groceries at $600 are 12.5%, and a $480 car payment is 10%. The shares of a complete breakdown always add up to 100%; if yours add to 97% or 104%, a number is missing or double-counted.

Percentages greater than 100% and smaller than 1%

Percentages are not capped at 100. If a stock goes from $20 to $50, it rose (50 − 20) ÷ 20 × 100 = 150%, and the new price is 250% of the old one. Both statements are correct — “rose by” measures the change, “is X% of” measures the ratio. A decrease, on the other hand, can never exceed 100%, because a price cannot fall below zero.

Very small percentages work the same way. 0.5% of $12,000 is 0.005 × 12,000 = $60. When a fee or rate is quoted in basis points, divide by 100 to get a percentage: 25 basis points = 0.25%.

Calculating percentages in Excel or Google Sheets

Spreadsheets store percentages as decimals and only display them with a % sign, so the formulas mirror the ones above:

Percent of a number:   =B2*C2          (C2 formatted as %, e.g. 15%)
What percent:          =A2/B2          (format the cell as %)
Percent change:        =(B2-A2)/A2
Increase by percent:   =A2*(1+C2)
Reverse a percentage:  =A2/(1+C2)

A common spreadsheet error is typing 15 into a cell formatted as a percentage and getting 1500%. Type 15% or 0.15 instead.

Common percentage mistakes

  • Using the wrong base. Percent change divides by the old value. Swapping it gives a different answer (+30% vs −23% above).
  • Adding successive percentages. +50% followed by −50% does not return you to the start: 100 × 1.5 × 0.5 = 75, a net 25% loss.
  • Confusing percent with percentage points. A rate moving from 4% to 5% rose by 1 percentage point, but by 25% in relative terms (1 ÷ 4).
  • Reversing a percentage by subtraction. Removing tax or undoing a markup requires division by (1 + rate).
  • Forgetting to convert. 15% is 0.15, not 15. Multiplying 80 by 15 gives 1,200, not 12.

Calculators for every percentage problem

Frequently Asked Questions

What is the formula for calculating a percentage?

Percentage = (part ÷ whole) × 100. For example, 18 out of 240 is 18 ÷ 240 × 100 = 7.5%.

How do I calculate a percentage of a number?

Convert the percentage to a decimal by dividing by 100, then multiply. 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. Going from 50 to 65 is (65 − 50) ÷ 50 × 100 = 30%.

How do I find the original price before a percentage was added?

Divide the final amount by (1 + rate). A $54 total that includes 8% tax had a pre-tax price of 54 ÷ 1.08 = $50.

What is the difference between percent and percentage points?

Percentage points measure the simple difference between two percentages; percent measures the relative change. A rate rising from 4% to 5% is up 1 percentage point, or 25%.

Advertisement
Advertisement
Run the numbers

Calculators from this guide

Keep reading

More guides

All guides
Advertisement