Skip to main content
Mathovia

Math / Fractions & Decimals

Fraction to Ratio Calculator

Enter a fraction's numerator and denominator to see it written as a simplified ratio.

Ratio — first term
2
Ratio — second term
3
  • First term2 · 40%
  • Second term3 · 60%
The ratio as two shares of one whole bar — the same split the fraction describes, written in lowest terms.

A fraction n/d and the ratio n:d describe the same relationship. Dividing both terms by their GCD simplifies the ratio exactly the way it simplifies the fraction.

Written by
MPhil in Mathematics, Founder of Mathovia
Updated

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication. How we check our work

A fraction and a ratio are two notations for the same relationship between two numbers. The fraction 8/12 and the ratio 8:12 both compare 8 of one thing to 12 of another, and both reduce the same way — by dividing out the greatest common divisor.

Fraction to Ratio Calculator formula
The Fraction to Ratio formula

The fraction to ratio formula

Divide both the numerator and denominator by their GCD; the two results, written with a colon, are the simplified ratio.

Worked example

The calculator’s default is 8/12.

So 8/12 is the ratio 2:3 — for every 2 parts of one quantity, 3 parts of the other.

Fraction to Ratio Calculator worked example diagram
A visual read of the worked example above — the same numbers the calculator returns for its default inputs.

What your results mean

The first term and second term together form your simplified ratio, written as first:second. Like a simplified fraction, this is the smallest pair of whole numbers that still represents the exact same relationship as your original numerator and denominator.

If the GCD of your numbers is 1, the ratio is already in simplest form and will match your original numerator and denominator exactly.

Common fractions and their ratios

FractionGCDRatio
4/622:3
6/932:3
10/1552:3
3/931:3
12/1643:4

Notice the first three rows all simplify to the same 2:3 ratio — like equivalent fractions, different starting numbers can describe the same underlying relationship.

Where this comes up

Ratios show up anywhere two quantities are being compared directly rather than one being described as a share of a whole: mixing ratios for paint or concrete, aspect ratios for screens, and scale ratios on maps and models. If you actually need the fraction reduced to lowest terms rather than rewritten as a ratio, use the fraction simplifier instead — the math is identical, just the notation differs.

Part-to-part or part-to-whole?

This is where most ratio questions go wrong. Suppose a class has 8 boys and 12 girls. The ratio of boys to girls is , comparing one part with another. The fraction of the class that is boys compares a part with the whole:

So a ratio of 2:3 does not mean “two-thirds are boys”. To turn a part-to-part ratio into a fraction of the whole, put one part over the sum: .

Sharing a total in a given ratio

To split 40 sweets in the ratio 2:3, add the parts (), divide the total by that sum to find one part (), then multiply: and . Check that and simplifies back to .

Ratios with decimals or fractions

A ratio should end up in whole numbers. Multiply both terms by the same number to clear decimals or fractions, then simplify:

  • : multiply by 2 to get .
  • : multiply by 4 to get .

Common mistakes

  • Swapping the order. “Boys to girls” is boys first. and are different ratios.
  • Stopping too early. divided by 2 gives , which still shares a factor. Divide by the GCD, 4, to land on in one step.
  • Mixing units. 50 cm to 2 m is not . Convert first: .
  • Reading a ratio as a fraction of the whole. See the class example above.

Ratios with three parts

Ratios can compare more than two things, which fractions can’t do directly. A concrete mix of 12 kg cement, 18 kg sand and 30 kg gravel shares a GCD of 6:

Divide every term by the same number, just as with two terms.

Turning a ratio into percents

Add the parts to get the whole, then divide each part by it. For 2:3, the whole is 5 parts:

So a 2:3 mix is 40% of the first ingredient and 60% of the second. The percents always add to 100%.

Try these

FractionSimplified ratio
15/253:5
14/212:3
18/483:8
36/603:5
9/123:4

The ratio practice problems give unlimited extra questions.

About the formula: A fraction n/d and the ratio n:d describe the same relationship. Dividing both terms by their GCD simplifies the ratio exactly the way it simplifies the fraction.

Frequently Asked Questions

What is 8/12 as a ratio?+

2:3. The greatest common divisor of 8 and 12 is 4, and dividing both by 4 gives 2 and 3.

What's the difference between a fraction and a ratio?+

A fraction (n/d) is a part of a whole; a ratio (n:d) compares two quantities to each other. They simplify identically, but a ratio doesn't assume the two numbers add up to a total the way a numerator and denominator do.

Why is 8/12 the same as 2:3?+

Both 8/12 and 8:12 have a GCD of 4. Divide through and you get 2/3 and 2:3 — the relationship is unchanged, the numbers are just smaller.

How do I convert a ratio back to a fraction?+

Put the first term over the sum if it's a part-to-whole idea (2:3 → 2/5 of the total), or over the second term for a direct comparison (2:3 → 2/3). Which one depends on what the ratio describes.

Can a ratio have three or more terms?+

Yes — 2:3:5 compares three quantities. This calculator handles the two-term case that maps directly onto a fraction's numerator and denominator.

Where are ratios used instead of fractions?+

Mixing ratios for paint, concrete, and fuel; screen aspect ratios like 16:9; map and model scales like 1:50; and odds. Anywhere two amounts are compared side by side rather than as a share of one whole.

Learn and practice this topic

Related calculators