Everyday tool · free · runs in your browser

Percentage Calculator

Pick the question you are asking and type two numbers. The calculator answers it in a sentence and shows the formula, so you can check the arithmetic or reuse it in a spreadsheet.

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

  1. Choose the question in the list. The field labels show which value is the percentage.
  2. Type X and Y. Decimals and negative numbers are accepted.
  3. Read the result, the sentence and the formula. Everything updates as you type.

The six formulas

QuestionFormulaExample
What is X% of Y?X ÷ 100 × Y15% of 80 = 12
X is what percent of Y?X ÷ Y × 10012 of 80 = 15%
Percentage change from X to Y(Y − X) ÷ |X| × 10080 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

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.

Frequently asked questions

How do I calculate a percentage of a number?

Divide the percentage by 100 and multiply by the number. 15% of 80 is 15 ÷ 100 × 80 = 12.

How do I calculate percentage change?

Subtract the old value from the new value, divide by the old value and multiply by 100. From 80 to 100 is (100 − 80) ÷ 80 × 100 = 25%.

Why is a 20% fall not undone by a 20% rise?

Each percentage is taken of a different base. 100 minus 20% is 80, and 80 plus 20% is only 96. To get back from 80 to 100 you need a 25% rise.

What is the difference between percent and percentage points?

If an interest rate goes from 4% to 5%, it rose by 1 percentage point, but by 25% in relative terms. Use points for differences between two percentages.

How do I find the original price before a discount?

Use X is Y% of what number. If a sale price of 60 is 75% of the original (25% off), the original was 60 ÷ 0.75 = 80.

How do I add sales tax or VAT to a price?

Use Increase X by Y%. 50 plus 6% tax is 50 × 1.06 = 53. To remove tax from a gross price, divide by 1.06 instead of subtracting 6%.

How does the calculator treat negative starting values?

Percentage change divides by the absolute value of X, so going from -50 to -25 is a 50% increase. Changes from zero have no percentage and are rejected.