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

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.

M
Written by
Mathovia Team
Editorial Team

A fraction and a ratio are two ways of writing the same relationship between two numbers. The fraction 8/12 and the ratio 8:12 both compare 8 of something to 12 of something else, and both simplify the same way — by dividing out their greatest common divisor.

How to Convert a Fraction to a Ratio (step by step)

Step One: Find the greatest common divisor (GCD) of the numerator and denominator

gcd(8, 12) = 4

Step Two: Divide both numbers by the GCD

8 ÷ 4 = 2
12 ÷ 4 = 3

Step Three: Write the result as a ratio

8/12 = 2:3

With the calculator’s default values, 8/12 simplifies to the ratio 2:3 — meaning for every 2 parts of one quantity, there are 3 parts of the other.

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.

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's the difference between a fraction and a ratio?+

A fraction (n/d) expresses a part out of a whole, while a ratio (n:d) compares two quantities to each other. Mathematically they simplify the same way, but a ratio doesn't imply the two numbers add up to a total the way numerator and denominator do.

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

Both the fraction 8/12 and the ratio 8:12 share a greatest common divisor of 4. Dividing both numbers by 4 gives 2/3 and 2:3 — the relationship between the two numbers hasn't changed, only how small the numbers describing it are.

Can a ratio have more than two terms?+

Yes — ratios like 2:3:5 compare three or more quantities at once. This calculator handles the two-term case that corresponds directly to a fraction's numerator and denominator.

Related calculators