Percentage Calculator

Find X% of a number, work out what percent one number is of another, or find the whole when you know a part and its percent. The working is shown for each result. It runs in your browser.

What is X% of Y?

15% of 80
12
15 ÷ 100 × 80

X is what percent of Y?

12 as a percent of 80
15%
12 ÷ 80 × 100

Y is X% of what?

12 is 15% of
80
12 ÷ (15 ÷ 100)

How to use the percentage calculator

  1. Pick the question you have: X% of Y, X is what percent of Y, or Y is X% of what.
  2. Type the two numbers in that box. Decimals, negatives and commas are fine.
  3. Read the result and the working underneath it.

How the three calculations work

X% of Y = X ÷ 100 × Y, so 15% of 80 is 12. The percent one number is of another = part ÷ whole × 100, so 12 of 80 is 15%. The whole from a part and its percent = part ÷ (percent ÷ 100), so if 12 is 15% of a number, that number is 80. For money, pay or leave, check your contract and local rules for the actual amounts.

Related tools

To compare an old and a new value use the percentage change calculator. For a tip or a split bill use the tip calculator.

See also

Frequently Asked Questions (FAQ)

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 x 80 = 12. In the calculator, use the first box and enter 15 and 80.

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

Divide the part by the whole and multiply by 100. 12 out of 80 is 12 / 80 x 100 = 15%. Use the second box and enter the part first, then the whole.

How do I find the whole when I know a part and its percent?

Divide the part by the percentage as a decimal. If 12 is 15% of a number, the number is 12 / 0.15 = 80. Use the third box for this.

Can a percentage be more than 100?

Yes. 150% of 40 is 60, and 100 is 200% of 50. A percentage over 100 just means the part is bigger than the whole you compare it with.

Why does the calculator say it is undefined?

Two cases cannot be worked out. A part cannot be compared with a whole of 0, and a part cannot be 0% of a whole because every number would fit. Change the value and the result appears.

How do I calculate a percent increase or decrease?

That compares an old and a new value, so use the percentage change calculator. For a percentage of a single number, use this page.

Can I use decimals, negatives and commas?

Yes. Enter 12.5, -20 or 1,250. Results show up to 4 decimal places, with trailing zeros removed.

Can I use this for money, pay or leave?

It works for any numbers, such as a share of a bill, a rate or a portion of a salary. Real pay, tax and leave amounts depend on your contract and local rules, so check those for the actual figures.