Math & Geometry
Ratio & Proportion Calculator
Solve A : B = C : D for the missing value (rule of three) and simplify a ratio.
Ratios, proportions and the rule of three
A ratio compares two quantities, such as 3 parts flour to 4 parts water. Two ratios are in proportion when they are equal, written A : B = C : D. If three of the values are known, the fourth follows by cross-multiplying: D = B × C ÷ A. This is the rule of three taught in schools across the world, and it solves a huge range of everyday problems: scaling a recipe, converting a price per kilo, working out how far you can drive on a given amount of fuel, or adjusting a map scale.
The calculator finds the missing value, simplifies the ratio A : B to its smallest whole numbers and shows it as a decimal.
Direct and inverse proportion
The rule of three as used here assumes direct proportion: when one quantity doubles, the other doubles too, like ingredients and servings or price and weight. Some relationships are inverse: if 4 workers take 6 days, 8 workers take 3 days, because more workers means less time. For inverse proportion, multiply instead: D = A × B ÷ C. Always check which kind of relationship your problem describes before calculating.
Formula & method
A / B = C / D ⇒ D = B × C ÷ AWorked example
If 3 kg cost 4, how much do 9 kg cost?
- Set up 3 : 4 = 9 : D
- D = 4 × 9 ÷ 3
- D = 12
Answer: 9 kg cost 12, and the ratio 3 : 4 is already in simplest form.
Frequently asked questions
What is the rule of three?
If A corresponds to B, then C corresponds to B × C ÷ A.
How do I simplify a ratio?
Divide both terms by their greatest common divisor: 12 : 18 becomes 2 : 3.
How do I scale a recipe?
Use the original servings as A, an ingredient amount as B and the new servings as C; D is the new amount.
Can ratios have more than two terms?
Yes, like 1 : 2 : 3 for a concrete mix; scale each term by the same factor.
What is the difference between a ratio and a fraction?
A fraction compares a part with the whole; a ratio compares two parts with each other.
How do I convert a ratio to a percentage?
Divide one term by the total: in 1 : 3, the first part is 1 ÷ 4 = 25%.
Does it work with decimals?
Yes. All three values can be decimals.
What is a map scale ratio?
A scale of 1 : 25,000 means 1 cm on the map equals 25,000 cm (250 m) on the ground.