Skip to content

What Percent Is X of Y

Find out what percentage one number is of another.

∑ Mathematics
I want to calculate
The whole value that represents 100%.

Enter your values and press Calculate to see the result and the working.

Share WhatsApp Telegram X Email

Formula used

p=100⁢xy

Rearranged forms

x=p⁢y100
p=100⁢xy
y=100⁢xp

Variables

x Part
The value whose share we want
y Total
The whole

What does this calculator do?

Answers "what percentage is this of that": what 45 marks are out of 60, what share of monthly income goes to housing, or what portion of total sales one product represents.

When would you use it?

When turning a test score into a percentage, sizing a budget line, or measuring one category's share of a total.

How the formula works

Dividing by the total turns the number into a fraction of the whole: 45 out of 60 gives 0.75, or three quarters. Multiplying by 100 restates that fraction per hundred — 75%.

The result always sits between 0% and 100% while the part is smaller than the total. If the part exceeds the total the percentage passes 100%, which is exactly right in contexts such as beating a target.

What does the result mean?

The result expresses the part relative to the whole, independent of how large the numbers are — which is what makes different-sized cases comparable: 45 out of 60 and 75 out of 100 are both 75%.

Common mistakes

Swapping the part and the total is the commonest error and inverts the answer completely. Always check that the denominator is the whole, not the part.

Worked example

A test score

A student scored 45 out of 60 — what percentage is that?