Percentage calculator

Six common percentage questions in one place. Type the numbers and the answers update as you type, with the formula behind each one.

  • Free
  • No sign-up
  • Runs in your browser
percentage-calculator
What is X% of Y?
X is what percent of Y?
Percentage change from A to B
Increase or decrease an amount by a percentage
X is P% of what number?
Percentage difference between A and B

Fill in the values above to see the result.

100% private — the calculation is done in your browser and nothing is sent to any server.

Guide: How to calculate VAT: add it, remove it, and avoid the classic mistake

How it works

Find your question

Percent of a number, what percent, change between two values, increase or decrease, or the whole.

Type the numbers

The answers appear straight away, and each one shows its formula.

Copy what you need

Use the copy button next to a result.

The six percentage questions everyone asks

Percentages turn up in shopping, work, school and money. A discount, a tip, an exam mark, a rise in prices or a tax rate all come down to the same few calculations, and they are easy to get backwards. This page puts the six most common ones side by side, each with its own inputs, so you can find the one that matches your question and see the formula behind the answer.

What each calculator answers

  • What is X% of Y? Multiply Y by X and divide by 100. It gives 15% of 200 as 30, the size of a tip, a deposit or a commission.
  • X is what percent of Y? Divide X by Y and multiply by 100. It turns "30 out of 120" into 25%, useful for marks, completion rates and shares.
  • Percentage change from A to B. Take the difference, divide it by the starting value and multiply by 100. Going from 80 to 100 is a 25% increase; going back from 100 to 80 is a 20% decrease, not 25%, because the starting point is different.
  • Increase or decrease by a percentage. Multiply by one plus (or minus) the percentage. A price of 200 raised by 15% is 230; lowered by 15% it is 170.
  • X is P% of what number? Divide X by the percentage as a fraction. If 30 is 25% of a number, that number is 120. It is the way to find an original price from a discounted one.
  • Percentage difference between A and B. Divide the gap by the average of the two values and multiply by 100. Between 80 and 100 the difference is 22.2%, the same whichever comes first, because neither value is the starting point.

Percentage change or percentage difference?

Use change when one value is the original and the other is the new one: 80 to 100 is +25%, and 100 back to 80 is −20%. Use difference when neither is the reference, such as two prices from different shops or two readings of the same thing: 80 and 100 differ by 22.2% in both directions. Change depends on direction; difference does not.

Why an increase and a decrease do not cancel out

A 20% rise followed by a 20% fall does not bring you back to the start: 100 becomes 120 and then 96. The second percentage is applied to a different base. The same is true of a price that is increased by 10% and later reduced by 10%. When you compare two values, always decide which one is the starting point, since that is the number you divide by.

Percentage points versus percent

When a rate moves from 4% to 6%, it has risen by two percentage points, but the rate itself has grown by 50% (2 divided by 4). Both statements are right and mean different things; the change calculator gives the second. If you need the first, subtract the two rates.

What it does not do

The calculator works with plain numbers and does not know about currencies, rounding rules or taxes. For prices with tax use the VAT calculator, and for shop discounts the discount calculator. Results are shown with up to four decimals.

In Excel and Google Sheets

The percent sign works in cells: typing 15% stores 0.15. Here the cells hold plain numbers: A2 = 15, B2 = 200, C2 = 30, D2 = 120, E2 = 80, F2 = 100 and G2 = 230.

Spreadsheet formulas for this calculation
To getFormulaResult
A2 percent of B2=A2*B2/10030
C2 is what percent of D2 (format the cell as %)=C2/D225%
Percentage change from E2 to F2=(F2-E2)/E225%
Percentage change from F2 back to E2=(E2-F2)/F2-20%
B2 increased by A2 percent=B2*(1+A2/100)230
B2 decreased by A2 percent=B2*(1-A2/100)170
C2 is A2 percent of what number=C2/A2*100200
Original price before a rise of A2 percent (G2 is the new price)=G2/(1+A2/100)200

The formulas use English function names and commas. If your Excel or Google Sheets is set to another language, the function names change, and in many countries the separator between arguments is a semicolon.

  • Format the result as a percentage (Ctrl+Shift+%) instead of multiplying by 100 when you want to see a percent sign.
  • If the starting value can be negative, use =(F2-E2)/ABS(E2) so that an improvement is not shown as a fall.
  • Going from 80 to 100 is +25%, but going back is -20%: the base changes. It is the same pair of numbers, which is why the formulas must divide by the starting value.

Frequently asked questions

How do I calculate a percentage of a number?

Multiply the number by the percentage and divide by 100. For 15% of 200 the result is 200 × 15 ÷ 100 = 30.

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

Divide the first by the second and multiply by 100. 30 out of 120 is 30 ÷ 120 × 100 = 25%.

How do I calculate percentage change?

Subtract the old value from the new one, divide by the old value and multiply by 100. From 80 to 100 the change is +25%.

Why is a 20% increase followed by a 20% decrease not the same as before?

Because the decrease is taken from a bigger number. 100 rises to 120, and 20% of 120 is 24, so it falls to 96.

How do I find the original price before a discount?

Use "X is P% of what number?" with the sale price and the percentage you pay (100 minus the discount).

What is the percentage difference between two numbers?

Divide the gap between them by their average and multiply by 100. For 80 and 100 it is 20 ÷ 90 × 100 = 22.2%.

Is my data sent anywhere?

No. The calculations are done in your browser.

How do I calculate a percentage change in Excel?

Subtract the old value from the new one and divide by the old one: =(F2-E2)/E2, then format the cell as a percentage. It works the same in Google Sheets.