Proportion calculator (rule of three)

Three numbers are known and the fourth is missing. Enter A and its matching value B, then the new value C, and the calculator finds X for a direct or an inverse proportion.

Type of proportion
X (matches C)250
B per one unit of A
50

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose Direct if both quantities grow together (price and weight, distance and fuel) or Inverse if one grows while the other shrinks (workers and days, speed and time).
  2. Enter A and the value B that goes with it.
  3. Enter the new value C. X is shown at once.

Formulas

Proportion Relation X
Direct A / B = C / X X = B × C ÷ A
Inverse A × B = C × X X = A × B ÷ C

In a direct proportion B ÷ A is the same for every pair (for example the price of one kilogram); in an inverse one the product A × B stays the same (for example the total worker-days).

Worked examples

  • Direct. 3 kg of apples cost 150. How much are 5 kg? X = 150 × 5 ÷ 3 = 250, at 50 per kilogram.
  • Fuel. A car uses 7.5 l per 100 km. For 340 km: X = 7.5 × 340 ÷ 100 = 25.5 l.
  • Inverse. At 60 km/h a trip takes 2 hours. At 80 km/h: X = 60 × 2 ÷ 80 = 1.5 hours.

Common mistakes

  • Choosing direct for an inverse case. More workers do not take more days. Ask whether doubling A doubles B (direct) or halves it (inverse).
  • Mixing units. Keep A and C in the same unit (both kilograms or both grams), otherwise X is off by a factor of 1000.
  • Assuming a proportion where there is none. Taxi fares with a fixed start fee or bulk discounts do not grow in strict proportion.

Frequently asked questions

What is the rule of three?

It is a way to find the fourth number of a proportion when three are known. If A matches B, then C matches X = B × C ÷ A. For example, if 3 kg cost 150, then 5 kg cost 150 × 5 ÷ 3 = 250.

When is a proportion inverse?

When one value grows as the other shrinks and their product stays the same. If 4 workers need 6 days, 3 workers need 4 × 6 ÷ 3 = 8 days, assuming everyone works at the same pace.

How do I solve a/b = c/x by hand?

Cross-multiply, a × x = b × c, then divide by a, x = b × c ÷ a. That is exactly the direct mode, with A = a, B = b and C = c.

Does it work with decimals and percentages?

Yes. Any numbers work, for example 100 km on 7.5 litres gives 25.5 litres for 340 km. Decimals can be typed with a dot or a comma.

More in Math

All tools in this category: Math ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.