Back to All Tools

Percentage Calculator

Calculate percentages in multiple ways.

100% Private — Your data never leaves your browser. Everything runs locally on your device.

What is X% of Y?

X is what % of Y?

Percentage change from X to Y

The three calculators on this page

The page has three separate calculators, one under the other. Each has two boxes and no button. A result appears as soon as both boxes have a number, and it changes as you type. Results of 1 or more show two decimal places, like 30.00. Smaller results show up to six decimal places, so tiny answers do not turn into 0.00.

CalculatorBoxesWhat it doesExample
What is X% of Y?Percentage, of NumberPercentage ÷ 100 × Number15 and 200 → 30.00
X is what % of Y?Number, of TotalNumber ÷ Total × 10045 and 60 → 75.00%
Percentage change from X to YFrom, To(To − From) ÷ From × 100100 and 150 → +50.00%

If you clear a box, the result of that calculator disappears.

Worked examples

1. A percentage of a number

A service charge is 18% of a bill of 1,250. Type 18 in Percentage and 1250 in of Number.

18 ÷ 100 = 0.18
0.18 × 1,250 = 225.00

A useful shortcut: X% of Y is the same as Y% of X. 8% of 50 is hard in your head, but 50% of 8 is easy. Both give 4.00.

2. What percent one number is of another

You scored 45 out of 60 in a test. Type 45 in Number and 60 in of Total.

45 ÷ 60 = 0.75
0.75 × 100 = 75.00%

The answer can be more than 100%. If this year's sales are 150 and last year's were 120, then 150 is 125.00% of 120.

3. Percentage change

Rent goes up from 1,200 to 1,500. Type 1200 in From and 1500 in To.

Difference: 1,500 − 1,200 = 300
300 ÷ 1,200 = 0.25
0.25 × 100 = +25.00%

A fall shows a minus sign. From 250 to 245 gives −2.00%. Always put the old value in From. The change is measured against where you started.

Why changes do not cancel out

A percentage change depends on the starting value. So the same amount up and down gives different percentages:

Reverse percentages: finding the original number

This is the most common percentage mistake. A shirt costs 80 after 20% off. What was the original price?

The 20% was taken from the original price, not from 80. You can check the answer with this page. In the first calculator, 20% of 100 is 20.00, and 100 − 20 = 80. In the third calculator, 100 to 80 shows −20.00%.

The same rule works for tax that is already included in a price. If 1,130 includes 13% VAT, the price before VAT is 1,130 ÷ 1.13 = 1,000. Taking 13% off 1,130 gives 983.10, which is wrong.

Percent or percentage points?

When the numbers are themselves percentages, there are two ways to describe a change. A loan rate goes from 5% to 8%:

Both are true, but they answer different questions. News reports sometimes write "rose 3%" when they mean 3 points. If you read that a rate went from 3% to 5%, it is 2 points or +66.67%.

Limits of this calculator

Frequently Asked Questions

How do I find the original price before a discount?

Divide the sale price by what was left after the discount. If a price is 80 after 20% off, 80% of the original is left, so the original is 80 divided by 0.80, which is 100. Adding 20% to 80 gives 96, which is wrong because the 20% was taken from the original price.

How do I work out a percentage increase or decrease?

Use the third calculator. Put the old value in From and the new value in To. It subtracts From from To, divides by From and multiplies by 100. From 1,200 to 1,500 gives +25.00%. From 250 to 245 gives −2.00%.

What is the difference between percent and percentage points?

Percentage points are the simple difference between two percentages. Percent is the change compared with the starting value. A rate going from 5% to 8% is up 3 percentage points, but it is up 60%, because 3 is 60% of 5.

Why does a 10% rise followed by a 10% fall not bring me back?

Each change is measured from a different starting value. 100 plus 10% is 110. Then 10% of 110 is 11, so the fall takes you to 99. The same logic means 100 to 150 is +50%, but 150 back to 100 is only −33.33%.

What happens if the starting value is 0?

You cannot divide by zero, so there is no percentage to show. In the third calculator, a change from 0, such as 0 to 50, shows a note instead of a result. In the second calculator, the same note appears when of Total is 0. Change the zero to a real starting value.