Ratio Calculator

Simplify any ratio to its lowest terms, with the decimal equivalent.

What does this calculator do?

This calculator reduces a ratio A : B to its smallest whole-number form — for mixing instructions, screen proportions, recipe scaling or comparing two quantities. The decimal value of A ÷ B is shown alongside.

Formula

Both parts are divided by their greatest common divisor (decimals are scaled to whole numbers first):

A : B = (A ÷ gcd) : (B ÷ gcd)

How to use it

Enter the two values of the ratio. Decimals are allowed — 2.5 : 1.5 simplifies to 5 : 3. The simplified form and the decimal appear instantly.

Worked example

The ratio 12 : 16: the greatest common divisor is 4, so it simplifies to 3 : 4 — and 12 ÷ 16 = 0.75.

Formula version1.0.0
FormulaA : B = (A ÷ gcd) : (B ÷ gcd)

Frequently asked questions

What is a ratio used for?

A ratio compares two quantities in relative terms: 3 : 4 means for every 3 units of the first there are 4 of the second — the absolute amounts can be anything with that proportion.

Can the values be decimals?

Yes. They are scaled to whole numbers before simplifying: 2.5 : 1.5 → 25 : 15 → 5 : 3.

How do I find a missing value in A : B = C : X?

That is a proportion — use the Rule of Three calculator linked below.

Sources

Related calculators

Last updated: 2026-07-29 · v1.0.0 · Report an error