X Is What Percent of Y Calculator

Enter two numbers to find what percentage X represents of Y — a score out of a total, a slice of a budget, or one quantity compared with another.

Formula: X ÷ Y × 100

X is what percentage of Y?

Answer

How it is calculated with your numbers

  1. Enter your numbers above to see each step worked out with your values.

How the formula works

This question asks what share one number (X) makes up of a total (Y). The total Y is always 100% — it is the whole pie — and X is a slice of it.

Division tells you how many of Y fit into X. The result is a decimal share, like 0.25. Multiplying by 100 converts that share into percent, because 'percent' literally means 'per hundred'.

If X is bigger than Y the answer is above 100%, which simply means X is more than the whole you compared it to.

Worked example: If you scored 45 out of 60 on a test: 45 ÷ 60 = 0.75, and 0.75 × 100 = 75%.

Common “X out of Y” results

X out of YDivisionPercentage
45 out of 6045 ÷ 60 = 0.7575%
30 out of 12030 ÷ 120 = 0.2525%
75 out of 30075 ÷ 300 = 0.2525%
7 out of 87 ÷ 8 = 0.87587.5%
120 out of 80120 ÷ 80 = 1.5150%

How to work out what percent X is of Y

  • Identify the whole — the number that represents 100%. It goes after the word “of”.
  • Divide the part by the whole: X ÷ Y.
  • Multiply the decimal by 100 to convert it to a percentage.

Where this comes up

Budget shares: if rent is 1,200 of a 4,000 monthly income, that is 1,200 ÷ 4,000 × 100 = 30% of income.

Quantities: 18 finished units out of a 240-unit order is 7.5% of the order complete.

Scores: 45 correct out of 60 questions is 75% — the same arithmetic used by the Test Score Calculator, which also converts the result into a letter grade.

Edge cases worth knowing

  • X equals Y: the answer is exactly 100%, because the part is the whole.
  • X is greater than Y: the answer is above 100%. That is valid — it means X exceeds the reference amount.
  • X is 0: the answer is 0%, because none of the whole is accounted for.
  • Y is 0: there is no answer. Division by zero is undefined, so the calculator shows a message instead of a number.

Frequently asked questions

Which number goes on top?

The part goes on top. The whole — the number the comparison is made against, usually following the word “of” — goes on the bottom.

Can the answer be more than 100%?

Yes. 120 out of 80 is 150%, meaning 120 is one and a half times the reference value of 80.

How do I turn the percentage back into the part?

Multiply the whole by the percentage and divide by 100 — that is the What Is X% of Y calculation, which reverses this one.

Related Calculators

Browse all NumoCrunch calculators