Percentage Calculator

Work out percentages instantly — what is P% of a number, what percent one number is of another, and the whole from a part. Clear answers and formulas.

%
Result
30

20% of 150 is 30

Runs locally in your browser. Nothing you enter is uploaded.

How to use the percentage calculator

  1. Pick the question you want to answer:
    • What is P% of X? — e.g. a tip or a share of a total.
    • X is what % of Y? — e.g. a test score or a completion rate.
    • X is P% of what? — e.g. finding an original amount.
  2. Enter the two values. The answer updates as you type.
  3. Copy the result, or share a link that reproduces the calculation.

Formulas

Question Formula Example
P% of X X × P ÷ 100 15% of 80 = 12
X is what % of Y X ÷ Y × 100 12 of 80 = 15%
X is P% of what X ÷ (P ÷ 100) 12 is 15% of 80

Everyday examples

To see how much a value went up or down, use the Percentage Increase Calculator.

Frequently asked questions

How do I calculate a percentage of a number?

Divide the percentage by 100 and multiply by the number. For example, 20% of 150 is 0.20 × 150 = 30.

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

Divide the part by the whole and multiply by 100. For example, 30 out of 150 is 30 ÷ 150 × 100 = 20%.

How do I find the total when I know a part and its percentage?

Divide the part by the percentage as a decimal. If 30 is 20% of a number, the number is 30 ÷ 0.20 = 150.

Can I enter decimals with a comma?

Yes. Both 12.5 and 12,5 work, as do thousands separators like 1,250 or 1.250 depending on your language.

More Calculators →