What this percentage calculator does
Percentages answer several different questions, and most mistakes come from using the formula for one question to answer another. This calculator asks you to pick the question first, then gives the answer as a sentence and shows the formula it used. It covers six cases: a percentage of a number, what percent one number is of another, percentage change, adding a percentage, subtracting a percentage, and finding the original number from a percentage.
How to use it
- Choose the question in the list. The field labels show which value is the percentage.
- Type X and Y. Decimals and negative numbers are accepted.
- Read the result, the sentence and the formula. Everything updates as you type.
The six formulas
| Question | Formula | Example |
|---|---|---|
| What is X% of Y? | X ÷ 100 × Y | 15% of 80 = 12 |
| X is what percent of Y? | X ÷ Y × 100 | 12 of 80 = 15% |
| Percentage change from X to Y | (Y − X) ÷ |X| × 100 | 80 to 100 = +25% |
| Increase X by Y% | X × (1 + Y ÷ 100) | 80 + 25% = 100 |
| Decrease X by Y% | X × (1 − Y ÷ 100) | 100 − 25% = 75 |
| X is Y% of what number? | X ÷ (Y ÷ 100) | 12 is 15% of 80 |
Percentage change divides by the absolute value of the starting number, which keeps the sign meaningful when the start is negative: moving from −50 to −25 is reported as a 50% increase. A change from zero has no percentage, because nothing can be divided by zero, so the calculator asks for a different starting value.
Worked examples
A discount and the price before it
A jacket costs 80 and is 25% off. Decrease X by Y% gives 80 × 0.75 = 60. If you only know the sale price of 60 and the 25% discount, X is Y% of what number with X = 60 and Y = 75 gives 60 ÷ 0.75 = 80, the original price.
Adding and removing sales tax
A price of 50 plus 6% tax is 50 × 1.06 = 53. To take the tax out of 53, divide by 1.06 to get 50. Subtracting 6% of 53 would give 49.82, which is wrong, because the tax was calculated on 50, not on 53.
A fall and a recovery
A share price drops from 100 to 80: a change of −20%. To get back to 100 it must rise from 80 by (100 − 80) ÷ 80 × 100 = 25%. The calculator shows this reverse change automatically under the result.
Tips and common mistakes
- Percentages of different bases do not cancel. Up 10% then down 10% leaves you at 99% of the start, because the second 10% is taken from a bigger number.
- Percent versus percentage points. A rate moving from 4% to 5% rises by 1 percentage point, which is a 25% relative increase. Say which one you mean.
- Successive discounts multiply. 20% off followed by another 10% off is 0.8 × 0.9 = 0.72 of the price, a 28% total discount, not 30%.
- Margin is not markup. Buying at 60 and selling at 80 is a 33.3% markup on cost (20 ÷ 60) but a 25% margin on the price (20 ÷ 80).
- Check the direction. "A is 25% more than B" and "B is 25% less than A" describe different pairs of numbers.
Limits and privacy
Results are shown to ten significant digits, so floating-point noise such as 0.30000000000000004 appears as 0.3. The calculator does exact arithmetic on the numbers you give it; it does not round money to cents, so round the final figure as your context requires. Nothing you type is sent anywhere.