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.
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
| Quantity 1 | Quantity 2 | |
|---|---|---|
| Known case | 3 | 7.5 |
| New case | 5 | x |
Step by step
- 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.
- Cross-multiply and solve for x: x = (7.5 × 5) ÷ 3.
- Multiply: 7.5 × 5 = 37.5.
- 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.
Related tools
Percentage Calculator
Math
Six modes: percent of, what percent, change and more.
OpenFraction Calculator
Math
Add, subtract, multiply and divide fractions, step by step.
OpenUnit Converter
Math
Length, weight, volume, temperature, area, mpg, GB, psi, kWh and hp.
OpenScientific Calculator
Math
Sine, cosine, logs, powers, roots, memory and history.
OpenAbout 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
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.