The rule of three in one sentence
The rule of three finds a missing fourth value in a proportion: if 3 kg of apples cost 12 EUR, how much do 5 kg cost? Three numbers are known, the fourth is not, and the rate between them stays fixed.
It shows up in shopping, cooking, travel, mixing paint, and any situation where two quantities rise and fall together at a fixed rate.
How to use this rule of three calculator
- Enter the complete known pair: A and B (for example A = 3 kg, B = 12 EUR).
- Enter the new case in the C box (for example C = 5 kg).
- Press Calculate.
- Read X, the unknown value, together with the Step by step breakdown the tool shows.
The formula, with worked examples
The setup is always the same proportion: A relates to B as C relates to X. Cross-multiplying boils down to multiplying the two values that sit across from each other, then dividing by the remaining one.
A / B = C / X → X = (B × C) / AExample 1: 3 kg cost 12 EUR — what do 5 kg cost?
Set A = 3, B = 12, C = 5. Apply the formula: X = (12 × 5) / 3 = 60 / 3 = 20. Sanity check with the unit price: 12 EUR / 3 kg = 4 EUR per kg, and 5 × 4 = 20 EUR.
5 kg cost 20 EUR
Example 2: scaling a recipe
A recipe for 4 servings uses 2 cups of rice. For 10 servings set A = 4, B = 2, C = 10. Then X = (2 × 10) / 4 = 20 / 4 = 5 cups. Every other ingredient scales by the same factor 10/4 = 2.5.
10 servings need 5 cups
Example 3: travel time with decimals
A car covers 120 km in 1.5 hours at constant speed. For 300 km: X = (1.5 × 300) / 120 = 450 / 120 = 3.75 hours, which is 3 hours and 45 minutes.
300 km take 3.75 hours
Mistakes to avoid
The rule only works when the quantities are truly proportional. Bulk discounts break it: the 12th kilogram may be cheaper than the first, so the unit price is no longer constant.
Watch out for inverse relationships, where one value rises as the other falls: if 6 painters need 4 days, 8 painters need (6 × 4) / 8 = 3 days. The multiplication flips compared to the direct rule.