Skip to content

What percent is X out of Y?

Enter a part and a whole to see what percentage the part is of the whole, such as marks out of 500 or 600. For example, 394 out of 500 is 78.8%, and 30 is 24% of 125.

30 is what percent of 125?

Show numbers as

Result

24%
30 ÷ 125
0.24
0.24 × 100
24%

Check it: 24% of 125 is 30. What is X% of Y?

What this calculator does

You enter a part (X) and a whole or reference (Y). The result is how large X is compared with Y, as a percentage. Think of it as: if Y were 100%, what share would X be?

Typical uses: how much of a budget is spent, how far you are towards a goal, or what share of a group a subgroup is. Y can't be zero.

Formula

(X ÷ Y) × 100

Divide the part by the whole to get a decimal, then multiply by 100. If X is bigger than Y the answer is over 100%; if it's smaller, the answer is under 100%.

Worked example

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

How to turn X out of Y into a percentage

“X out of Y” is a fraction, and a percentage is that fraction written out of 100. To convert it, divide and multiply by 100.

  1. Divide the score by the total: 394 ÷ 500 = 0.788.
  2. Multiply by 100: 0.788 × 100 = 78.8%.
  3. So 394 out of 500 is 78.8%.

Shortcuts for common totals: out of 500, divide by 5 (394 ÷ 5 = 78.8). Out of 600, divide by 6 (471 ÷ 6 = 78.5). Out of 50, double it. Out of 20, multiply by 5. Out of 25, multiply by 4.

Working out exam marks as a percentage

For a total across several papers, add up the marks you scored and add up the maximum marks, then divide. Five papers marked out of 100 give a total out of 500; six give a total out of 600.

If papers carry different weights, the simple total is not the same as a weighted average. Use the weighting your school, board or university publishes.

A percentage is not a percentile. 78.8% means you scored 78.8 marks per 100 available. A percentile ranks you against other candidates, so it depends on how everyone else did.

Marks out of 500 as a percentage
MarksPercentage
264 out of 50052.8%
289 out of 50057.8%
311 out of 50062.2%
357 out of 50071.4%
381 out of 50076.2%
394 out of 50078.8%
446 out of 50089.2%
471 out of 50094.2%
Marks out of 600 as a percentage
MarksPercentage
381 out of 60063.5%
394 out of 60065.67%
446 out of 60074.33%
471 out of 60078.5%
521 out of 60086.83%
537 out of 60089.5%
579 out of 60096.5%
593 out of 60098.83%

What percentage is one number of another?

The same calculation answers any “what percentage is X of Y?” question: how much of a budget is spent, how far through a target you are, or what share of a group something is. £420 of a £1,200 budget is 420 ÷ 1,200 × 100 = 35%.

Put the part first and the whole second. Swapping them gives a different answer: 1,200 is 285.71% of 420.

Percentages as letter grades

Schools and countries use different scales, so check your own.

Ranges use whole percentages; schools differ on rounding, so 89.5% may count as an A or a B.

Example common US A to F scale using whole-number percentage bands
Letter gradePercentage
A90 to 100%
B80 to 89%
C70 to 79%
D60 to 69%
FBelow 60%

Everyday examples

ExampleAnswerTry it
£420 spent of a £1,200 budget35%
18 correct answers out of 2572%
£12,500 saved towards a £40,000 deposit31.25%
3.2 km run of a 5 km route64%

Common mistakes

  • Dividing the whole by the part instead of the part by the whole.
  • Using it to compare an old and new value over time. That's a percentage change.

Common questions

Is this the same as percentage change?

No. Percentage change compares an old value with a new value over time. Here you express one amount as a share 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 can't be zero.

Can the answer be more than 100%?

Yes. If X is bigger than Y, the result is over 100%. The chart then shows X and Y side by side.

Why can Y not be zero?

A percentage of a whole needs a whole that isn't zero. Dividing by zero is undefined, so there is no answer when Y is 0.

What percentage is 394 out of 500?

78.8%. 394 ÷ 500 = 0.788, and 0.788 × 100 = 78.8%.

How do I calculate my marks as a percentage?

Add up the marks you scored and the maximum marks available, divide the first by the second and multiply by 100. 471 out of 600 is 471 ÷ 600 × 100 = 78.5%.

50 is what percent of 200?

25%. 50 ÷ 200 = 0.25, and 0.25 × 100 = 25%.

Last reviewed . Results use exact decimal arithmetic and are rounded once for display.