Percentage Calculator Clear formulas · Instant answers

All calculators

X is what percent of Y?

X is what % of Y?

Learn more below
View chart
Copied!

What this calculator does

You enter a part (X) and a whole or reference (Y). The result is how large X is relative to Y, expressed as a percent. Think of it as answering: “If Y were 100%, what share would X be?”

Typical uses: how much of a budget is spent, how far a metric is toward a goal, what fraction of a class got a certain score, or comparing a subgroup to a total. Y must not be zero (you cannot divide by zero).

Formula

(X ÷ Y) × 100

First divide the part by the whole to get a decimal ratio, then multiply by 100 to express it as a percentage. If X > Y, the result is above 100%; if X < Y, it is below 100%.

Worked example

30 is what percent of 125? 30 ÷ 125 = 0.24; 0.24 × 100 = 24%.

Common questions

Is this the same as percent change?

No. Percent change compares an old value to a new value over time. Here you express one amount as a fraction of another at the same time.

When would I use “what is X% of Y?” instead?

Use that calculator when you already know the percentage and want the amount. Use this one when you have two amounts and want the percentage.

What is the formula for X is what percent of Y?

(X ÷ Y) × 100. Divide the part by the whole, then multiply by 100. Y cannot be zero.

Can the answer be more than 100%?

Yes. If X > Y, you are comparing a larger part to a smaller reference, so the result exceeds 100%. The chart may switch to comparing raw X and Y when that helps.

Why can Y not be zero?

Percent of a whole requires a non-zero whole. Dividing by zero is undefined, so the calculator cannot express a ratio to Y when Y is 0.

50 is what percent of 200?

25%. 50 ÷ 200 = 0.25; 0.25 × 100 = 25.