Percentage Calculator

Free online percentage calculator: find what percentage one number is of another, calculate X% of any value, or measure percentage increase and decrease between two numbers.

Values

Three Percentage Questions, One Calculator

Percentages sound easy until you’re standing in a shop trying to work out whether “30% off” beats “save 25 and get another 10% off,” or wondering why a pay rise of 10% followed by a cut of 10% leaves you slightly worse off. Most confusion comes from one thing: not being sure which percentage question you’re really asking. This calculator handles the three that come up most often:

  • What is X% of Y? For example, what is 20% of 500?
  • X is what % of Y? For example, 45 is what percentage of 180?
  • What is the percentage change from X to Y? For example, how much did a price rise when it went from 100 to 125?

Pick the question, type in two numbers, press the button, and you get the answer together with the formula used, so you can check it yourself.

Important: the calculator does arithmetic and nothing more. It doesn’t know whether a price includes tax, whether a rate compounds, or what your numbers represent. For important money decisions such as loans, taxes or investments, double-check the figures with the official source or a qualified professional.

It runs in your browser, looks fine on a phone, tablet or computer, and doesn’t ask you to sign up.

How to Use It

  1. Choose the calculation type. The list starts on “What is X% of Y?”. Change it to match your question, and the two field labels update to match.
  2. Enter your two numbers. The labels tell you which is which. In the first mode the first box is the percentage and the second is the value. In the second mode they are the part and the total. In the third they are the original value and the new value.
  3. Press Calculate percentage (or press Enter). Your results appear right underneath.
  4. Share it or change the look. The round icons send the page by WhatsApp, Facebook, X, LinkedIn, Telegram or email, or copy its link. The coloured squares change the background, and the arrows icon opens full screen.

You can use whole numbers, decimals and negative numbers. If a box is empty, a short message asks for valid numbers. Results are rounded to a maximum of four decimal places, and larger numbers are shown with commas so they’re easier to read.

What the Results Show

Two large boxes give the main answer, and a short list below adds the formula and a few related figures. What you see depends on the calculation:

  • What is X% of Y? shows the result and the percentage used. The list adds the formula, Value + X% and Value − X%, which is handy for adding tax or taking off a discount in one step.
  • X is what % of Y? shows the percentage and the ratio. The list adds the formula and the decimal equivalent.
  • Percentage change shows the change, labelled as an increase, a decrease or no change, and the net difference between the two numbers. The list adds the “from → to” values and the formula.

The Three Formulas With Examples

1. What is X% of Y?

Divide the percentage by 100, then multiply by the value.

  • Result = (X ÷ 100) × Y

Example: 20% of 500 = (20 ÷ 100) × 500 = 100. Adding 20% gives 600, and taking 20% off gives 400.

2. X is what % of Y?

Divide the part by the total, then multiply by 100.

  • Percentage = (X ÷ Y) × 100

Example: 45 out of 180 = (45 ÷ 180) × 100 = 25%, or 0.25 as a decimal.

3. Percentage change from X to Y

Take the difference between the new and original value, divide by the original, then multiply by 100.

  • Change = ((Y − X) ÷ |X|) × 100

Increase: from 100 to 125 = (25 ÷ 100) × 100 = +25%.
Decrease: from 80 to 60 = (−20 ÷ 80) × 100 = −25%.

Same Two Numbers, Three Different Answers

The quickest way to see why the question matters is to feed the same two numbers, 20 and 500, into each mode:

QuestionCalculationAnswer
What is 20% of 500?(20 ÷ 100) × 500100
20 is what % of 500?(20 ÷ 500) × 1004%
Percentage change from 20 to 500((500 − 20) ÷ 20) × 100+2,400%

Same numbers, three very different results. Before you press the button, say the question out loud in a full sentence. If you can’t, you probably haven’t decided yet which mode you need.

Zeros, Negatives and Results Over 100%

  • The total can’t be zero in “X is what % of Y?”. Dividing by zero has no answer, so the calculator asks for a different total.
  • The original can’t be zero in percentage change. If you start from nothing, any increase is infinitely large in relative terms, so the percentage isn’t defined.
  • Results above 100% are fine. 250 is 125% of 200. A percentage change above +100% means the value more than doubled.
  • A fall to zero is −100%. From 80 to 0 is a drop of 100%.
  • Negative starting values work, with a twist. The calculator divides by the absolute value of the original, so the sign always shows direction. Going from −50 to −25 is a rise of 25, shown as +50% and labelled an increase, because the number moved up.
  • Long decimals are rounded. 1 out of 3 shows as 33.3333%.

Why Percentage Change Isn’t Symmetrical

Going up by a percentage and then down by the same percentage does not bring you back to where you started, because the second percentage is taken from a different base.

  • From 100 to 150 is a rise of +50%.
  • From 150 back to 100 is a fall of only −33.3333%.
  • Raise 100 by 20% to get 120, then cut that by 20% and you land on 96, which is 4% below where you began.

This table shows how much you need to gain to recover from a loss:

If a value falls byIt must rise by this much to recover
10%11.11%
20%25%
25%33.33%
33.33%50%
50%100%

Percent Versus Percentage Points

The two phrases sound alike but mean different things. If an interest rate goes from 10% to 12%, it has risen by 2 percentage points (the plain difference), but by 20 percent in relative terms (2 ÷ 10). The calculator’s percentage-change mode gives you the relative figure. If you only need the gap between two percentages, just subtract them.

Everyday Uses

  • Discounts: a jacket costs 85 and is 30% off. “What is X% of Y?” with 30 and 85 gives 25.5, so you pay 59.5. The Value − X% line shows it straight away.
  • Sales tax or VAT added on top: 8% on a 120 bill is 9.6, so the total is 129.6. The Value + X% line gives the total directly.
  • Tips: 15% of 48 is 7.2.
  • Test scores: 42 out of 60 is (42 ÷ 60) × 100 = 70%.
  • Pay rises: a salary that goes from 3,200 to 3,520 has risen by 320, which is a 10% increase.
  • Price changes: a price that drops from 250 to 200 has fallen by 20%.
  • Markup versus margin: something that cost 80 and sells for 100 has a markup of 25% (percentage change from 80 to 100) but a margin of 20% (20 is what % of 100). They’re often confused, and the calculator gives you both.
  • Stacked discounts: 10% off and then another 10% off isn’t 20% off. 100 becomes 90, then 81, so the total saving is 19%.

What the Calculator Does Not Do

It answers the three questions above and nothing else. It doesn’t handle:

  • Reverse percentages. If you paid 80 after a 20% discount, the original price is 80 ÷ 0.8 = 100, not 80 plus 20%. Likewise, if 120 includes 20% VAT, the price before VAT is 120 ÷ 1.2 = 100 and the VAT is 20, not 24.
  • Compound growth, such as interest over several years.
  • Averages of percentages, which usually need weighting by the sizes of the groups.
  • Context. It can’t tell you whether a number includes tax, fees or rounding.

For these, set the problem up on paper first, then use the calculator for the individual steps.

Quick Mental Maths Tricks

  • 10%: move the decimal point one place to the left. 10% of 85 is 8.5.
  • 1%: move it two places. 1% of 85 is 0.85.
  • 5%: take half of 10%. 5% of 80 is 4.
  • 15%: add 10% and 5%. 15% of 80 is 8 + 4 = 12.
  • 25%: divide by 4. 50%: divide by 2. 75%: take 50% and add 25%.
  • Swap the numbers: X% of Y is the same as Y% of X. 4% of 50 is easier as 50% of 4, which is 2.

Common Percentages, Fractions and Decimals

PercentageDecimalFraction
1%0.011/100
5%0.051/20
10%0.11/10
12.5%0.1251/8
20%0.21/5
25%0.251/4
33.33%0.33331/3
50%0.51/2
75%0.753/4
100%11

Common Mistakes

  • Mixing up which number is the whole. “20% of 500” and “500 is what % of 20” are very different questions.
  • Using the new value as the base in percentage change. Always divide by the starting value.
  • Adding percentages with different bases. Two successive 10% discounts total 19%, not 20%.
  • Confusing percent with percentage points, as explained above.
  • Forgetting the decimal. 5% is 0.05, not 0.5.
  • Subtracting the tax percentage to find the pre-tax price. Divide by 1 plus the rate instead.
  • Rounding too early. Keep a few extra decimals until the final step, then round the answer.

A Short History of the Percent Sign

The word “percent” comes from the Latin per centum, meaning “by the hundred.” Ancient Romans already worked with fractions of 100, for example when calculating taxes. In medieval Italy, merchants wrote per cento in their account books, and over time the phrase was shortened and the handwriting drifted into the “%” symbol we recognise today. A common base of 100 makes it easy to compare very different quantities, which is why percentages are so widely used in trade, schools and science.

Questions People Ask

How do I calculate a percentage of a number?

Divide the percentage by 100 and multiply by the number. For 20% of 500, that’s 0.2 × 500 = 100. Or choose “What is X% of Y?” in the calculator.

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

Divide the first number by the second and multiply by 100. For 45 out of 180, that’s 25%. Use the “X is what % of Y?” option.

How do I calculate percentage increase or decrease?

Subtract the original from the new value, divide by the original, and multiply by 100. A positive result is an increase and a negative one is a decrease. The third option does this for you.

Can a percentage be more than 100%?

Yes. If a value is larger than the number you’re comparing it to, the percentage is above 100. For example, 250 is 125% of 200.

Can I use negative numbers?

Yes. For percentage change, the calculator divides by the absolute value of the original, so a rise always shows as positive and a fall as negative.

Why does the calculator say a value can’t be zero?

In “X is what % of Y?”, the total can’t be zero because dividing by zero has no answer. In percentage change, the original can’t be zero because you can’t measure a change against nothing.

How do I take a percentage off a price?

Use “What is X% of Y?” with the discount and the price, then read the Value − X% line. It shows the price after the discount.

Does the calculator save my numbers?

No. Your numbers aren’t sent anywhere; everything is worked out in your own browser. The only thing it may remember on your device is the background colour you pick.

Please note: this tool is for general information and calculation only. For important financial, tax or legal decisions, always check the figures with the official source or a qualified professional.