Skip to content
FreeToolsKit.app

Percentage Calculator

Work out any everyday percentage: X% of a number, what percentage one number is of another, percentage change, increases and decreases, percentage difference, reverse percentages, discounts, sales tax and percentage points. A percentage is a number of hundredths, so 20% means 20 ÷ 100 = 0.2. Every answer is calculated exactly from the digits you type, then shown with the formula, your numbers in it and each step.

  • Free to use
  • No account required
  • Calculated in your browser

Percentage Calculator

Loading tool…

Was this tool helpful?

Good to know

Useful for
Shopping discounts, adding or removing sales tax or VAT, pay rises and price changes, comparing test scores or survey results, conversion-rate and interest-rate changes in percentage points, and checking homework.
Accepts
Plain numbers with an optional minus sign and one decimal point, such as 19.99 or -12.5; up to 30 digits, 12 of them after the point. Don't type %, currency symbols, commas or exponents
Produces
The answer with its formula, the formula with your numbers, numbered steps, the absolute change where relevant, the exact value as a fraction and repeating decimal when the shown value is rounded, and text you can copy

Privacy

Numbers are calculated in your browser. They aren't uploaded, logged, sent to analytics or saved in browser storage, cookies or the page address, and reloading the page clears them.

Limitations

  • Division by zero is never turned into a number: X as a percentage of 0, a percentage change from 0, the percentage difference of 0 and 0, and a reverse percentage with P = 0 are shown as undefined (or underdetermined when any answer would fit), with the reason.
  • Percentage change divides by the absolute value of the old value. For a negative starting value, such as -100 → -50 = +50%, this is a chosen convention; finance and other fields can interpret it differently.
  • Percentage difference needs values of 0 or more; a retail discount must be between 0% and 100%; tax rates, prices and amounts can't be negative. A decrease of more than 100% in Increase / decrease by % is calculated as it is and flagged, never clamped to zero.
  • Results are rounded half away from zero to 0, 2, 4 or 6 decimal places for display and marked ≈ when rounded; the calculation itself always uses exact values. Money amounts rounded separately can differ from a rounded total by one cent, which is explained when it happens.
  • The tax modes are arithmetic only. They don't know which tax rate applies, your tax jurisdiction, exemptions or rules about rounding tax per item, and they aren't tax advice.

Tips

  • Percentage change: (new − old) ÷ |old| × 100. From 80 to 100 is +25%, but from 100 to 80 is -20%, because the starting value differs.
  • Percentage difference compares two values with neither as the starting point: |A − B| ÷ ((A + B) ÷ 2) × 100, so 100 and 120 differ by ≈ 18.18% whichever comes first.
  • A rate going from 20% to 25% rises by 5 percentage points, which is a 25% relative increase. Don't call it a 5% increase.
  • For fractions use the Fraction Calculator (/calculator/fraction-calculator); for powers, roots and expressions use the Scientific Calculator (/calculator/scientific-calculator); for growth over time use the Compound Interest Calculator (/calculator/compound-interest).

How to calculate a percentage

  1. Choose a type of calculation (basic percentages, percentage changes, discount & tax, or percentage points), then the exact question.
  2. Type the two numbers. The labels say which number is the base (100%) and which is the part or the new value.
  3. Pick how many decimal places to show, then press Calculate.
  4. Read the result, the formula and the steps, then copy the result or the full calculation details.

Frequently asked questions

How do I calculate a percentage of a number?

Divide the percentage by 100 and multiply by the number: X% of Y = (X ÷ 100) × Y. So 20% of 150 = 0.2 × 150 = 30, and 12.5% of 80 = 10. Percentages above 100 are fine: 150% of 200 = 300.

How do I find what percentage one number is of another?

Divide the part by the whole and multiply by 100: (X ÷ Y) × 100. So 30 is 20% of 150, and 1 is ≈ 33.33% of 3 (the 3s repeat forever). If the whole is 0 the percentage is undefined, because you can't divide by zero.

What is the percentage increase or decrease formula?

Percentage change = (new − old) ÷ |old| × 100. From 80 to 100 is (100 − 80) ÷ 80 × 100 = +25%; from 100 to 80 is -20%. To apply a change instead, multiply by (1 + rate ÷ 100) or (1 − rate ÷ 100): 120 increased by 50% is 180, and 120 decreased by 20% is 96. A change from 0 has no percentage, so only the absolute change is given.

What is the difference between percentage change and percentage difference?

Percentage change measures a move from a starting value, so the direction matters: 100 → 120 is +20%, but 120 → 100 is ≈ -16.67%. Percentage difference compares two values with neither as the start, dividing by their average: |100 − 120| ÷ 110 × 100 ≈ 18.18% either way. The difference between 0 and 0 is undefined.

What are percentage points?

Percentage points measure the gap between two percentages by subtraction. A conversion rate rising from 20% to 25% goes up 5 percentage points, which is a 25% relative increase (5 ÷ 20 × 100). Calling it a “5% increase” would be wrong, so the calculator shows both numbers with their own labels.

How do I reverse a percentage to find the original number?

If X is P% of an unknown total, the total is X × 100 ÷ P: 30 is 20% of 150, and 120 is 150% of 80. This is different from undoing a percentage increase. A price of 120 after a 20% rise was 120 ÷ 1.2 = 100, not 120 minus 20% (96).

How do I calculate a discount, or add and remove sales tax?

Discount: savings = price × discount ÷ 100, so 125 with 20% off saves 25 and costs 100. Tax added: 100 plus 21% tax is 100 + 21 = 121. Tax already included: divide by (1 + rate ÷ 100), so 121 including 21% tax is 100 before tax plus 21 tax. Taking 21% of 121 (25.41) would overstate the tax. The calculator does the arithmetic only; it doesn't know which tax rate applies to you.

Why are some answers rounded or undefined?

Some exact answers never end as decimals, such as 1 ÷ 3 × 100 = 33.333…%, so they are rounded half away from zero to the decimal places you choose and marked ≈, with the exact fraction shown too. Rounding changes only the display, not the calculation. A question that needs division by zero, such as X as a percentage of 0, has no answer, so it is shown as undefined instead of a made-up 0% or 100%.