Skip to content
AZ Tools

Rule of Three Calculator

Solve a proportion a/b = c/d — enter any three values, leave one field empty, and the fourth is found by cross-multiplication.

Enter three values and leave one field empty — it's solved automatically.

/=/

Result

d = 8

3 / 4 = 6 / 8

How to use

  1. Type the three numbers you know into the proportion a / b = c / d.
  2. Leave the one you want to find empty.
  3. Read the answer and the completed proportion below.

About this tool

Show

Solve a proportion by leaving one of the four values blank: type three of a to b as c is to d, and the missing one is filled in by cross-multiplication, with the completed equation shown so you can check the arrangement. It is the arithmetic behind most everyday scaling — resizing a photo while keeping its shape, scaling a recipe from four servings to seven, converting a map distance, working out a dose or a mixing ratio, or turning a part and a whole into a percentage by solving against 100. Order matters more than the numbers do, and seeing the finished equation is the quickest way to catch a ratio written the wrong way round. A division by zero is reported instead of returning an infinity.

Frequently asked questions

What is the rule of three?

It's a way to find an unknown value in a proportion. If a/b = c/d and one of them is unknown, you cross-multiply: a·d = b·c, then divide to isolate the missing value.

Where is the unknown allowed?

Anywhere — leave a, b, c or d empty. The calculator detects which field is blank and solves for it as long as that doesn't require dividing by zero.

Can I use decimals?

Yes. Any of the values can be a decimal (e.g. 2.5), and the result keeps full precision, trimmed to a readable number of digits.

Why do I get a division-by-zero message?

Solving for one position divides by another value. If that value is zero, the proportion has no finite solution — change the inputs so you're not dividing by zero.

How do I use this for inverse proportion?

Swap the two values in one of the ratios. The rule of three assumes direct proportion — double one side, double the other — but a lot of real problems are inverse: 4 workers take 6 days, so 8 workers take 3, not 12. Enter the workers in the opposite order to the days: a = 8, b = 4, c = 6, blank d, and you get 3. The test for which you have is whether the product a·b stays constant (inverse) or the ratio a/b does (direct).

Why does it insist on exactly one blank?

Because any other count has no single answer. With two blanks the proportion has infinitely many solutions — 1/2 = x/y holds for every pair where y is twice x — so there is nothing to compute. With none there is nothing to solve for, though you can still read the equation as a claim to check by eye. Zero is refused only in the position that would become the divisor: solving for d divides by a, for c divides by b, for b divides by c and for a divides by d.

Related tools