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
- Type the three numbers you know into the proportion a / b = c / d.
- Leave the one you want to find empty.
- Read the answer and the completed proportion below.
About this tool
ShowHide
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
Quadratic Equation Solver
Solve ax² + bx + c = 0 with the quadratic formula — real or complex roots, plus discriminant, vertex, axis of symmetry and sum/product of roots.
Math & Statistics
Triangle Solver: SSS, SAS, ASA, AAS & SSA
Solve any triangle from three known sides and angles — SSS, SAS, ASA, AAS or the ambiguous SSA case — with area, perimeter, radii, heights and medians.
Math & Statistics
Polynomial Root Finder (Cubic, Quartic & Beyond)
Find all real and complex roots of a polynomial up to degree 30 — cubic, quartic or higher — with multiplicities, the factored form and a residual check.
Math & Statistics
A/B Test Calculator (significance & sample size)
Compare two conversion rates: p-value, lift, Wilson and Newcombe intervals, a sample-ratio-mismatch check, and the sample size the next test needs.
Math & Statistics
Fibonacci Sequence Generator
Generate the first N Fibonacci numbers with exact big-integer precision — with the last term, the running sum and the golden-ratio approximation.
Math & Statistics
Prime Factorization · GCD · LCM
Factor an integer into primes, list all divisors, and compute GCD and LCM of two numbers. Handles values up to ~10¹².
Math & Statistics