Stavekit

Percentage calculator

Four quick percentage calculators in one page. Results update as you type and show the formula used.

Advertisement

What is X% of Y?

—

X is what percent of Y?

—

Percentage change from X to Y

—

X is P% of what number?

—

Advertisement

Four questions, four formulas

Percentages come up when shopping, at work and in school, but the question changes from case to case. This page answers the four most common ones:

  • What is X% of Y? Multiply: X ÷ 100 × Y. 15% of 80 is 12.
  • X is what percent of Y? Divide and multiply by 100: X ÷ Y × 100. 18 out of 24 is 75%.
  • Percentage change from X to Y: (Y − X) ÷ |X| × 100. Going from 50 to 65 is a 30% increase; from 65 back to 50 is a 23.08% decrease.
  • X is P% of what number? Divide by the percentage: X ÷ (P ÷ 100). If 30 is 20% of a total, the total is 150.

Why increase and decrease are not symmetrical

A 50% discount followed by a 50% price rise does not bring you back to the original price: 100 becomes 50, and 50 plus 50% is 75. The percentage change is always measured against the starting value, which is why the same gap is a bigger percentage of a small number than of a large one.

Percent versus percentage points

If an interest rate goes from 4% to 5%, it rose by one percentage point, but by 25% in relative terms. Both statements are correct, and mixing them up is a common source of confusion in news and finance. Use the percentage change calculator for the relative change and plain subtraction for points.

Tips

Results keep up to six significant decimals so you can round them the way you need. Commas and points are both accepted as decimal separators. Nothing is sent to a server; the calculations run in your browser.

Everyday examples

Percentages show up constantly once you look for them. A 15% tip on a bill of 48 is 48 × 0.15 = 7.20. If your rent rises from 900 to 945, the increase is 45 ÷ 900 = 5%. If 18 of 24 survey answers are "yes", the share is 18 ÷ 24 = 75%. And if a recipe for four uses 300 g of flour and you cook for six, you need 150% of each ingredient, or 450 g. Each of these is one of the four modes in the calculator, so you can check your mental arithmetic in a second.

Chained percentages

Successive percentage changes multiply rather than add. A price that rises 10% and then another 10% has gone up 21%, not 20%, because the second increase applies to the higher price: 1.10 × 1.10 = 1.21. Likewise, a 20% discount followed by an extra 10% off at the till is a total discount of 28%, since 0.80 × 0.90 = 0.72. Investments work the same way, which is why a 50% loss needs a 100% gain to recover. When you combine changes, convert each to a factor, multiply, and then convert back.

Rounding and precision

Round only at the end. If you round intermediate steps, small errors can add up, especially with chained changes or large amounts. For money, two decimal places are usually enough; for statistics, one decimal place often reads better. When you report a percentage, say what the base is: "up 12% on last year" is clear, while "up 12%" alone leaves the reader guessing.

Frequently asked questions

How do I calculate a discount?

Use “What is X% of Y?” with the discount rate and the price, then subtract the result from the price. A 25% discount on 60 is 15, so you pay 45.

How do I add VAT or sales tax?

Calculate the tax with “What is X% of Y?” and add it to the net price, or multiply the price by 1 plus the rate (for 20%, multiply by 1.2).

How do I find the original price before a discount?

Use the last calculator. If you paid 80 after a 20% discount, you paid 80% of the original: 80 is 80% of 100.

What is a percentage decrease of more than 100%?

A value cannot fall by more than 100% unless it becomes negative, for example a profit turning into a loss.

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 120 is 30 ÷ 120 × 100 = 25%. In the calculator, use the "X is what percent of Y" mode.

Why do two percentage changes not cancel out?

Because each change applies to a different base. A 25% drop from 100 gives 75, and a 25% rise from 75 gives only 93.75. To get back to 100 you would need a rise of about 33.3%.