What is the rule of three?
The rule of three is a quick way to solve a proportion — a statement that two ratios are equal. If you know three of the four values, you can find the fourth. It is one of the most useful pieces of everyday maths: scaling a recipe, converting prices, working out fuel or paint quantities, or any 'if this, then how much of that' question.
How it works
You set it up as A is to B as C is to X. To find X you cross-multiply: X = B × C ÷ A. For example, if 3 apples cost 12, then 5 apples cost 12 × 5 ÷ 3 = 20. This is direct proportion, where increasing one side increases the other.
Examples
- Recipe: 3 eggs make 12 cookies → 5 eggs make 20.
- Price: 2 kg costs 9 → 7 kg costs 31.50.
- Speed: 60 km in 45 min → 80 km in 60 min.
How to use the rule of three calculator
- Enter the pair of values you know under A (known) and B (known).
- Enter the new value under C (known) for which you want the matching value.
- Click Calculate. You get X and the ratio A : B = C : X.
More examples
- Shopping: 3 kg of apples cost 7.50. What do 5 kg cost? A = 3, B = 7.50, C = 5 gives X = 12.50.
- Recipe: 4 people need 300 g of pasta, so 6 people need 450 g.
- Fuel: 40 litres cost 70, so 25 litres cost 43.75.
- Work: you make 120 parts in 8 hours, so 75 in 5 hours.
Doing it by hand
The method has three steps. First write down what you know: 3 kg cost 7.50. Then scale down to one unit: 1 kg costs 2.50. Finally scale up to the amount you need: 5 kg cost 12.50. The calculator does this in one step with X = B × C ÷ A.
Frequently asked questions
Direct or inverse proportion?
This calculator does direct proportion (both grow together). Inverse is a different setup.
What if A is zero?
A can't be zero — you can't divide by it. Enter a non-zero known value.
How do I solve an inverse rule of three?
In an inverse proportion, more of one means less of the other. If 4 painters need 6 days, 3 painters need 4 × 6 ÷ 3 = 8 days. Multiply A by B and divide by C instead of using the tool directly.
Is my data private?
Yes — everything is calculated in your browser.