Rule of Three Calculator

X
—
Step by step
—
What is the rule of three?

The rule of three is used to calculate an unknown value when three values are known in a proportional relationship. If A/B = C/X, then X = (B × C) / A.

When do you use the rule of three?

The rule of three is used when two quantities are proportional. Common examples: price per kilo, speed and time, recipes for different numbers of servings.

How does the calculation work?

Set up the proportion: A relates to B as C relates to X. Multiply the known opposite values (B × C) and divide by the known value (A) to get X.

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

  1. Enter the complete known pair: A and B (for example A = 3 kg, B = 12 EUR).
  2. Enter the new case in the C box (for example C = 5 kg).
  3. Press Calculate.
  4. 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) / A

Example 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.

Frequently asked questions

What is the difference between direct and inverse proportion?

In direct proportion both values rise together, like kilograms and cost. In inverse proportion one rises as the other falls, like workers and time: 6 × 4 = 8 × 3 = 24 worker-days either way.

How do I know if two quantities are proportional?

Divide one by the other several times. If 3 kg cost 12 EUR and 5 kg cost 20 EUR, then 12/3 = 4 and 20/5 = 4 — the same 4 EUR per kg, so the relationship is proportional.

How do I arrange the values in A, B and C?

A and B are the complete pair you already know, written in matching units (3 kg → 12 EUR). C is the partial new case (5 kg), and X is the answer in the same units as B (EUR).

Can the rule of three handle decimals and fractions?

Yes. The travel example above uses 1.5 hours and returns 3.75 hours. Fractions work the same way — just keep the units consistent on each side of the proportion.