Ratio And Proportion Calculator
What number completes this proportion, and are these two ratios equivalent?
Enter any three values of a proportion A:B = C:D and find the missing fourth. Or enter two values to simplify a ratio to its lowest terms.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Imagine filling a paint order at a hardware store. The staff have a formula for a specific shade — say, 3 parts red to 4 parts white. If a customer needs a larger batch where the red side is 9 parts, the staff do not guess the white side: they scale it proportionally. That is the core of every proportion problem. The relationship between the two quantities stays locked, and you solve for whatever number keeps the lock intact.
Ratios describe a relationship between two quantities. A proportion asserts that two different ratios describe the same relationship — that A:B and C:D are equivalent fractions. The missing-value problem is the most common case: you know three of the four numbers and need the fourth. The standard method is cross multiplication, which converts the ratio equality into a simple one-step equation.
Simplification is a separate but related task. A ratio like 12: 16 and a ratio like 3:4 describe the same relationship — the second is just expressed in smaller numbers. Finding the greatest common divisor and dividing both sides by it collapses the ratio to its irreducible form. This is useful when comparing ratios that look different but are actually equivalent, or when a recipe calls for ratios in the simplest possible terms.
When To Use This
Right tool, right situation
Use this calculator whenever you need to scale quantities while preserving a fixed relationship: adjusting recipe ingredients, converting map distances to real distances, computing unit prices across different order sizes, mixing compounds at a consistent concentration, or distributing a budget across departments in a fixed ratio.
It is also useful as a quick verification tool. If you have two purchase orders and want to confirm both were billed at the same unit price, enter all four values (A = units in first order, B = cost of first order, C = units in second order, D = cost of second order) and the proportion check tells you immediately whether the rates match.
Do not use this tool when the relationship between quantities is non-linear — for example, drug dosing that scales by body surface area rather than weight, or compound interest that grows exponentially. Proportional reasoning only applies when both quantities change at the same constant rate. In those non-linear cases, the cross-multiplication formula produces a mathematically valid answer that is nonetheless wrong for the real-world problem.
Common Mistakes
Why results sometimes look wrong
Mistake 1 — Swapping which value to solve for: The proportion A:B = C:D solves for D when the other three are known. A common error is entering all four values without realizing D is being overridden. If you want to solve for D, leave that field blank. If you enter a value in D, the tool switches to verification mode and checks whether all four values form a true proportion.
Mistake 2 — Treating a ratio as an absolute amount: A ratio of 3:4 does not mean 3 of something and 4 of something — it means 3 parts for every 4 parts, regardless of total. People sometimes scale a recipe from 3:4 by doubling both numbers and think the total changed from 7 to 14, not realizing both describe the same concentration. The simplified form 3:4 makes this explicit. If A = 3, B = 4, C = 9, then D = 12 — the relationship is preserved, but the absolute quantities tripled.
Mistake 3 — Ignoring units when comparing ratios: Two ratios only form a valid proportion if the units on each side are consistent. A ratio of 3 km to 4 hours and a ratio of 9 miles to D hours are not in proportion unless you convert units first. This calculator works with pure numbers — unit consistency is the user's responsibility before entering values.
The Math
Worked examples and deeper derivation
The core formula for solving a missing value D in the proportion A:B = C:D comes from cross multiplication. A true proportion means the two fractions A/B and C/D are equal. Setting them equal and cross multiplying gives: A times D = B times C. Isolating D: D = (B times C) divided by A.
For the example values A = 3, B = 4, C = 9: D = (4 times 9) divided by 3 = 12. The simplified ratio A:B is 3 : 4, and the simplified ratio C:D is 3 : 4. Both collapse to the same base form, confirming the proportion is valid.
Simplification uses the Euclidean algorithm. To find GCD(p, q): repeatedly replace the larger number with the remainder of dividing by the smaller, until the remainder is zero. The last non-zero remainder is the GCD. Both ratio terms are then divided by this value. For decimals, the calculator scales inputs by a precision constant before running the algorithm, then checks the result.
The scale factor from A to C is simply C divided by A: 3x. This tells you how many times larger (or smaller) the second ratio is relative to the first. A scale factor of exactly 1 means the ratios share the same absolute values, not just the same relationship.
Expert Unlock
The thing most explanations skip
Cross multiplication assumes the proportion is linear and exact. In practice, measured quantities carry error — a ratio derived from measurements that differ slightly from clean integers is not the same as the idealized form. The equivalence tolerance used here flags proportions as equivalent only when the difference between the two ratio values falls below a small threshold. For high-precision work (analytical chemistry, structural engineering), you should verify that your input precision is appropriate before trusting a proportion check.
The Euclidean GCD algorithm works cleanly on integers. When you enter decimal ratios, the calculator multiplies both values by a precision constant before running GCD. This introduces rounding at extreme decimal depths. If your ratio involves values with more than four significant decimal places, simplify manually or scale your inputs to integers first for an exact result.
What does the missing value in a proportion actually mean?
Need something this doesn't cover?
Suggest a tool — we'll build it →