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?
How it is calculated with your numbers
- 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 Y | Division | Percentage |
|---|---|---|
| 45 out of 60 | 45 ÷ 60 = 0.75 | 75% |
| 30 out of 120 | 30 ÷ 120 = 0.25 | 25% |
| 75 out of 300 | 75 ÷ 300 = 0.25 | 25% |
| 7 out of 8 | 7 ÷ 8 = 0.875 | 87.5% |
| 120 out of 80 | 120 ÷ 80 = 1.5 | 150% |
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
- What Is X% of Y CalculatorFind a percentage of a known number.
- Reverse Percentage CalculatorFind the original whole when you know the part and percentage.
- Percent Change CalculatorFind the percentage increase or decrease between two values.
- Mixed Fraction to Percent CalculatorConvert a mixed fraction into a decimal and a percentage.