What does this percentage calculator do?
A percentage is a fraction of 100: 20% means 20 out of every 100, or 0.2. The idea is simple, yet the everyday questions around it come in several shapes and are easy to mix up. How much is 15% of a bill? What percent of the questions did I get right? By how much did a price go up? What was the price before tax? Each one needs a different formula, and using the wrong one is how a 20% raise followed by a 20% cut ends up leaving you with less than you started with.
This calculator puts the five common questions on one page, each in its own box, so you never have to remember which number goes on top of the fraction:
- What is X % of Y: the part,
X × Y / 100. - X is what percent of Y: the share,
X / Y × 100. - Percentage increase or decrease from one value to another:
(To − From) / From × 100. - Increase or decrease Y by X %: the new value,
Y × (100 ± X) / 100, with both answers side by side. - X is Y % of what number: the whole,
X × 100 / Y, which is how you remove tax or recover an original price.
Results update as you type, and the arithmetic avoids the usual floating point noise: 7% of 100 shows 7, not 7.000000000000001. It runs entirely in your browser: nothing you type is stored or sent.
How to calculate a percentage
- Find the box that matches your question. The page opens with an example in every box (20% of 150, 30 out of 150, from 80 to 100, 200 plus or minus 15%, 30 is 20% of what) so you can see what each one does.
- Replace the numbers with yours. Type a point or a comma as the decimal separator (
89.90or89,90): both work. - Read the result in the field on the right of the box. Negative results in the increase/decrease box mean a decrease.
- In Increase or decrease Y by X %, the left field is the increased value and the right one the decreased value.
- Click the result field's copy button to paste the number elsewhere.
Examples
A tip on a restaurant bill
15% of a $64 bill, in What is X % of Y: X = 15, Y = 64.
9.6The tip is $9.60. For splitting the bill between friends, the tip calculator does both steps at once.
A test score as a percentage
18 correct answers out of 25, in X is what percent of Y:
72You scored 72%.
How much a price went up, and back down
From 1200 to 1500 in the increase/decrease box gives 25: a 25% increase. From 1500 back to 1200 gives -20: a 20% decrease. The same 300 difference is a different percentage because the starting value changed.
A raise
A salary of 3500 with a 7.5% raise, in Increase or decrease Y by X %:
| Increased | Decreased |
|---|---|
| 3762.5 | 3237.5 |
The price before sales tax
A receipt shows $108.25 including 8.25% sales tax. The total is 108.25% of the original price, so use X is Y % of what number with X = 108.25 and Y = 108.25:
100The price before tax was $100. Simply subtracting 8.25% from 108.25 would give 99.32, which is wrong.
Common errors and how to fix them
- "Cannot divide by zero. Change the second number (Y) or the starting value (From) to something other than 0.": a percentage of zero, or a change starting from zero, is undefined. Going from 0 to 50 is not "infinite percent"; describe it as an absolute change instead.
- Thousands and decimals together:
1,234.56and1234.56are read the same way. Do not use the point or the comma for anything else inside the number. - Adding and subtracting the same percentage does not return to the start: 100 plus 20% is 120, and 120 minus 20% is 96. Each percentage applies to a different base. To undo an increase, use the "of what number" box.
- Removing tax by subtracting the rate: 108.25 minus 8.25% is not the pre-tax price. Divide by 1.0825, which is what the last box does.
- Percent versus percentage points: an interest rate going from 4% to 5% rose by 1 percentage point, but by 25% in relative terms. Use the increase/decrease box for the relative change.
Frequently asked questions
How do I calculate a percentage of a number?
Multiply the number by the percentage and divide by 100. For 20% of 150: 20 × 150 / 100 = 30. A shortcut: 10% is the number divided by 10, so 20% is twice that.
How do I find what percentage one number is of another?
Divide the part by the whole and multiply by 100. 30 out of 150 is 30 / 150 × 100 = 20%.
How do I calculate a percentage increase?
Subtract the old value from the new one, divide by the old value and multiply by 100. From 80 to 100: (100 − 80) / 80 × 100 = 25%. A negative result is a decrease.
How do I calculate a discount?
Use Increase or decrease Y by X % and read the decreased value: 25% off 80 is 60. For stacked discounts, tax and margin in one place, there is a discount calculator.
Why does 1 out of 3 show 33.33333333?
Because 1/3 has infinite decimals and the calculator shows up to 8 of them, without rounding further for you. Round it to what you need, usually 33.33%.
Is a percentage the same as a rule of three?
It is a special case: a percentage is a proportion where one side is 100. For any other proportion, such as scaling a recipe, use the rule of three or the ratio calculator.