Skip to main content

Example values are filled in. Replace them with your own.

Percentage

37.50%

Working

  1. 3 ÷ 8 = 0.375
  2. 0.375 × 100 = 37.5%
Decimal
0.375

You scored 15 out of 20 on a quiz, or ate 1/8 of a pizza (12.5%). How much is 15 out of 20 as a percent? Divide the top number by the bottom number, then multiply by 100: 15 ÷ 20 = 0.75, which is 75%.

Enter a numerator and denominator, or a mixed number, into this fraction to percent calculator. It shows the decimal first, then the percent, so each step is visible. A chart of common fractions and a lookup table of popular scores, such as 24 out of 30, follow below.

How fraction to percent works

How to convert a fraction to a percent (two steps)

percent = numerator / denominator × 100
  1. Divide the numerator by the denominator to get the decimal.
  2. Multiply the decimal by 100 and add the percent sign.

Percent means per hundred, so multiplying the decimal by 100 gives the parts out of 100. The value stays the same; only the way it is written changes.

A shortcut for denominators that divide 100

When the denominator goes into 100 exactly (2, 4, 5, 10, 20, 25 or 50), scale the fraction to a denominator of 100. For 15/20, multiply the top and bottom by 5 to get 75/100, which is 75%. For 13/25, multiply by 4 to get 52/100, or 52%. The multipliers are 50 for halves, 25 for quarters, 20 for fifths, 10 for tenths, 5 for twentieths, 4 for twenty-fifths and 2 for fiftieths.

Improper fractions and mixed numbers

When the numerator is larger than the denominator the fraction is more than 1, so the percent is more than 100. For a mixed number, convert it to an improper fraction first, then divide. The calculator does this when you fill in the whole-number field. Examples 2 and 3 below work through both cases.

Repeating decimals and rounding

Some fractions give decimals that never end. One third is 0.3333 and so on, which is 33.33% to two decimal places, and 2/3 is 66.67%. Round only at the end, because rounding the decimal first shifts the percent: 0.33 gives 33%, not 33.33%.

X out of Y as a percentage

A score of X out of Y is the fraction X/Y, so the method is identical. 15 out of 20 as a percentage is 15/20, which is 75%. Check any of the 68 popular scores in the lookup table below.

Fraction to percentage in Excel and Google Sheets

With the numerator in A2 and the denominator in B2, type =A2/B2 and format the cell as a percentage. No × 100 is needed, because the percent format does it for you.

Fraction to percent chart and examples

Fraction to percent chart

This percentage chart lists the most common fractions, with decimals rounded to four places:

Fraction to percent chart and examples
FractionDecimalPercent
1/20.550%
1/30.333333.33%
2/30.666766.67%
1/40.2525%
3/40.7575%
1/50.220%
2/50.440%
3/50.660%
4/50.880%
1/60.166716.67%
5/60.833383.33%
1/80.12512.5%
3/80.37537.5%
5/80.62562.5%
7/80.87587.5%
1/100.110%
3/100.330%
7/100.770%
9/100.990%
1/120.08338.33%
1/200.055%

Example 1: a proper fraction, 3/4

Given

3/4
  1. Step 1

    Divide: 3 ÷ 4 = 0.75.

Answer

Multiply by 100: 75%.

Example 2: an improper fraction, 7/4

Given

7/4
  1. Step 1

    Divide: 7 ÷ 4 = 1.75.

Answer

Multiply by 100: 175%. A value above 100% is correct here, because the fraction is more than one whole.

Example 3: a mixed number, 2 1/2

Given

2 1/2

Answer

Write it as 5/2, divide to get 2.5 and multiply by 100: 250%.

Example 4: a repeating decimal, 7/12

Given

7/12
  1. Step 1

    Divide: 7 ÷ 12 = 0.58333 and so on.

Answer

Multiply by 100: 58.33% to two decimal places.

Example 5: a score, 34 out of 40

Given

34 out of 40

Answer

Write it as 34/40, divide to get 0.85 and multiply by 100: 85%.

X out of Y as a percentage: lookup table

The most-searched scores, sorted by the total. 27 out of 30 as a percentage is 90%, 25 out of 30 as a percentage is 83.33% and the 24/30 percentage is 80%. Small unit fractions are quick: 1/10 as a percent is 10%, 1/20 as a percent is 5% and 3/20 as a percent is 15%.

Fraction to percent chart and examples
X out of YFractionAs a percentage
2 out of 32/366.67%
2 out of 52/540%
2 out of 62/633.33%
4 out of 64/666.67%
3 out of 73/742.86%
5 out of 75/771.43%
4 out of 94/944.44%
6 out of 96/966.67%
1 out of 101/1010%
6 out of 106/1060%
8 out of 108/1080%
8 out of 118/1172.73%
10 out of 1110/1190.91%
2 out of 122/1216.67%
5 out of 125/1241.67%
7 out of 127/1258.33%
10 out of 1210/1283.33%
9 out of 139/1369.23%
10 out of 1310/1376.92%
11 out of 1311/1384.62%
10 out of 1410/1471.43%
11 out of 1411/1478.57%
1 out of 151/156.67%
9 out of 159/1560%
10 out of 1510/1566.67%
12 out of 1512/1580%
13 out of 1513/1586.67%
12 out of 1712/1770.59%
15 out of 1715/1788.24%
12 out of 1812/1866.67%
13 out of 1813/1872.22%
1 out of 201/205%
3 out of 203/2015%
4 out of 204/2020%
15 out of 2015/2075%
13 out of 2113/2161.9%
16 out of 2116/2176.19%
17 out of 2117/2180.95%
18 out of 2118/2185.71%
16 out of 2216/2272.73%
18 out of 2418/2475%
21 out of 2421/2487.5%
10 out of 2510/2540%
13 out of 2513/2552%
15 out of 2515/2560%
16 out of 2516/2564%
20 out of 2520/2580%
22 out of 2522/2588%
20 out of 3020/3066.67%
21 out of 3021/3070%
23 out of 3023/3076.67%
24 out of 3024/3080%
25 out of 3025/3083.33%
26 out of 3026/3086.67%
27 out of 3027/3090%
28 out of 3028/3093.33%
29 out of 3029/3096.67%
25 out of 3525/3571.43%
30 out of 3530/3585.71%
30 out of 4030/4075%
34 out of 4034/4085%
30 out of 5030/5060%
32 out of 5032/5064%
35 out of 5035/5070%
41 out of 5041/5082%
40 out of 6040/6066.67%
48 out of 6048/6080%
50 out of 6050/6083.33%

Fraction to percent code

Both versions reproduce the examples above (75%, 175%, 250%, 58.33%, 85%) and the lookup table, reject non-numeric input and refuse a zero denominator.

JavaScript

JavaScript
function finite(name, v) {  if (typeof v !== "number" || !Number.isFinite(v)) throw new TypeError(`${name} must be a finite number`);}​export function fractionToPercent(numerator, denominator, decimals = 2) {  finite("numerator", numerator);  finite("denominator", denominator);  if (denominator === 0) throw new RangeError("denominator must not be 0");  if (!Number.isInteger(decimals) || decimals < 0 || decimals > 10) throw new RangeError("decimals must be a whole number from 0 to 10");  return Number(((numerator / denominator) * 100).toFixed(decimals));}​export function mixedToPercent(whole, numerator, denominator, decimals = 2) {  finite("whole", whole);  finite("numerator", numerator);  finite("denominator", denominator);  if (denominator === 0) throw new RangeError("denominator must not be 0");  if (!Number.isInteger(decimals) || decimals < 0 || decimals > 10) throw new RangeError("decimals must be a whole number from 0 to 10");  const sign = whole < 0 ? -1 : 1;  const value = sign * (Math.abs(whole) + numerator / denominator);  return Number((value * 100).toFixed(decimals));}

Python

Python
from decimal import Decimal, ROUND_HALF_UPimport math​​def _num(name, v):    if isinstance(v, bool) or not isinstance(v, (int, float, Decimal)) or not math.isfinite(float(v)):        raise ValueError(f"{name} must be a finite number")    return Decimal(str(v))​​def _round(x, decimals):    if not isinstance(decimals, int) or isinstance(decimals, bool) or not 0 <= decimals <= 10:        raise ValueError("decimals must be a whole number from 0 to 10")    return x.quantize(Decimal(1).scaleb(-decimals), rounding=ROUND_HALF_UP)​​def fraction_to_percent(numerator, denominator, decimals=2):    n, d = _num("numerator", numerator), _num("denominator", denominator)    if d == 0:        raise ValueError("denominator must not be 0")    return _round(n / d * 100, decimals)​​def mixed_to_percent(whole, numerator, denominator, decimals=2):    w, n, d = _num("whole", whole), _num("numerator", numerator), _num("denominator", denominator)    if d == 0:        raise ValueError("denominator must not be 0")    sign = -1 if w < 0 else 1    return _round(sign * (abs(w) + n / d) * 100, decimals)

mixedToPercent(2, 1, 2) returns 250, the mixed-number example. Round only for display. The Python version rounds half up with Decimal, which is the usual school convention; JavaScript's toFixed works on the binary value, so a value on a tie, such as 1.005, can round down where school convention rounds up.

Privacy and input safety

Values are calculated in your browser. The numbers you enter are not sent to a server or stored.

  • Fields accept numbers only. Text, empty fields, NaN and Infinity are rejected with a message, and nothing you type is ever evaluated as code.
  • A denominator of 0 returns a clear message instead of a division error, because a fraction cannot have a zero denominator.
  • Decimal places are limited to a whole number from 0 to 10.
  • A comma followed by exactly three digits is read as a thousands separator, so 1,200 is 1200. Any other comma is a decimal point, so 12,50 is 12.50, and a number starting with 0, such as 0,500, is read as a decimal. Mixed formats such as 1.234,5 and ambiguous entries such as 1,2,3 are refused instead of guessed. Spaces, including no-break spaces, between digit groups are ignored.

Common fraction to percent mistakes

Common fraction to percent mistakes
MistakeWhat goes wrongWhat the calculator does
Dividing the denominator by the numerator3/4 read as 4 ÷ 3 gives 133% instead of 75%Divides the numerator by the denominator
Forgetting to multiply by 1003/4 reported as 0.75Shows the decimal first, then the percent
Rounding the decimal before converting1/3 as 0.33 gives 33%, not 33.33%Rounds only the final percent, to two decimal places by default with trailing zeros removed
Reading 3/4% as 3/43/4% means 0.75%, which is not 75%Reads 3/4 as three quarters and returns 75%
Mishandling a mixed number2 1/2 read as (2 + 1) ÷ 2 gives 150% instead of 250%Converts to 5/2 before dividing
Using the wrong total in X out of Y15 right and 5 wrong is 15 out of 20, not 15 out of 5 (300%)Prompts for the total, not the remainder
Treating more than 100% as an error7/4 is 175%, which is validAccepts improper fractions

Fraction, decimal and percentage: one value, five forms

The same value, 0.75, written five ways. How to turn a number into a percent depends on its form:

Fraction, decimal and percentage: one value, five forms
FormExampleHow to get the percentWhere to do it
Fraction3/4Divide, then multiply by 100This page
X out of Y15 out of 20Same as the fraction 15/20This page, lookup table
Decimal0.75Multiply by 100Decimal to percent calculator
Ratio, part to part3:13 ÷ (3 + 1) × 100Ratio to percentage calculator
Percent back to fraction75%Write over 100 and simplify to 3/4Percent to fraction calculator

The fraction and X out of Y rows are the same calculation. The ratio row is the one people trip on: a ratio of 3:1 splits a whole into 4 parts, so the first part is 3/4, not 3/1.

Frequently asked questions

What is 2/5 as a percent?

2/5 is 40%. Divide 2 by 5 to get 0.4, then multiply by 100. The same method works for any fraction: numerator divided by denominator, times 100.

What is 34 out of 40 as a percentage?

34 out of 40 is 85%. 34 ÷ 40 = 0.85, and 0.85 × 100 = 85. Read "out of" as the fraction bar, so 34 out of 40 is the fraction 34/40. A 34 out of 40 on a test is 85%, a B on the usual US letter scale (80 to 89%).

What is 3/4 as a percent?

3/4 is 75%. 3 ÷ 4 = 0.75, and 0.75 × 100 = 75. It is one of the benchmark fractions worth memorising: 1/4 is 25%, 1/2 is 50%, 3/4 is 75%.

What is 4/5 as a percent?

4/5 is 80%, and so is 4 out of 5. 4 ÷ 5 = 0.8, and 0.8 × 100 = 80.

What is 12/15 as a percentage?

12/15 is 80%. 12 ÷ 15 = 0.8, and 0.8 × 100 = 80. It simplifies to 4/5, which is why the two answers match.

What is 13 out of 15 as a percentage?

13 out of 15 is 86.67% to two decimal places. 13 ÷ 15 = 0.86666..., and 0.86666... × 100 = 86.67. The decimal repeats, so the percentage is rounded, not exact.

How do I turn a number into a percent?

Divide the part by the whole, then multiply by 100. To express 18 as a percent of 24: 18 ÷ 24 = 0.75, so 75%. If you already hold a decimal, skip the division and multiply by 100: 0.35 becomes 35%.