Article

Rule of Three in Math: How to Solve Direct Proportions

The rule of three lets you find a fourth number when you know three numbers that form a proportion. This article explains how to set up the data, how to calculate the result and how to tell direct proportion from inverse proportion. You can enter your own numbers in the rule of three calculator.

Last updated:

Related tasks are covered by the percentage calculator, the ratio of two numbers and the map scale calculator.

The formula for the direct rule of three

The direct rule of three applies to two quantities that rise and fall together, that is, quantities in direct proportion. If a corresponds to b, then c corresponds to the unknown x. The proportion is written a : b = c : x, and the result is found by multiplying b by c and dividing by a.

a : b = c : x
x = b × c ÷ a
check: a × x = b × c

Quantity IQuantity II
Knowna = 2 lbb = $5
Askedc = 6 lbx = ?
Result6 lbx = 5 × 6 ÷ 2 = $15

The number a cannot be zero, because the result requires dividing by a. In writing, the phrase “rule of three” means something else; this article is about the mathematical method.

Direct proportion: a to b as c to xTwo rows. 2 lb matches 5 USD, and 6 lb matches x. Both sides are multiplied by 3, so x = 15 USD.2 lb5 USD6 lbx = 15 USD× 3× 3matchesmatches
When the quantity grows 3 times, the value grows 3 times too: x = 5 · 6 ÷ 2 = 15.

Try it with an example

Example: covering 8 sq ft of wall takes 14 lb of mortar. How much mortar does 20 sq ft take? The numbers a, b and c are already stored in the link to the calculator.

a (known quantity)
8
b (value for a)
14
c (new quantity)
20
Result
x = 35 lb

Open the calculator with these numbers

The calculator reads the values from the page address and shows the result right away. You can change them freely.

How the calculator works

The calculator solves direct proportion only, where a larger quantity corresponds to a larger value. It computes x = b · c ÷ a from the three numbers you enter and shows the cross-multiplication check a · x = b · c. The number a cannot be zero. The calculator does not compute inverse proportion.

How to apply the rule of three step by step

First write down which two quantities are linked and keep them in the same order. Put the amount in the first column and the cost, or another result, in the second. The known pair is a and b, and the third number c belongs to the same column as a.

Then multiply b by c and divide the result by a. For 2 lb at $5, the price of 6 lb is 5 × 6 ÷ 2 = $15. In the calculator you enter a, b and c in turn, and besides the result you see the check a × x = b × c.

Finally, judge whether the result makes sense. If the amount you ask about is larger than the known one, the result should be larger too. A mismatch usually means the numbers were swapped.

Proportions and cross multiplication

The rule of three is another way of writing the proportion a : b = c : x. In a proportion the cross products are equal: a · x = b · c. This equation gives the formula x = b · c ÷ a, so cross multiplication and the rule of three are the same method written in a different order.

StepExample for the proportion 3 : 12 = 5 : x
Proportion3 : 12 = 5 : x
Cross multiplication3 · x = 12 · 5
Solutionx = 60 ÷ 3 = 20

In the rule of three calculator enter a = 3, b = 12 and c = 5. You get x = 20 together with the check a · x = b · c, that is, 60 = 60. The same calculator therefore works as a proportion calculator.

The unit rate method

Instead of cross multiplying, you can first find the value per single unit and then multiply it by the quantity you need. For 2 lb of fruit at $5, one pound costs 5 ÷ 2 = $2.50, so 6 lb costs 6 × 2.50 = $15. The result is the same as with x = b · c ÷ a, because b ÷ a is exactly the unit rate.

Direct versus inverse proportion

In direct proportion both quantities move in the same direction: more pounds means a higher price. In inverse proportion one quantity rises when the other falls; for example, more workers shorten the time needed for a job.

The calculator handles direct proportion only. For inverse proportion the unknown follows from x = a × b ÷ c. If 4 workers finish a job in 10 days, 8 workers need 5 days. Before using the calculator, check that the relationship really is directly proportional.

Percentages as a rule of three

Finding a percent of a number is a special case of the rule of three: 100% corresponds to the whole value and p% to the part you want. For $250 and 18% you get 18 × 250 ÷ 100 = $45. You can solve such tasks faster in the percentage calculator.

If you compare two values and want the change in percent, continue with the article Percentage Change: Formula, Examples and Calculator.

Where the rule of three is useful

Recipes. If a recipe for 4 people needs 300 g of flour, you need 450 g for 6 people.

Shopping. When 3 lb of a product cost $12, 5 lb cost $20. Comparing unit prices helps you judge value.

Building and renovation. Material use usually grows in proportion to the area: 4 m² needs 10 kg, so 8 m² needs 20 kg.

Maps and plans. Converting a distance on a plan to a real distance is also a proportion. The map scale calculator returns the result.

Splitting in a ratio. Dividing an amount into parts is described by the ratio division calculator.

Quick comparison of results

abcx = b × c ÷ a
25615
312520
410820
1.564.518
4101025
72126

Four worked examples

You can check each example in the rule of three calculator.

1. Fruit price: 2 lb cost $5, so what do 6 lb cost?

Shopping, direct proportion.

  1. Enter a = 2, b = 5 and c = 6.
  2. Multiply b by c: 5 × 6 = 30.
  3. Divide by a: 30 ÷ 2 = 15.
  4. The result is $15.

2. Recipe: 3 cups of flour make 12 pancakes, so how many with 5 cups?

Scaling portions.

  1. Enter a = 3, b = 12 and c = 5.
  2. Multiply: 12 × 5 = 60.
  3. Divide by 3: 60 ÷ 3 = 20.
  4. The result is 20 pancakes.

3. Adhesive: 4 m² needs 10 kg, so how much for 8 m²?

Material use on a renovation.

  1. Enter a = 4, b = 10 and c = 8.
  2. Multiply: 10 × 8 = 80.
  3. Divide by 4: 80 ÷ 4 = 20.
  4. The result is 20 kg.

4. Work: 1.5 hours produce 6 items, so how many in 4.5 hours?

Decimal numbers.

  1. Enter a = 1.5, b = 6 and c = 4.5.
  2. Multiply: 6 × 4.5 = 27.
  3. Divide by 1.5: 27 ÷ 1.5 = 18.
  4. The result is 18 items; check: 1.5 × 18 = 27 = 6 × 4.5.

Common mistakes with the rule of three

  • Swapping the order of the numbers — a and c must refer to the same quantity, and b and x to the other. A reversed order gives a different result.
  • Using the formula for inverse proportion — when one quantity rises and the other falls, you need x = a × b ÷ c.
  • Mixing units — minutes and hours, or meters and centimeters, must first be converted to a common unit.
  • Assuming proportionality where there is none — a fixed fee, a quantity discount or a tariff threshold means the price does not grow in direct proportion.
  • Taking a = 0 — division by zero is not possible.
  • Skipping the check — the result should satisfy a × x = b × c.
  • Rounding too early — round only the final result, especially with decimals.

Frequently asked questions

How do you calculate the rule of three?

Write the proportion a : b = c : x and compute x = b × c ÷ a. For 2 lb at $5, the price of 6 lb is 5 × 6 ÷ 2 = $15.

What is the difference between direct and inverse rule of three?

In direct proportion both quantities rise together. In inverse proportion one rises when the other falls. For inverse proportion use x = a × b ÷ c.

Does the calculator handle the inverse rule of three?

No. The calculator handles direct proportion only; for inverse proportion use the formula x = a × b ÷ c.

How do you set up the data for the rule of three?

Put both values of the same quantity in the same column, for example pounds with pounds and dollars with dollars. Place the unknown x opposite the number it corresponds to.

Can you calculate percentages with the rule of three?

Yes. Treat 100% as the whole value and compute x = p × value ÷ 100. For 18% of $250 the result is $45.

What if the number a is zero?

The result is undefined, because the formula divides by a. The calculator shows an error.

How do you check the result?

Multiply a by x and b by c. Both products must be equal. For a = 4, b = 10, c = 10 and x = 25 we have 4 × 25 = 100 and 10 × 10 = 100.

How do you solve a proportion?

Write the proportion as a : b = c : x, cross multiply, a · x = b · c, then divide by a. For the proportion 3 : 12 = 5 : x you get x = 12 · 5 ÷ 3 = 20.

Work out your own proportion

Enter three known numbers in the rule of three calculator and you get the fourth together with a check. It is the fastest way to convert prices, portions and material use.

For related tasks use the percentage calculator, the ratio of two numbers or the percentage change calculator.