Arithmetic, Algebra & Number Theory Ratios, Proportions & Rates Cross-multiplication property of equal ratios

Proportion Solver Calculator (Solve for X)

A proportion says two ratios are equal: a/b = c/d. Give this calculator any three of the four terms, say which one is missing, and it cross-multiplies to find it. You also get both cross products — which must be equal once the unknown is filled in, and are the fastest way to check an answer — and the scale factor linking the two ratios, so you can see at a glance whether the second ratio is double the first, three-fifths of it, or something less tidy. Recipes, map scales, dosages, unit prices and similar triangles are all this one equation.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Which term is unknownPick the position of the term you are solving for; its input box is hidden while it is the unknown.d (bottom right)
a — first numeratorThe top-left term of the proportion, such as the number of parts you know in the first ratio.3
b — first denominatorThe bottom-left term, measured in the same units as d.4
c — second numeratorThe top-right term, measured in the same units as a.9
d — second denominatorThe bottom-right term, measured in the same units as b.12

It returns

  • Value of the unknown term — The term you selected, solved by cross multiplication.
  • Cross product a × d — Computed with the solved value in place.
  • Cross product b × c — Equal to a × d when the proportion holds — this is the check.
  • Value of the ratio a ÷ b — The single number both sides of the proportion share.
  • Scale factor from the first ratio to the second — How many times bigger the second ratio's terms are than the first's.

The formula

ab=cdad=bc
d=bca

In plain text: a / b = c / d ⇒ a · d = b · c

  • aFirst numerator — the known quantity of the first ratio (any)
  • bFirst denominator — the quantity a is compared against (any)
  • cSecond numerator, in the same units as a (same as a)
  • dSecond denominator, in the same units as b (same as b)

Cross multiplication is legitimate only when both denominators are non-zero; it is the result of multiplying both sides by b·d.

Updated Category Ratios, Proportions & Rates Verified against published test cases Reading time 10 min

What a proportion is, and what it assumes

A ratio compares two quantities by division. A proportion is the statement that two ratios have the same value. Write it a/b = c/d and you are asserting that whatever relationship holds between a and b holds identically between c and d.

The assumption buried in that statement is direct proportionality: the two quantities scale together by a constant factor, so doubling one doubles the other, and neither has an offset. Ingredients in a recipe behave this way. Distance at a constant speed behaves this way. Sales tax behaves this way. Plenty of things do not: a taxi fare with a flag-drop charge has an offset, so twice the distance is not twice the fare, and no proportion will model it correctly.

The other requirement is that units line up positionally. In a/b = c/d, terms a and c must share a unit, and b and d must share a unit. Set up 250 mg / 5 mL = 400 mg / x mL and everything is consistent. Set up 250 mg / 5 mL = x mL / 400 mg and the arithmetic still runs but the answer is meaningless. Writing the units into the fractions before you cross-multiply catches this immediately, and it is the single habit that prevents most proportion errors in clinical and trade work.

Why cross multiplication works

Cross multiplication is not a trick, it is one algebraic step written down in advance. Start with a/b = c/d and multiply both sides by b × d. On the left, the b cancels; on the right, the d cancels. What remains is:

a × d = b × c

Those two quantities are the cross products, so named because on the page you multiply diagonally. Because the step is a multiplication of both sides by the same non-zero quantity, it preserves the equality exactly — nothing is approximated. The condition is that b and d are non-zero, which is already required for the original fractions to exist.

Once you have a × d = b × c, isolating any one term is a single division:

  • a = b·c / d
  • b = a·d / c
  • c = a·d / b
  • d = b·c / a

Each rearrangement divides by a different term, which is why the calculator refuses a particular case rather than all of them: solving for d needs a to be non-zero, while solving for a needs d to be non-zero.

There is a second route that is often faster by hand. Because both ratios have the same value, the second is just the first scaled: c = k·a and d = k·b for one scale factor k = c/a. If you can see the factor, you never need to multiply at all — in 3/4 = 9/x, the numerator tripled, so the denominator triples to 12. The calculator reports that factor alongside the answer for exactly this reason.

Worked example: scaling a recipe and checking it

A bread recipe uses 3 cups of flour to 4 cups of water by volume, and you have 9 cups of flour to use up. How much water?

  1. Set it up with the units in position. flour/water: 3/4 = 9/x. Flour is on top in both, water on the bottom in both.
  2. Cross multiply. 3 × x = 4 × 9, so 3x = 36.
  3. Divide. x = 36 ÷ 3 = 12 cups of water.
  4. Check by cross products. 3 × 12 = 36 and 4 × 9 = 36. They agree, so the proportion holds.
  5. Check by ratio value. 3 ÷ 4 = 0.75 and 9 ÷ 12 = 0.75. Same number, which is what "proportional" means.
  6. Check by scale factor. The flour went from 3 to 9, a factor of 3. So the water goes from 4 to 3 × 4 = 12. Same answer in one line.

Now a case where the shortcut does not present itself. A map is drawn at a scale where 2.5 cm represents 4 km. Two towns are 17 cm apart on the map. Set up 2.5/4 = 17/x, cross-multiply to get 2.5x = 68, and divide: x = 27.2 km. The scale factor here is 17 ÷ 2.5 = 6.8, which is not an integer, so cross multiplication is the cleaner route. Confirm it: 2.5 × 27.2 = 68 and 4 × 17 = 68.

One more, in the direction people get wrong. A 250 mg dose is supplied in 5 mL of solution, and a patient needs 400 mg. Write 250 mg / 5 mL = 400 mg / x mL. Cross-multiplying gives 250x = 2,000, so x = 8 mL. The scale factor is 400 ÷ 250 = 1.6, and 1.6 × 5 mL = 8 mL confirms it. Had the units been flipped on one side, the arithmetic would have produced 0.125 without complaint — which is why you write the units in.

Checking the answer before you use it

Three checks cost seconds and catch nearly everything.

Check the cross products. With the solved value in place, a × d and b × c must be identical. The calculator prints both. If they differ, the four numbers do not form a proportion in the arrangement you gave.

Check the direction of the answer. Ask whether the unknown should be bigger or smaller than its partner before you calculate. If the numerator grew, the denominator must grow too, and by the same factor. An answer that moves the wrong way means two terms have been swapped — the commonest slip is entering the second ratio upside down, which turns direct proportion into inverse proportion.

Check the scale factor is plausible. A factor of 6.8 between map centimetres is reasonable; a factor of 6,800 is not, and points at a units mismatch such as centimetres against millimetres.

Be alert to problems that are not directly proportional at all. If doubling one quantity halves the other — workers and days to finish a job, speed and travel time over a fixed distance, pressure and volume at constant temperature — the relationship is inverse, and the correct equation is a × b = c × d rather than a/b = c/d. Using a direct proportion there gives an answer that is wrong by the square of the scale factor. Anything with a fixed cost, a minimum charge or a threshold is neither: it is linear with an intercept, and you need the full straight-line equation, which the linear equation solver handles.

Equivalent ratios and their values

Multiplying both terms of a ratio by the same number leaves the ratio's value unchanged. Any pair on a row can be substituted for any other pair on that row inside a proportion.
RatioValue×2×3×5×10
1 : 20.50002 : 43 : 65 : 1010 : 20
2 : 30.66674 : 66 : 910 : 1520 : 30
3 : 40.75006 : 89 : 1215 : 2030 : 40
3 : 50.60006 : 109 : 1515 : 2530 : 50
5 : 80.625010 : 1615 : 2425 : 4050 : 80
7 : 100.700014 : 2021 : 3035 : 5070 : 100

Reading a row backwards is how you simplify: 30 : 40 reduces to 3 : 4 by dividing both terms by 10. The reduced form is the one to memorise, because it is the smallest whole-number pair with that value.

Common proportion mistakes

  • Flipping one ratio. Writing 3/4 = x/9 when you meant 3/4 = 9/x gives 6.75 instead of 12. Keep the same quantity on top of both fractions.
  • Mixing units across positions. Grams against milligrams, or centimetres against metres, on the two sides of the equation. Convert first, or write the units into the fractions and check they cancel.
  • Using a proportion on an inverse relationship. Six workers taking 10 days does not mean twelve workers take 20. Inverse problems multiply rather than divide: a × b = c × d.
  • Using a proportion where there is a fixed cost. Two hours of a plumber's time at a $90 call-out plus $60 an hour is $210, not double the one-hour $150. Any offset breaks proportionality.
  • Cross-multiplying with a zero denominator. If b or d is zero the original ratio does not exist, so the equation you are manipulating was never valid.
  • Rounding before the final division. Round the answer, not the cross product. Rounding 68 to 70 in the map example turns 27.2 km into 28 km, an error of nearly a kilometre.

Proportions among the other ratio tools

A percentage is a proportion whose second denominator is fixed at 100: "15% of 200" is exactly 15/100 = x/200. If your problem is naturally stated as a rate out of a hundred, the percentage calculator is the more direct route, and the percentage increase and decrease calculator handles the case where the rate is applied to a starting value rather than compared with it.

When the two ratios are fractions you also want in lowest terms, reduce them first — the simplifying fractions calculator divides both terms by their greatest common factor, and the greatest common factor calculator gives you that divisor directly. Reducing before you cross-multiply keeps the numbers small enough to check in your head.

If the unknown appears more than once, or the relationship has an intercept, you have left proportion territory and entered ordinary algebra: the linear equation solver handles a single equation and the 2×2 system of equations calculator handles two unknowns at once, which is the right tool for mixture and blending problems where two proportions must hold together.

Scaling a quantity by a fractional factor — three-quarters of a recipe, two-thirds of a dose — is often cleanest as a direct multiplication rather than as a proportion, and the multiplying fractions calculator keeps the result exact instead of drifting into repeating decimals.

Frequently asked questions

How do I solve a proportion for x?

Cross-multiply, then divide by the coefficient of x. For 3/4 = 9/x: multiply diagonally to get 3x = 36, then divide by 3 to get x = 12. Which term you divide by depends on where x sits — solving for a bottom-right term divides by the top-left one, and solving for a top-left term divides by the bottom-right one.

What does cross multiplication actually do?

It multiplies both sides of the equation by both denominators at once. Starting from a/b = c/d and multiplying through by b·d cancels b on the left and d on the right, leaving a·d = b·c. It is a single legitimate algebra step, not an approximation, and it is valid whenever both denominators are non-zero.

How do I know if two ratios are proportional?

Compare the cross products: a·d and b·c must be equal. For 6/9 and 10/15, the cross products are 6 × 15 = 90 and 9 × 10 = 90, so they are proportional. Dividing each ratio out works too — both come to 0.6667 — but cross products avoid repeating decimals and stay exact.

What is the difference between direct and inverse proportion?

In direct proportion the quantities rise and fall together and the ratio stays constant, so a/b = c/d. In inverse proportion one rises as the other falls and the product stays constant, so a·b = c·d. Workers and days on a fixed job are inverse: 6 workers × 10 days = 60 worker-days, so 12 workers finish in 5 days, not 20.

Can a proportion contain negative numbers or decimals?

Yes, and the arithmetic is unchanged. Decimals are common in map scales and unit conversions. Negatives are valid but rare in practice, because most proportion problems involve physical quantities that cannot be negative — so a negative scale factor is usually a sign that a term has been entered in the wrong position.

Why can't the calculator solve when one of my values is zero?

Because the rearrangement divides by that value. Solving for d needs a in the denominator, so a zero in position a leaves no answer. There is a reason behind the arithmetic: if a is zero and the ratios are equal, then c must also be zero, and a ratio of 0 to anything is 0 regardless of what d happens to be. Any value of d works, so no single value can be reported.

How do I use a proportion to scale a recipe?

Put the ingredient you know on top of both fractions and the one you want on the bottom, or the other way round consistently. For 3 cups flour to 4 cups water, scaling to 9 cups flour: 3/4 = 9/x gives x = 12 cups water. Faster still, divide the new amount by the old one — 9 ÷ 3 = 3 — and multiply every ingredient by that factor.

Does the proportion still work if I write the ratios upside down on both sides?

Yes. Inverting both sides of a true proportion gives another true proportion, because b/a = d/c has the same cross products as a/b = c/d. What breaks it is inverting only one side, which changes the equation into a/b = d/c and gives an answer wrong by a factor of the ratio squared.

References

  • Basic Mathematics — Springer (Serge Lang)
  • Elementary and Intermediate Algebra, 5th ed. — Cengage Learning
  • The Art of Problem Solving, Volume 1: The Basics — AoPS Incorporated