Skip to main content

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

Parts

Shares

20% : 80%

Working

  1. Total of the 2 parts = 5
  2. 1 ÷ 5 = 0.2
  3. 0.2 × 100 = 20%
  4. 4 ÷ 5 = 0.8
  5. 0.8 × 100 = 80%
Part 1
20%
Part 2
80%
Total of the parts
5
Exact shares add up to
100%
Rounded shares add up to
100%

Ratios are read part to part: 3:1 is 75% and 25%.

A mix is 2 parts concentrate to 3 parts water, or a budget splits 3:5:2 across three teams. What share is each part? Add the parts to get the total, divide each part by it, then multiply by 100: 2:3 is 40% and 60%.

Enter a two-part or three-part ratio into this ratio to percentage calculator and it shows each share as a percentage, with the total and the working. You can also go the other way and turn a percentage into a ratio.

How ratio to percentage works

Quick answer: add the parts of the ratio to get the total, divide each part by the total, then multiply by 100. For 2:3 the total is 5, so the shares are 2 ÷ 5 = 40% and 3 ÷ 5 = 60%.

How to convert a ratio to a percentage

  1. Add the parts of the ratio to get the total number of parts.
  2. Divide each part by the total to get its share as a decimal.
  3. Multiply each share by 100 and add the percent sign.

A ratio compares parts. A percentage compares each part with the whole, and the whole is the sum of the parts. That is why the first step is to add them. The shares always add up to 100%.

Ratio to percentage formula

Share of a part = part ÷ (sum of all parts) × 100. The ratio to percent formula is the same for any number of parts, so a three-part ratio such as 3:5:2 uses a total of 3 + 5 + 2 = 10.

Three-part ratios

For three parts, divide each part by the same total, the sum of all three. The method does not change; there is one more division.

Part to part and part to whole

Ratios are normally read part to part, so 3:1 means three parts to one part, a total of four, and shares of 75% and 25%. It does not mean 300%. If you are given a ratio of a part to the whole, such as 3 to 4, the whole is already the second number and the share is 3 ÷ 4 = 75%. The calculator reads every ratio as part to part.

Percent to ratio

To go from percent to ratio, write the share and the remainder as a ratio, then simplify. A share of 25% leaves 75%, so the ratio is 25:75, which becomes 1:3 after dividing both numbers by their greatest common factor. For 40% the ratio is 40:60, which is 2:3, and for 50% it is 50:50, which is 1:1. Switch the direction in the calculator to convert a percentage into a ratio; it then works as a percentage to ratio calculator. A share with decimals, such as 33.33%, gives a long ratio (3333:6667), so a whole-number percentage gives a more readable one.

Ratio to percentage examples

Example 1: a two-part ratio, 2:3

Given

2:3
  1. Step 1

    The total is 2 + 3 = 5.
  2. Step 2

    Divide: 2 ÷ 5 = 0.4 and 3 ÷ 5 = 0.6.

Answer

Multiply by 100: 40% and 60%.

Example 2: a ratio with a small first part, 1:4

Given

1:4
  1. Step 1

    The total is 5.

Answer

The shares are 1 ÷ 5 = 0.2 and 4 ÷ 5 = 0.8, so 20% and 80%.

Example 3: a three-part ratio, 3:5:2

Given

3:5:2
  1. Step 1

    The total is 3 + 5 + 2 = 10.

Answer

The shares are 3 ÷ 10, 5 ÷ 10 and 2 ÷ 10, which are 30%, 50% and 20%.

Example 4: a three-part ratio that does not divide evenly, 1:2:3

Given

1:2:3
  1. Step 1

    The total is 6.

Answer

The shares are 1 ÷ 6 = 16.67%, 2 ÷ 6 = 33.33% and 3 ÷ 6 = 50%, so 16.67%, 33.33% and 50% to two decimal places. They add to exactly 100.

Example 5: mixing ratios, 1:9

Given

1:9

Answer

A concentrate mixed 1 part to 9 parts water has a total of 10 parts, so it is 10% concentrate and 90% water.

Example 6: percentage to ratio, 25%

Given

25%
  1. Step 1

    A 25% share leaves 75%.

Answer

The ratio is 25:75, and dividing both by 25 gives 1:3.

Example 7: a three-part ratio with decimal shares, 1:3:4

Given

1:3:4
  1. Step 1

    The total is 1 + 3 + 4 = 8.

Answer

The shares are 1 ÷ 8 = 0.125, 3 ÷ 8 = 0.375 and 4 ÷ 8 = 0.5, so 12.5%, 37.5% and 50%. A ratio can give a decimal share before any rounding.

Common ratios as percentages

Ratios that do not divide 100 evenly, such as 1:2 and 1:5, are rounded to two decimal places.

Common ratios as percentages
RatioFirst partSecond part
1:150%50%
1:233.33%66.67%
1:325%75%
1:420%80%
1:516.67%83.33%
1:910%90%
2:340%60%
3:260%40%
3:442.86%57.14%
1:195%95%
1:991%99%

Ratio to percentage practice questions

Try these five before checking the answers. Round to two decimal places where needed.

  1. Convert 3:7 to percentages.
  2. Write 60% as a ratio in its simplest form.
  3. Convert the three-part ratio 2:3:5 to percentages.
  4. A drink is mixed 1 part syrup to 4 parts water. What percent is syrup?
  5. A class has boys to girls in the ratio 7:8. What percent are girls?

Practice answers

Each answer starts with the total of the parts.

  1. The total is 10, so the shares are 30% and 70%.
  2. 60% leaves 40%, so the ratio is 60:40, which is 3:2.
  3. The total is 10, so the shares are 20%, 30% and 50%.
  4. The total is 5, so syrup is 1 ÷ 5 = 20%.
  5. The total is 15, so girls are 8 ÷ 15 = 53.33% and boys are 46.67%.

Ratio to percentage practice questions

Ratio to percentage code

Both versions reproduce the worked examples above, reject non-numeric input and refuse a ratio whose parts are all zero.

JavaScript

JavaScript
function finite(name, v) {  if (typeof v !== "number" || !Number.isFinite(v)) throw new TypeError(`${name} must be a finite number`);}​function places(decimals) {  if (!Number.isInteger(decimals) || decimals < 0 || decimals > 10) throw new RangeError("decimals must be a whole number from 0 to 10");  return decimals;}​// [2, 3] -> [40, 60]; [3, 5, 2] -> [30, 50, 20]export function ratioToPercent(parts, decimals = 2) {  if (!Array.isArray(parts) || parts.length < 2) throw new TypeError("parts must be an array of at least two numbers");  parts.forEach((p) => {    finite("part", p);    if (p < 0) throw new RangeError("parts must not be negative");  });  const d = places(decimals);  const total = parts.reduce((a, b) => a + b, 0);  if (total === 0) throw new RangeError("the parts must not all be 0");  return parts.map((p) => Number(((p / total) * 100).toFixed(d)));}​function gcd(a, b) {  return b === 0 ? a : gcd(b, a % b);}​// 25 -> [1, 3] (part to rest, simplified). Accepts up to 2 decimal places.export function percentToRatio(percent) {  finite("percent", percent);  if (percent <= 0 || percent >= 100) throw new RangeError("percent must be above 0 and below 100");  const p = Math.round(percent * 100);  if (Math.abs(percent * 100 - p) > 1e-9) throw new RangeError("percent must have at most 2 decimal places");  const rest = 10000 - p;  const g = gcd(p, rest);  return [p / g, rest / g];}

Python

Python
from decimal import Decimal, ROUND_HALF_UPfrom math import gcd, isfinite​​def _num(name, v):    if isinstance(v, bool) or not isinstance(v, (int, float, Decimal)) or not 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 ratio_to_percent(parts, decimals=2):    if not isinstance(parts, (list, tuple)) or len(parts) < 2:        raise ValueError("parts must be a list of at least two numbers")    nums = [_num("part", p) for p in parts]    if any(n < 0 for n in nums):        raise ValueError("parts must not be negative")    total = sum(nums)    if total == 0:        raise ValueError("the parts must not all be 0")    return [_round(n / total * 100, decimals) for n in nums]​​def percent_to_ratio(percent):    p = _num("percent", percent)    if not 0 < p < 100:        raise ValueError("percent must be above 0 and below 100")    scaled = p * 100    if scaled != scaled.to_integral_value():        raise ValueError("percent must have at most 2 decimal places")    a = int(scaled)    b = 10000 - a    g = gcd(a, b)    return a // g, b // g

ratioToPercent([3, 5, 2]) returns 30, 50 and 20, the three-part example, and percentToRatio(40) returns 2 and 3. Round only for display. Rounded shares may not add to 100: ratioToPercent([1, 1, 1]) returns 33.33 three times, which is 99.99, so the calculator shows the exact total beside the rounded shares. The Python version rounds half up, which is the usual school convention, and returns Decimal values, so 40 prints as 40.00.

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 ratio needs at least two parts. Negative parts are rejected, because a part cannot be less than nothing.
  • A part of 0 is allowed, as in 0:4, which gives 0% and 100%. A ratio with every part at 0 is refused, because its total is zero.
  • Decimal parts are accepted, so 1.5:2.5 gives 37.5% and 62.5%.
  • A percentage to convert must be above 0 and below 100, with at most two decimal places, so that the ratio stays readable.
  • 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.
  • Each part has its own field, so a comma is never needed to separate the parts.

Common ratio to percentage mistakes

Common ratio to percentage mistakes
MistakeWhat goes wrongWhat the calculator does
Dividing the first part by the second2:3 as 2 ÷ 3 gives 66.67%, not 40%Divides by the total of all parts
Not adding the parts first3:1 read as 300% instead of 75%Adds the parts first
Reading a colon as part to whole1:3 as 1/3 gives 33.33%, not 25%Reads a ratio as part to part
Leaving a part out of the total3:5:2 with a total of 8 gives 37.5%, not 30%Uses every part
Rounded shares that miss 100%1:1:1 shows 33.33% three times, which is 99.99%Shows the exact total
Writing a percent as p:10025:100 entered as a part-to-part ratio gives 20%, not 25%Uses the remainder, 100 minus the percent
Not simplifying25:75 left as it is instead of 1:3Divides by the greatest common factor

One split in five forms

The same split, 75% and 25%, written in the forms people ask about:

One split in five forms
FormExampleHow to get the percentWhere to do it
Ratio, part to part3:13 ÷ (3 + 1) × 100This page
Percentage to ratio75%75:25, simplified to 3:1This page
Fraction3/4Divide, then multiply by 100Fraction to percent calculator
Decimal0.75Multiply by 100Decimal to percent calculator
Percent back to fraction75%Write over 100 and simplifyPercent to fraction calculator

Frequently asked questions

How do I convert a ratio to a percentage?

Add the parts to get the total, divide each part by the total, then multiply by 100. For 7:3 the total is 10, so the shares are 70% and 30%.

How do I convert a percentage to a ratio?

Pair the percentage with what is left of 100, then simplify. 25% becomes 25:75, which simplifies to 1:3. 40% becomes 40:60, which is 2:3. That is a part-to-rest ratio; the part-to-whole version of 25% is 25:100, or 1:4.

How do I write a ratio as a percentage without a calculator?

Scale the ratio so the total is 100. If the total divides 100 evenly, multiply: 2:3 has a total of 5, so multiply by 20 to get 40:60, which reads as 40% and 60%. 1:3 has a total of 4, so multiply by 25 to get 25:75.

How do I convert a three-part ratio to percentages?

The method is the same with one more division. For 3:5:2 the total is 10, so the shares are 30%, 50% and 20%, which add back to 100%.

Is a ratio of 3:1 the same as 300%?

No. In 3:1 the first part is 3 of 4 total parts, a 75% share, and the second is 25%. The figure 300% is the first part measured against the second (3 ÷ 1 = 3), which compares the parts to each other and is not a share of the whole.

Why do my shares add up to 99.99%?

Rounding. A 1:1:1 split gives 33.33% three times, which totals 99.99%. Either carry more decimal places or adjust the largest share by the leftover 0.01 so the column totals 100%.

How do I convert a ratio to a percentage in Excel?

For two parts in A2 and B2, use =A2/(A2+B2) and format the cell as a percentage. For any number of parts across A2 to C2, use =A2/SUM($A$2:$C$2) and fill right, keeping the range anchored.