Skip to content

Rule of Three Calculator

Choose whether the rule of three is direct, inverse or compound, enter the values you know and you get x, the setup table and each step of the working with your own numbers. The arithmetic runs on exact fractions, so the answer carries no rounding errors.

Works anywhere in the world, wherever you are.

Kind of rule of three

Direct: when one amount goes up, the other goes up in the same proportion (more pounds, more money).

If A goes with B, what goes with C?

The value you already know.

In the second quantity.

x is what goes with C.

Result: x

12.5

3 → 7.5 · 5 → x

Proportion
Direct
Formula
x = (B × C) ÷ A

Setup

Setup
Quantity 1Quantity 2
Known case37.5
New case5x

Step by step

  1. It is direct: if the first quantity is multiplied by a number, so is the second. The two ratios are equal: 3 ÷ 7.5 = 5 ÷ x.
  2. Cross-multiply and solve for x: x = (7.5 × 5) ÷ 3.
  3. Multiply: 7.5 × 5 = 37.5.
  4. Divide: 37.5 ÷ 3 = 12.5.

To tell direct from inverse, ask: if I double one amount, does the other double (direct) or halve (inverse)? If neither happens — the price per pound drops when you buy in bulk, say — the relation is not proportional and the rule of three does not apply.

About this calculator

How it works

A simple rule of three has two quantities and four values: A and B are the case you know, C is the new value of the first quantity and x is what goes with it in the second. The calculator lays the four out in a 2 × 2 table so you can see what goes with what.

If it is direct, the two quantities grow together and the ratios are equal: A ÷ B = C ÷ x. Cross-multiplying gives x = (B × C) ÷ A.

If it is inverse, when one grows the other shrinks, and what stays the same is the product: A × B = C × x. So x = (A × B) ÷ C.

In a compound rule of three, the unknown depends on two or three quantities at once. Each quantity contributes a factor: new ÷ known if it is direct, known ÷ new if it is inverse. The unknown's known value is multiplied by every factor.

Examples

Direct: if 3 pounds cost $7.50, what do 5 pounds cost? More pounds, more money, so it is direct: x = (7.5 × 5) ÷ 3 = 37.5 ÷ 3 = 12.5. The 5 pounds cost $12.50.

Inverse: if 4 people paint a house in 6 days, how long do 3 people take? Fewer people, more days, so it is inverse: x = (4 × 6) ÷ 3 = 24 ÷ 3 = 8 days.

Compound: 8 workers working 6 hours a day build a wall in 10 days. How many days do 4 workers working 8 hours a day take? Both quantities are inverse (more workers or more hours, fewer days): x = 10 × (8 ÷ 4) × (6 ÷ 8) = 480 ÷ 32 = 15 days.

If the new wall is also 45 meters long instead of 30, a third quantity comes in, direct this time (more meters, more days): x = 10 × (8 ÷ 4) × (6 ÷ 8) × (45 ÷ 30) = 22.5 days.

Direct or inverse? How to tell

Try doubling: if one amount doubles, does the other double too? Then it is direct (pounds and price, hours and pay, distance and fuel). If the other halves, it is inverse (workers and days, speed and travel time).

If neither happens, the relation is not proportional and the rule of three gives a wrong number. That is the case with bulk pricing, with rates that include a fixed charge and with anything that has a minimum.

Exact answers

The decimals you type are treated as exact fractions (7.5 is 15/2), so the calculator builds up no rounding error. If the answer terminates, you see all of it.

If it does not, you see it three ways. With A = 3, B = 2 and C = 5, direct, x = 10 ÷ 3: the exact fraction is 10/3, the exact decimal is 3.(3) — the 3 repeats forever — and rounded to six decimals it is 3.333333.

Important limitations

  • It only works when the relation is proportional. With fixed charges, bulk discounts, minimums or any relation that is neither direct nor inverse, the answer does not apply.
  • Every amount must be more than 0: with a 0 or a negative number the proportion has no answer.
  • The calculator does not round for context. If x is a number of people or boxes, decide whether to round up.
  • For percentages ("what percent is…?"), the percentage calculator does it in one step.

Frequently asked questions

It is a way to find a fourth value when you know three and the two quantities are proportional. If A goes with B, the rule of three tells you what goes with C.

Cross-multiply and divide: x = (B × C) ÷ A. If 3 pounds cost $7.50, 5 pounds cost (7.5 × 5) ÷ 3 = 12.5, that is, $12.50.

Multiply the two known values and divide by the new one: x = (A × B) ÷ C. If 4 people take 6 days, 3 people take (4 × 6) ÷ 3 = 8 days.

Compare each quantity with the unknown on its own. Direct ones contribute new ÷ known and inverse ones known ÷ new; multiply the known value by every factor. If 8 workers at 6 hours a day take 10 days, 4 workers at 8 hours take 10 × (8 ÷ 4) × (6 ÷ 8) = 15 days.

Because the division does not give an exact decimal. With 3 → 2 and 5 → x, direct, x = 10/3: as a decimal it is 3.(3), with the 3 repeating forever, and the calculator shows it rounded as ≈ 3.333333.

This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.