Skip to main content

Percentage Calculator

Almost every percentage question is one of four shapes. Pick the question, enter the two numbers, and the answer appears with the worked steps — so you can see the method, not just the result.

Answer

20% of 150 = 30

Worked steps

  1. Turn the percentage into a fraction: 20% = 20 ÷ 100 = 0.2.
  2. Multiply by the whole: 0.2 × 150 = 30.

Embed this calculator on your website →

The formula

P% of N = (P ÷ 100) × N

X is what % of Y = (X ÷ Y) × 100

increase N by P% = N × (1 + P ÷ 100) · decrease = N × (1 − P ÷ 100)

  • P — the percentage.
  • N — the number the percentage acts on (the whole).
  • X, Y — the part and the whole it is measured against.

Worked example: 20% of 150 = (20 ÷ 100) × 150 = 0.2 × 150 = 30. And 45 out of 180 is (45 ÷ 180) × 100 = 25%.

How it works

What is P% of N? Convert the percentage to a decimal (P ÷ 100) and multiply: 20% of 150 = 0.2 × 150 = 30.

X is what percent of Y? Divide the part by the whole and multiply by 100: 45 ÷ 180 = 0.25, which is 25%. The whole can never be zero — a percentage of nothing is always nothing, so the question has no answer.

Increase or decrease by P%. Find P% of the number, then add it (increase) or subtract it (decrease). Increasing 200 by 15% adds 30 → 230; decreasing by 15% removes 30 → 170.

A percentage is always relative to something — the “whole”. Most percentage mistakes come from picking the wrong whole, which is why each mode above names its two inputs explicitly.

Examples

  • 20% of 150 = 30 — a tip, a tax, or a fifth of anything.
  • 45 is what percent of 180? 25% — for example, 45 marks out of 180 on a test is a 25% score.
  • 200 increased by 15% = 230.
  • 200 decreased by 15% = 170 — note it is not the mirror of the increase back from 230.

Frequently asked questions

What is the difference between percent and percentage points?

If an interest rate rises from 4% to 5%, that is a rise of 1 percentage point — but a 25% increase in the rate itself. News reports often blur the two; the base for the percent change here would be 4, giving (5 − 4) ÷ 4 = 25%.

Why does increasing then decreasing by the same percent not cancel out?

Because the base changes. 200 increased by 15% is 230; decreasing 230 by 15% removes 34.5 (15% of 230), leaving 195.5 — not 200. Use the Percentage Change calculator to explore this asymmetry.

Can a decrease be more than 100%?

Yes, mathematically: decreasing 100 by 150% gives −50. In everyday money contexts a price cannot fall below zero, but in data (temperatures anomalies, balances, coordinates) over-100% decreases are meaningful, so the calculator allows them and flags the result.

How do I find what percent one number is of another?

Divide the part by the whole and multiply by 100: 45 out of 180 is 45 ÷ 180 = 0.25, which is 25%. That is the second mode of this calculator — enter the two numbers and it shows the division as a worked step.

How do I undo a percentage increase to find the original price?

Divide by 1 plus the rate as a decimal. If a price of 240 already includes a 20% increase, the original was 240 ÷ 1.20 = 200. Subtracting 20% of 240 would give 192 — the classic mistake, because the percent is always taken of the number it is applied to.