X Is What Percent of Y?
To find what percent X is of Y, divide X by Y and multiply by 100. Enter the part and the whole below: 25 is 12.5% of 200. Test scores, attendance, completion rates, and shares of a budget all use this part-over-whole formula.
How to find what percent one number is of another
Divide the part by the whole, then multiply by 100. The whole is the number that follows the word "of", and it cannot be zero.
(X / Y) × 100
- Divide X by Y: 25 ÷ 200 = 0.125.
- Multiply by 100 to write the decimal as a percent: 0.125 × 100 = 12.5%.
- If X is larger than Y, the result is above 100%. 40 is 125% of 32.
This tool always treats Y as the whole. If you have two independent measurements and neither is the whole, use percentage difference.
Part and whole: which number goes where
Y is the whole, the total that you measure against. X is the part. In the question "30 out of 150", X is 30 and Y is 150.
In a sentence, the whole usually comes right after "of". In "12 is what percent of 48?", the whole is 48. Swapping the numbers changes the answer: 12 is 25% of 48, but 48 is 400% of 12.
What percent is X of Y: worked examples
Each row divides X by Y and multiplies by 100.
| X (part) | Y (whole) | Percent |
|---|---|---|
| 25 | 200 | 12.5% |
| 30 | 150 | 20% |
| 40 | 32 | 125% |
| 45 | 60 | 75% |
| 3 | 8 | 37.5% |
| 7 | 50 | 14% |
Answers above 100% and below 1%
When X is larger than Y, the answer passes 100%. 40 is 125% of 32 because 40 is 1.25 times 32.
When X is very small next to Y, the answer drops below 1%. 1 is 0.25% of 400, because 1 ÷ 400 = 0.0025.
Where you use the part-over-whole formula
Most "how much is that as a percent" questions fit this calculator.
- Test score: 42 out of 50 is 84%.
- Attendance: 18 present out of 20 days is 90%.
- Budget share: $350 of a $1,400 budget is 25%.
- Free throws: 7 made out of 10 is 70%.
Not the same as
Part over whole has a direction. These tools answer different questions.
- Percentage difference Difference divides by the average of the two numbers and has no starting value. This tool always divides by Y. Open percentage difference
- What is X percent of Y? That tool starts with a percentage and returns an amount. This tool starts with two amounts and returns a percentage. Open percent of a number
- Percentage change Change measures movement from an old value to a new one. 25 is 12.5% of 200, but going from 25 to 200 is a 700% increase. Open percentage change
Related tools
What-percent questions
12.5%. Divide 25 by 200 and multiply by 100.
Treat X as the part and Y as the whole. 18 out of 20 is 18 ÷ 20 × 100 = 90%.
Yes. 40 is 125% of 32 because the part is larger than the whole.
Here Y is the whole. Percentage difference has no whole. It divides by the average of the two numbers.
Enter marks obtained as X and total marks as Y. The marks calculator uses the same formula with exam labels.
The calculation has no answer. You cannot divide by a whole of zero.
Yes. 30 ÷ 150 × 100 = 20%.