Ratio Calculator

Two tools in one: reduce a ratio to its simplest form, or solve a proportion A:B = C:D for the missing number. Leave one box of the proportion blank to solve for it.

Enter a ratio to simplify, or a proportion with one blank, then press Calculate.

How ratios and proportions work

A ratio compares two quantities, written A:B. Two ratios that describe the same relationship form a proportion, A:B = C:D. Simplifying a ratio means dividing both sides by their greatest common divisor; solving a proportion means finding the one missing value that keeps the two ratios equal.

Simplifying and cross-multiplying

simplify: A:B = (A÷g) : (B÷g), g = gcd(A,B) solve: A:B = C:D ⇒ A × D = B × C missing D = (B × C) ÷ A

The cross-multiplication rule — the product of the outer terms equals the product of the inner terms — is what lets you solve for any single unknown.

Worked example

Simplify 18:24, then solve 3:4 = 9:?:

gcd(18, 24) = 6, so 18:24 = 3:4.
3:4 = 9:? → ? = (4 × 9) ÷ 3 = 12.
Tip: scaling a recipe or a map uses exactly this. To double a 2:3 mix you keep the ratio — 4:6 — which simplifies right back to 2:3.

Frequently asked questions

How do you simplify a ratio?

Divide both numbers by their greatest common divisor. 18:24 share a factor of 6, so they reduce to 3:4.

How do you solve a proportion?

Cross-multiply. In A:B = C:D the product A×D equals B×C, so you can solve for whichever term is missing. For 3:4 = 9:?, the answer is (4×9)÷3 = 12.

Can a ratio have more than two numbers?

Yes — ratios like 2:3:5 are common. This calculator focuses on two-term ratios and proportions, the most frequent everyday case.

What is the decimal value of a ratio?

Divide the first term by the second. The ratio 3:4 equals 0.75, meaning the first quantity is three-quarters of the second.

MB
Mustafa Bilgic · Editor, Calcool
Ratio simplification (by the greatest common divisor) and the cross-multiplication rule for proportions are standard results from arithmetic and algebra, covered in any pre-algebra text and references such as Wolfram MathWorld. Math runs in your browser.

Related calculators