CalSolve

Rule of Three Calculator

Solve direct and inverse proportions instantly: enter three values and get the fourth, with the cross-multiplication explained.

When one value goes up, the other goes up in the same ratio (price and quantity, distance and fuel).

A
→
B
C
→
X
15

If 4 corresponds to 6, then 10 corresponds to 15.

Steps

  1. 1Cross-multiply and divide: X = B × C ÷ A = 6 × 10 ÷ 4 = 15

About this tool

The rule of three finds a fourth value when two quantities are proportional. If 4 kg of apples cost $6, then 10 kg cost 6 × 10 ÷ 4 = $15. Set the values out in two rows, A → B and C → X, and cross-multiply: X = B × C ÷ A. It works for prices, recipes, map scales, unit conversions and percentages.

In an inverse proportion, one quantity decreases when the other increases, so their product stays constant. If 4 workers need 6 days for a job, 3 workers need 4 × 6 ÷ 3 = 8 days, and a trip that takes 3 hours at 60 km/h takes 60 × 3 ÷ 90 = 2 hours at 90 km/h. Here, X = A × B ÷ C.

Before calculating, check that the relationship really is proportional: doubling one quantity must double, or halve, the other. That isn't the case for a taxi fare with a fixed pick-up charge, or for cooking times, which don't double with the amount of food.

Worked example

  1. 1Choose direct or inverse proportion.
  2. 2Enter the known pair, A and B, and the new value, C.
  3. 3Read X and the sentence that explains it. Example: 250 g of flour for 4 people means 250 × 6 ÷ 4 = 375 g for 6 people.

Formula

Direct: X = B × C ÷ A ; inverse: X = A × B ÷ C

Related tools

Frequently asked questions

How do I know whether a proportion is direct or inverse?
Ask what happens to the second quantity when the first one doubles. If it doubles too (price and weight, distance and fuel), the proportion is direct; if it halves (workers and duration, speed and travel time), it's inverse.
How do I calculate a percentage with the rule of three?
Put 100 on one side: if 18 students out of 120 wear glasses, then x is to 100 as 18 is to 120, so x = 18 × 100 ÷ 120 = 15%.
Why is it called the rule of three?
Because you know three values and look for the fourth. The method was already used in ancient India and China, and from the Middle Ages onward it was taught in Europe as an essential tool for merchants.
Can the values be decimals or negative?
Yes, any number works as long as you don't divide by zero: A can't be 0 in a direct proportion, and C can't be 0 in an inverse one.