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.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
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.

Scaling a recipe: keeping ingredient ratios consistent
A = 3 cups flour, B = 4 cups water, C = 9 cups flour (scaled batch)
The calculator solves for D using cross multiplication: D = 12. That means if you scale flour from 3 to 9 cups, you need 12 cups of water. The simplified ratio 3 : 4 confirms the base proportion, and the scale factor of 3x shows the batch tripled.
Map reading: converting a scale distance to real distance
A = 2 (cm on map), B = 50000 (cm in real life), C = 7 (cm on map), D left blank
Cross multiplying gives D = 175,000 cm in real life. That is the actual ground distance corresponding to 7 cm on the map. The scale factor 3.5x shows how much larger C is than A, so the real distance scales by the same factor.
Financial analyst checking unit cost consistency across two purchase orders
A = units in first order, B = cost of first order, C = units in second order, D = cost of second order (using values 144, 864, 36, 216)
With D provided, the tool verifies the proportion rather than solving for it. The proportion check reads Equivalent — A:B and C:D are in proportion, confirming both orders have the same unit price. The simplified ratio 1 : 6 shows the base rate, and 1 : 6 confirms the second order matches.
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?

How do I solve for the missing value in a proportion A:B = C:D?
Cross multiply and divide: D = (B times C) divided by A. For the example with A = 3, B = 4, C = 9, that gives D = 12. Cross multiplication works because equal ratios have equal cross products — A times D always equals B times C in a true proportion.
What is the difference between a ratio and a proportion?
A ratio compares two quantities — 3 parts to 4 parts, written 3:4. A proportion is a statement that two ratios are equal: 3:4 = 9: 12. Every proportion contains two ratios; not every ratio is part of a proportion. This calculator handles both: it simplifies a single ratio and solves or checks a full proportion.
Why does simplifying a ratio matter, and how does the calculator do it?
A simplified ratio removes common factors so the relationship is expressed in its smallest whole numbers — easier to compare, communicate, and scale. The calculator finds the greatest common divisor (GCD) of the two values using the Euclidean algorithm, then divides both by it. For example, the ratio from A = 3 and B = 4 simplifies to 3 : 4 because 3 and 4 share no common factor other than 1.

Need something this doesn't cover?

Suggest a tool — we'll build it →