Skip to content

Percentage Calculator

Calculate X% of a number, what percent one number is of another, and percentage increase or decrease, with the formula shown for every answer.

Runs in your browser. Nothing is uploaded.

What is X% of Y?

What is % of ?

30

20 ÷ 100 × 150 = 30

X is what percent of Y?

is what percent of ?

20%

30 ÷ 150 × 100 = 20%

Percentage increase or decrease

From to

+25%

(100 − 80) ÷ |80| × 100 = 25%

About the Percentage Calculator

Percentages come up everywhere: discounts, tips, tax, exam scores, price rises and business growth. This calculator answers the three most common percentage questions, each in its own box, and shows the formula it used so you can check the working or learn the method.

“Per cent” means “per hundred”, so 25% is 25 out of every 100, or 0.25. Every percentage calculation is built from that one idea.

How to use it

  1. Pick the box that matches your question.
  2. “What is X% of Y?”: enter the percentage and the number, e.g. 15% of 80 for a tip.
  3. “X is what percent of Y?”: enter the part and the whole, e.g. 42 out of 50 on a test.
  4. “Percentage increase or decrease”: enter the original value and the new value, e.g. last year's and this year's price.
  5. Results update as you type, with the formula shown underneath.

Examples

Discount

A 25% discount on $60: 25 ÷ 100 × 60 = $15 off, so you pay $45.

Test score

42 correct answers out of 50: 42 ÷ 50 × 100 = 84%.

Price increase

A price rising from $80 to $100: (100 − 80) ÷ 80 × 100 = +25%.

Decrease isn't symmetric

Going from 100 to 80 is −20%, but going back from 80 to 100 is +25%, because the starting value is different.

Limitations

  • Percentage change from zero is undefined (any increase from 0 is infinitely large), so the calculator explains this instead of showing a number.
  • Results are rounded to at most 6 decimal places for display.
  • Use a full stop as the decimal separator (e.g. 12.5). Commas are treated as thousands separators.
  • “Percentage points” are different from percent: a rate rising from 4% to 5% is +1 percentage point but +25%.

Frequently asked questions

How do I calculate a percentage of a number?

Divide the percentage by 100 and multiply by the number. For example, 20% of 150 = 20 ÷ 100 × 150 = 30.

How do I work out what percentage one number is of another?

Divide the part by the whole and multiply by 100. For example, 30 out of 150 = 30 ÷ 150 × 100 = 20%.

How is percentage change calculated?

Subtract the original value from the new value, divide by the original value, and multiply by 100. A positive result is an increase and a negative result is a decrease.

How do I reverse a percentage, e.g. find the price before tax?

Divide by (1 + rate). If a price including 10% tax is $110, the price before tax is 110 ÷ 1.10 = $100. Note that subtracting 10% of $110 would wrongly give $99.

Can percentages be more than 100%?

Yes. 150 is 150% of 100, and a value that triples has increased by 200%.

Related tools