X Is What Percent of Y?
Use this calculator when you have two amounts and need the percentage that the first is of the second. Marks, attendance, markup, and margin all start from this part-over-whole formula.
How this is calculated
Divide the part by the whole, then multiply by 100. The whole cannot be zero.
(X / Y) × 100
- Divide X by Y. 25 ÷ 200 = 0.125.
- Multiply by 100 to express it as a percent. 0.125 × 100 = 12.5%.
- If X is larger than Y, the result is over 100%. 40 is 125% of 32.
This is not a comparison of two independent measurements. For that, use percentage difference. This tool always treats Y as the whole.
Not the same as
Part over whole is directional. These tools are easy to mix up with it.
- Percentage difference Difference uses 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
Related tools
What-percent questions
12.5%. Divide 25 by 200 and multiply by 100.
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, or use the marks calculator if those labels are clearer.
The calculation is undefined. You cannot divide by a whole of zero.
Yes. 30 / 150 × 100 = 20%.