Percentages

X Out of Y as a Percentage

If you are asking what is a 15 out of 20, the answer is 75%. Every score out of a total follows one formula: divide the score by the total and multiply by 100. This guide gives the formula, a full lookup table, and the shortcuts.

X out of Y as a percentage: divide, then multiply by 100

A 15 out of 20 is 75%. A 26 out of 30 is 86.67%. A 20 out of 25 is 80%. Every one of those comes from the same two steps: divide the score by the total, then multiply the result by 100.

percentage = score ÷ total × 100
The score is what you got. The total is what was available. The division gives a decimal; multiplying by 100 turns it into a percentage.

The division is the whole calculation. Multiplying by 100 is just a change of units: it moves the decimal point two places to the right so you can talk about the result in hundredths instead of in decimals. 15 ÷ 20 = 0.75, and 0.75 × 100 = 75%. The two numbers are the same quantity written two ways.

Order matters in the division. The score goes on top and the total goes on the bottom. Dividing 20 by 15 gives 1.333, which is not a test score. A quick sanity check: if you got less than everything available, the answer has to be under 100%. If it comes out above 100%, you divided the wrong way round.

Example: 26 out of 30

Divide first, then scale.

26 ÷ 30 = 0.86666666… 0.86666666… × 100 = 86.6666…% rounded to two decimals: 86.67%

Thirty is not a factor of 100, so this one does not terminate. The digits repeat forever. Round at the end, not partway through, and quote it as 86.67% or simply 87%.

Example: 43 out of 60

Same two steps, larger numbers.

43 ÷ 60 = 0.716666… × 100 = 71.67%

That lands in the C− band on the usual American scale. If you want to skip the arithmetic on any pair of numbers, the ratio to percentage calculator takes the two values and shows the division as well as the answer.

Every common test score as a percentage

Most classroom scores are out of 10, 20, 25 or 30, because those are the totals that divide cleanly into a quiz. Below is every possible score on each of those four totals, with the percentage, the fraction reduced to lowest terms, and the letter grade the percentage usually falls in.

Treat the letter column as the common case, not the rule. Cutoffs are set by the school or the instructor and they vary. Some schools start an A at 90 rather than 93, some do not use plus and minus at all, and some curve. The table uses the widely used ten-point scale with plus and minus: A from 93, A− from 90, B+ from 87, B from 83, B− from 80, C+ from 77, C from 73, C− from 70, D from 60, and F below that. Your syllabus is the authority.

Scores out of 10

ScorePercentageFraction in lowest termsTypical letter
10 / 10100%1A
9 / 1090%9/10A−
8 / 1080%4/5B−
7 / 1070%7/10C−
6 / 1060%3/5D
5 / 1050%1/2F
4 / 1040%2/5F
3 / 1030%3/10F
2 / 1020%1/5F
1 / 1010%1/10F
0 / 100%0F

Scores out of 20

ScorePercentageFraction in lowest termsTypical letter
20 / 20100%1A
19 / 2095%19/20A
18 / 2090%9/10A−
17 / 2085%17/20B
16 / 2080%4/5B−
15 / 2075%3/4C
14 / 2070%7/10C−
13 / 2065%13/20D
12 / 2060%3/5D
11 / 2055%11/20F
10 / 2050%1/2F
9 / 2045%9/20F
8 / 2040%2/5F
7 / 2035%7/20F
6 / 2030%3/10F
5 / 2025%1/4F
4 / 2020%1/5F
3 / 2015%3/20F
2 / 2010%1/10F
1 / 205%1/20F
0 / 200%0F

Scores out of 25

ScorePercentageFraction in lowest termsTypical letter
25 / 25100%1A
24 / 2596%24/25A
23 / 2592%23/25A−
22 / 2588%22/25B+
21 / 2584%21/25B
20 / 2580%4/5B−
19 / 2576%19/25C
18 / 2572%18/25C−
17 / 2568%17/25D
16 / 2564%16/25D
15 / 2560%3/5D
14 / 2556%14/25F
13 / 2552%13/25F
12 / 2548%12/25F
11 / 2544%11/25F
10 / 2540%2/5F
9 / 2536%9/25F
8 / 2532%8/25F
7 / 2528%7/25F
6 / 2524%6/25F
5 / 2520%1/5F
4 / 2516%4/25F
3 / 2512%3/25F
2 / 258%2/25F
1 / 254%1/25F
0 / 250%0F

Scores out of 30

ScorePercentageFraction in lowest termsTypical letter
30 / 30100%1A
29 / 3096.67%29/30A
28 / 3093.33%14/15A
27 / 3090%9/10A−
26 / 3086.67%13/15B
25 / 3083.33%5/6B
24 / 3080%4/5B−
23 / 3076.67%23/30C
22 / 3073.33%11/15C
21 / 3070%7/10C−
20 / 3066.67%2/3D
19 / 3063.33%19/30D
18 / 3060%3/5D
17 / 3056.67%17/30F
16 / 3053.33%8/15F
15 / 3050%1/2F
14 / 3046.67%7/15F
13 / 3043.33%13/30F
12 / 3040%2/5F
11 / 3036.67%11/30F
10 / 3033.33%1/3F
9 / 3030%3/10F
8 / 3026.67%4/15F
7 / 3023.33%7/30F
6 / 3020%1/5F
5 / 3016.67%1/6F
4 / 3013.33%2/15F
3 / 3010%1/10F
2 / 306.67%1/15F
1 / 303.33%1/30F
0 / 300%0F

Notice how the out-of-30 column behaves differently from the other three. Ten, 20 and 25 all divide into 100, so every score gives a percentage that ends after at most one decimal place. Thirty does not, so two thirds of the rows repeat forever and have to be rounded. That is why a 26 out of 30 gets written as 86.67% rather than as something tidy.

Shortcuts for totals that divide into 100

When the total divides evenly into 100, you do not need to divide at all. You just multiply the score by a fixed number. This works because score ÷ total × 100 can be rearranged as score × (100 ÷ total), and when 100 ÷ total is a whole number the multiplication is easy.

Out ofMultiply the score byWhyExample
250100 ÷ 2 = 501 out of 2 = 50%
425100 ÷ 4 = 253 out of 4 = 75%
520100 ÷ 5 = 204 out of 5 = 80%
1010100 ÷ 10 = 107 out of 10 = 70%
205100 ÷ 20 = 515 out of 20 = 75%
254100 ÷ 25 = 420 out of 25 = 80%
502100 ÷ 50 = 247 out of 50 = 94%
1001100 ÷ 100 = 188 out of 100 = 88%

Out of 20 is the one worth memorizing, because it comes up constantly. Multiply by five. A 17 out of 20 is 85%. A 13 out of 20 is 65%. If multiplying by five feels awkward, double the score and move the decimal one place: 17 doubled is 34, so 17 out of 20 is 85%.

Out of 25, multiply by four, which is two doublings. A 19 out of 25 is 38, then 76%. Out of 50, just double: 43 out of 50 is 86%.

Totals that do not divide into 100

For 30, 40, 60, 80 and anything irregular, the useful move is to find one mark first. On a 30-point test, one mark is 100 ÷ 30 = 3.333%. So 26 marks is 26 × 3.333 = 86.67%, and every extra point is worth about three and a third percent. On a 40-point test, one mark is 2.5%, which is exact and easy: 33 out of 40 is 33 × 2.5 = 82.5%.

Watch outDo not round the per-mark value before you multiply it. Calling one mark out of 30 “3.3%” and multiplying by 26 gives 85.8%, which is nearly a full percentage point low. Round once, at the very end.

Going backwards: what is X percent of Y

The reverse question comes up whenever a target is set as a percentage and you need to know how many marks that is. It is the same equation rearranged.

score = percentage ÷ 100 × total
Turn the percentage into a decimal by dividing by 100, then multiply by the total number of marks available.

What is 85% of 40? Divide 85 by 100 to get 0.85, then multiply: 0.85 × 40 = 34. You need 34 marks out of 40. What is 15% of 80? 0.15 × 80 = 12. What is 72% of 25? 0.72 × 25 = 18.

Example: how many marks do you need for a B?

The test is out of 45 and a B starts at 83%.

83 ÷ 100 = 0.83 0.83 × 45 = 37.35

You cannot score 37.35 marks, so you need 38. Always round up when the answer is a threshold you have to clear. Thirty-seven marks would be 37 ÷ 45 = 82.22%, which lands in the B− band instead.

That rounding rule catches people out. When you are computing what you scored, round normally. When you are computing what you need, round up to the next whole mark, because partial marks are usually not awarded and being one hundredth of a percent short still means missing the cutoff.

Averaging several scores

If you have several tests with the same total, convert each to a percentage and take the mean of the percentages, or add all the scores and divide by all the totals. Both give the same answer when the totals match. On a set of three tests scored 15/20, 17/20 and 12/20, the percentages are 75%, 85% and 60%, and their mean is 220 ÷ 3 = 73.33%. Adding raw scores gives 44 ÷ 60, which is also 73.33%. The average calculator will do the mean for you.

When the totals differ, the two methods do not agree, and the raw-score method is the one that reflects reality. That gap is the difference between a mean and a weighted mean, and it is covered in the guide on how to calculate your final grade.

How to turn a percent into a fraction

A percentage is already a fraction. The word means “per hundred”, so 75% literally means 75 out of 100. To write it as a fraction, put the number over 100 and reduce.

fraction = percentage / 100, reduced by the greatest common factor
Write the percentage over 100, then divide the top and bottom by the largest number that goes into both.

Take 75%. Write it as 75/100. The largest number that divides both 75 and 100 is 25. Divide top and bottom by 25 and you get 3/4. That is why a 15 out of 20 and a 3 out of 4 are the same score: both are 75%.

Example: 88% as a fraction

88% = 88/100 greatest common factor of 88 and 100 is 4 88 ÷ 4 = 22 100 ÷ 4 = 25 answer: 22/25

Check it back: 22 ÷ 25 = 0.88, which is 88%.

Percentages with decimals in them

If the percentage has a decimal, multiply top and bottom until the top is a whole number, then reduce. For 62.5%, write 62.5/100, multiply both by 10 to get 625/1000, and reduce by 125 to get 5/8.

Repeating percentages like 86.67% are a special case. That figure is a rounded version of 86.666…%, which came from 26/30. If you reduce the rounded number you get 8667/10000, which does not simplify and is not the fraction you wanted. When the percentage repeats, go back to the original score. 26/30 reduces to 13/15, because 26 and 30 share a factor of 2.

Watch outNever reduce a fraction from a rounded percentage. Round only for display. Keep the original score over the original total if you need the exact fraction.

How to convert a decimal to a percent and back

This is the shortest conversion in arithmetic and it goes both ways.

percent = decimal × 100   |   decimal = percent ÷ 100
Multiplying by 100 moves the decimal point two places right. Dividing by 100 moves it two places left.

0.75 becomes 75%. 0.4 becomes 40%. 0.06 becomes 6%. 1.25 becomes 125%, which is perfectly legitimate for things like growth rates even though it cannot happen on a normal test. Going the other way, 8% becomes 0.08, 92% becomes 0.92, and 3.5% becomes 0.035.

DecimalPercentFraction
0.011%1/100
0.055%1/20
0.110%1/10
0.12512.5%1/8
0.220%1/5
0.2525%1/4
0.333…33.33%1/3
0.37537.5%3/8
0.550%1/2
0.660%3/5
0.62562.5%5/8
0.666…66.67%2/3
0.7575%3/4
0.880%4/5
0.87587.5%7/8
0.990%9/10
1100%1

The mistake here is dropping a zero. 0.05 is 5%, not 50%. Count the places rather than eyeballing it: the decimal point in 0.05 moves past the 0 and then past the 5, landing after the 5, which reads as 5. If you would rather have the conversion done for you in either direction, use the decimal to percent calculator or the percent to decimal calculator.

Common mistakes

  • Dividing the total by the score. 20 ÷ 15 = 1.33, not 0.75. The score you earned always goes on top.
  • Forgetting the × 100. 15 ÷ 20 = 0.75. Reporting that as “0.75%” is off by a factor of 100.
  • Rounding partway through. Carry the full decimal until the last step. Rounding 26 ÷ 30 to 0.87 and then multiplying gives 87%, which is close but not what the arithmetic says.
  • Assuming the letter grade. A 75% is a C on the common ten-point scale, but plenty of schools set different cutoffs, and some courses are curved. Check the syllabus.
  • Averaging percentages from tests with different totals. A 9/10 and a 45/90 are not equally weighted evidence. Add the points, or use a weighted mean.
  • Rounding down when you need a threshold. If 83% of 45 is 37.35 marks, you need 38, not 37.
  • Reducing a fraction from a rounded percentage. 86.67% is not 8667/10000 in any useful sense. It is 13/15.
  • Mixing up “15 out of 20” with “15% of 20”. The first is 75%. The second is 3.

Frequently asked questions

What is a 15 out of 20 as a percentage?

A 15 out of 20 is 75%. Divide 15 by 20 to get 0.75, then multiply by 100. The shortcut for anything out of 20 is to multiply the score by 5, since 15 × 5 = 75. On the common ten-point scale that is a C. As a fraction in lowest terms, 15/20 reduces to 3/4.

What is a 26 out of 30 as a percentage?

A 26 out of 30 is 86.67%. The division is 26 ÷ 30 = 0.86666…, which repeats, so it gets rounded to two decimal places. That normally lands in the B band. If you need the exact fraction, 26/30 reduces to 13/15 — do not try to reduce the rounded percentage.

What is a 20 out of 25 as a percentage?

A 20 out of 25 is 80%. Because 25 divides into 100 exactly four times, you can multiply the score by 4 instead of dividing: 20 × 4 = 80. On the usual scale 80% is a B−, sitting right on the cutoff. In lowest terms, 20/25 is 4/5.

What is a 17 out of 20 as a percentage?

A 17 out of 20 is 85%. Multiply by 5: 17 × 5 = 85. If multiplying by 5 is awkward, double the score to 34 and move the decimal point one place left. That gives 3.4, then scale by 10 for 85%. Eighty-five percent is usually a B.

How do you calculate a percentage out of any total?

Divide the score by the total, then multiply by 100. That is the whole method: score ÷ total × 100. For 34 out of 45, 34 ÷ 45 = 0.7556, so the score is 75.56%. The ratio to percentage calculator shows the division and the result for any pair of numbers.

What is 15 percent of 80?

It is 12. Convert 15% to the decimal 0.15, then multiply by 80: 0.15 × 80 = 12. In your head, 10% of 80 is 8 and half of that is 4, so 15% is 8 + 4 = 12. Note this is a different question from “15 out of 80”, which is 18.75%.

How do you turn a percent into a fraction?

Write the percentage over 100, then reduce. 40% becomes 40/100, and dividing top and bottom by 20 gives 2/5. For 62.5%, first clear the decimal: 62.5/100 becomes 625/1000, which reduces to 5/8. If the percentage repeats, go back to the original numbers instead of reducing the rounded figure.

How do you convert a decimal to a percent?

Multiply by 100, which moves the decimal point two places right. 0.42 becomes 42%, 0.7 becomes 70%, and 0.035 becomes 3.5%. To go the other way, divide by 100 and move the point two places left. The percent to decimal calculator handles the reverse direction.

What score do I need out of 40 to get 90%?

You need 36. Convert 90% to 0.90 and multiply by the total: 0.90 × 40 = 36. Because 40 does not divide into 100 evenly, targets on a 40-point test often land between marks. When that happens, round up — 35.5 marks means you need 36 to clear the cutoff.

Is 75% a good grade?

On the common American ten-point scale, 75% is a C, which is a passing grade in most courses. Cutoffs vary by school, though. Some institutions place a C at 70–79 with no plus or minus, some require a C or better for major requirements, and graduate programs often set a higher floor. Check the syllabus for the course.

Calculators for this

Every one of these shows the working, so you can check the method as well as the answer.

Cite this page “X Out of Y as a Percentage”. Four Function Calculator, 7 September 2026.https://fourfunctioncalculator.com/x-out-of-y-as-a-percentage/
Shows the workingRuns entirely in your browser — nothing you type is sent anywhere.Last reviewed 7 September 2026