help-calc

08 Numbers and Units

Ratio to Fraction: How to Convert

Card 08-0351 · Updated · Standard formula, shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator converts a ratio (such as 3:2) into its equivalent fraction (3/2) and also shows the decimal value. You enter the two parts of the ratio, and you get the fraction in simplest form, the fraction as an improper fraction, and the decimal equivalent.

Formula

A ratio a:b is read as “a to b” and represents the division a ÷ b. To convert it to a fraction, simply write the first number (the antecedent) as the numerator and the second number (the consequent) as the denominator:

a : b = a / b

For example, the ratio 3:2 becomes the fraction 3/2. If you want the simplified fraction, divide both numerator and denominator by their greatest common divisor (GCD). The decimal is just the numerator divided by the denominator.

Worked Example

Using the default values from the calculator, convert the ratio 3:2.

  1. Write the ratio as a fraction: 3/2.
  2. Simplify: the GCD of 3 and 2 is 1, so the fraction stays 3/2.
  3. Convert to decimal: 3 ÷ 2 = 1.5.

The calculator shows the fraction as 3/2, the simplified fraction as 3/2 (since it’s already in lowest terms), and the decimal as 1.5. That matches the steps above.

What Is a Ratio?

A ratio is a way to compare two quantities of the same unit. It tells you how much of one thing there is relative to another. For instance, a recipe might call for a 2:1 ratio of flour to sugar, meaning for every 2 cups of flour, you use 1 cup of sugar. Ratios can be written in several ways: with a colon (2:1), as a fraction (2/1), or with the word “to” (2 to 1). All these forms mean the same thing.

Ratios are used in cooking, mixing chemicals, scaling drawings, comparing speeds, and many other everyday situations. Understanding how to turn a ratio into a fraction is useful because fractions are often easier to work with in calculations.

How to Convert a Ratio to a Fraction

The conversion is straightforward:

  • Take the first number of the ratio (the part before the colon) as the numerator.
  • Take the second number (the part after the colon) as the denominator.
  • Write them as a fraction: numerator/denominator.

For example, the ratio 5:8 becomes 5/8. The ratio 7:3 becomes 7/3. That’s it. If the ratio has more than two parts, like 1:2:3, you can only convert a two-part ratio directly; a three-part ratio is typically expressed as three separate fractions comparing each part to the whole (e.g., 1/6, 2/6, 3/6) or to another part.

What About Ratios That Are Not in Lowest Terms?

Often a ratio is given as, say, 10:15. The fraction 10/15 can be simplified by dividing both numbers by their greatest common divisor (GCD), which is 5, giving 2/3. The calculator does this automatically. To simplify manually, find the largest number that divides both parts evenly and divide both by it. If the GCD is 1, the fraction is already in simplest form.

Remember that the simplified fraction represents the same relationship as the original ratio. 10:15 and 2:3 are equivalent ratios.

Common Mistakes and Misconceptions

One common mistake is reversing the order. The ratio 3:2 means 3 parts of the first to 2 parts of the second, so the fraction is 3/2, not 2/3. Always put the first number on top.

Another issue is forgetting to simplify. While 10/15 is correct, it’s usually expected to be reduced to 2/3. The calculator shows both forms so you can use whichever you need.

Also, remember that a ratio compares parts of the same kind. You wouldn’t normally write a ratio of 3 meters to 2 seconds as a fraction without units, because those are different dimensions. In pure math, ratios are unitless.

When to Use a Fraction Instead of a Ratio

Fractions are often more convenient for arithmetic. For example, if you need to multiply a ratio by a quantity, it’s easier to use the fraction form. If a recipe needs a 2:3 ratio of oil to vinegar, and you want to make 150 ml of dressing, you can compute the amount of oil as (2/5) × 150 = 60 ml, because the total parts are 2+3=5. This is a common use of converting a ratio to a fraction.

In statistics, odds are often given as ratios (e.g., 3:1) but probabilities are fractions (e.g., 3/4). Converting helps in those contexts.

Limitations and Notes

The calculator assumes both parts are positive numbers. If you enter zero for the second part, the fraction is undefined (division by zero), so the calculator will show “Cannot compute” thanks to a built-in check. Also, the calculator does not handle ratios with more than two parts; for those, you’d need to specify which comparison you want.

The decimal output is rounded to six decimal places, which is enough for most purposes. If you need exact values, use the fraction form.

Frequently Asked Questions

How do I convert a ratio like 5:2 to a fraction? Simply write 5 as the numerator and 2 as the denominator, giving 5/2. If you want a mixed number, 5/2 = 2 1/2.

What does it mean when a ratio is written as a fraction, like 3/4? It means the same as 3:4. The numerator is the first part, the denominator is the second part. So 3/4 means 3 parts of one thing to 4 parts of another.

Can I convert a ratio to a percentage? Yes, first convert to a fraction, then multiply by 100. For example, 3:2 becomes 3/2 = 1.5, so 150%. This is common in statistics.

What if my ratio has three numbers, like 1:2:3? A three-part ratio cannot be converted to a single fraction directly. You can express each part as a fraction of the whole: 1/6, 2/6, 3/6, or compare two parts at a time (e.g., 1:2 is 1/2).

Why does the calculator show both a fraction and a simplified fraction? Because sometimes you need the exact ratio as given, and sometimes you need the simplest form. Both are mathematically equivalent, but simplified is often easier to understand.

Related

Formula used
in a | First part (antecedent) | - | 3 | 0 | 1000000
in b | Second part (consequent) | - | 2 | 0 | 1000000
out frac | Fraction | - | a / b | 4
out simp | Simplified fraction | - | (a / gcd(a,b)) / (b / gcd(a,b)) | 4
out dec | Decimal | - | a / b | 6

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this shelf

The whole Numbers and Units shelf →