Ratio & Proportion Solver (A : B = C : X)

Solve missing fourth proportional X = (B × C) / A and simplify ratios.

Solved Proportional Value (X) 1,080
Unit Ratio (A / B) 1.778
Simplified Ratio A 16
Simplified Ratio B 9
Inputs
Try:
First antecedent term A.
First consequent term B.
Second antecedent term C (solves for matching X).
Results & Graph
Solved Proportional Value (X)
1,080
Unit Ratio (A / B)
1.778
Simplified Ratio A
16
Simplified Ratio B
9

Solved Proportional Value (X)

Graph 1 • How the inputs feed Ratio & Proportion
Ratio & Proportion Solver (A : B = C : X) • Custom Domain Schematic (Algebra & Equations) termAtermBRatio & Proportion Term A: 16 • Term B: 9 SOLVED PROPORTIONAL VALUE 1,080 • Unit Ratio (A / B): 1.778 • Simplified Ratio A: 16 Eq: A / B = C / X ⇒ X = (B × C) /
Graph 2 • Solved Proportional Value (X) as Term A changes (40% to 160% of current)
0 1.5k 3.0k 2.7k 6.40 1.8k 9.60 1.4k 12.80 1.1k 16 900 19.20 771.4 22.40 675 25.60
Graph 3 • Term A and Term B together Compares Solved Proportional Value (X) when Term B is shifted +25% (solid) vs. −25% (dashed).
0 1.1k 2.1k --- Term B @ 75% 1.9k -30% 1.6k -15% 1.4k +0% 1.2k +15% 1.0k +30%
Summary: In 16 : 9 = 1920 : X, cross-multiplication yields X = 1080 (unit ratio 1.7778 : 1).
Summary: In 16 : 9 = 1920 : X, cross-multiplication yields X = 1080 (unit ratio 1.7778 : 1).
Interactive chart & math engine powered by CalculatorGraph

Formula: Ratio & Proportion Mathematical Identity

A / B = C / X ⇒ X = (B × C) / A
A / B = C / X ⇒ X = (B × C) / A
  • termA: Term A (numeric parameter)
  • termB: Term B (numeric parameter)
  • termC: Term C (numeric parameter)

Frequently Asked Questions

Why does entering the height as C give me the wrong width?

Because C must match A. With A = 16 and B = 9, A stands for width, so C has to be a width too. To work from a height, swap the ratio: A = 9, B = 16, C = 1080 pixels. The page then returns 1,920 for the width. The arithmetic is always valid, so it will not warn you when the terms are in the wrong slots.

How does the page simplify a ratio such as 9.6 : 9?

It scales decimal terms up to whole numbers and then divides by their greatest common factor. 9.6 : 9 becomes 96 : 90, which reduces to 16 : 15. In the same way 1.5 : 2.25 reduces to 2 : 3. The solved value X is the same whether you enter the original decimal ratio or its simplified form.

What does the unit ratio of 1.778 mean?

It is A divided by B, the size of the first term when the second is 1. For 16 : 9 the width is about 1.778 times the height. Writing ratios this way makes them easy to compare. A 3 : 2 frame has a unit ratio of 1.5 and an 8 : 3 frame has 2.667, so the second is wider than both.

Can I use this for scaling a recipe?

Yes, for ingredient amounts. If a recipe for 5 people uses 2 cups of flour and you are cooking for 8, enter A = 5, B = 2, C = 8. The page returns 3.2 cups. Cooking times, pan sizes and raising agents do not always scale in a straight line, so treat those separately and use judgement.

Is A : B = C : X the same as A/B = C/X?

Yes. A ratio written with a colon is a fraction in another form, so the proportion says the two fractions are equal. Cross-multiplying gives A times X equals B times C, which is how the page solves for X. Both notations mean the same thing, and the page's formula line uses the fraction form.

Does it handle inverse proportion?

No. The page assumes that when A grows, C grows with it. In an inverse problem, like more workers finishing faster, the product of the two quantities stays constant instead. For that, compute X as A times B divided by C yourself. Using this page for an inverse problem gives a result in the wrong direction.

What happens if I enter zero for A?

The page shows an error instead of a result. A proportion with A at zero has either no solution or infinitely many, so there is no single X to report. Zero in C is fine and correctly gives X = 0. Zero in B gives X = 0 too, but the unit ratio A divided by B is undefined, and the sentence under the result says so.

Why does 24 : 9 simplify to 8 : 3?

Both 24 and 9 divide by 3, their greatest common factor. Dividing each by 3 gives 8 and 3, which share no further factor. The ratio is unchanged, only written with smaller numbers. Enter either form with the same C and the page returns the same X, which is a quick way to confirm two ratios are equivalent.

How do I check the answer without the page?

Divide A by B and C by X. If the two results are equal, the proportion holds. For the default, 16 divided by 9 is 1.7778 and 1920 divided by 1080 is also 1.7778. You can also cross-multiply: 16 times 1080 and 9 times 1920 should give the same product, and they do.

Can the terms be in different units?

A and C must share a unit, and so must B and X. A can be in centimetres and B in kilograms as long as C is in centimetres and X comes out in kilograms. Mixing units within a pair, such as A in metres and C in centimetres, gives an answer off by the conversion factor. Convert first, then solve.

Why is the unit ratio shown with fewer decimals than the explanation?

The result line rounds A divided by B to three places for a compact display, so 16 : 9 appears as 1.778. The sentence under it gives four places, 1.7778. Both are rounded versions of sixteen ninths, which never ends. If you need the unit ratio for further work, keep the original whole-number ratio and divide it yourself at full precision.

A 16 : 9 frame 1920 wide is 1080 pixels tall

Picture a screen problem first. A video is 16 : 9 and you know it is 1920 pixels wide, so how tall is it? Type 16 for A, 9 for B and 1920 for C, and the page returns X = 1,080 pixels.

The working is cross-multiplication. The proportion A : B = C : X says A divided by B equals C divided by X. Multiply both sides across and you get A times X equals B times C, so X is B times C divided by A. Here that is 9 times 1920, divided by 16. The answer is 1,080 exactly.

Below the answer the page shows two more things. The unit ratio, 1.778, is A divided by B, meaning the width is about 1.78 times the height. The explanation line gives it to four places as 1.7778 : 1. And the simplified ratio is 16 : 9, which it already was, because 16 and 9 share no common factor.

The same three numbers would answer many other questions with the same shape: scaling a recipe, converting on a map, or splitting a bill in proportion. What matters is that A and C are the same kind of quantity, and so are B and X.

Which number goes in which box

Most wrong answers on this page come from putting the known value in the wrong slot. C must be the partner of A, measured in the same units and describing the same thing. X is then the partner of B.

In the default, A = 16 stands for width and B = 9 stands for height, so C must be a width. If you know the height instead and want the width, flip the ratio. Enter A = 9, B = 16 and C = 1080 and the page returns 1,920, the width of a standard 16 : 9 frame. That is the same picture read the other way.

If you leave the ratio as 16 : 9 and type the height into C, the page will still produce a number, but it will be the height of a much smaller frame, not the width you wanted. Nothing warns you, because the arithmetic is valid. It is simply answering a different question.

A quick sense check catches this. In a 16 : 9 frame the width is always the bigger number. If the page hands back a width smaller than the height you started from, the terms are in the wrong boxes. The same check works for any proportion: if A is larger than B, then C must be larger than X.

A 2 : 3 recipe and a 1 : 50,000 map scale

The recipe preset asks a kitchen question. A sauce uses 2 parts oil to 3 parts vinegar, and you have 5 tablespoons of oil. How much vinegar? Enter A = 2, B = 3, C = 5 and the page returns X = 7.5 tablespoons. The unit ratio is 0.667, so there is about two thirds as much oil as vinegar.

The map preset shows how large X can get. On a 1 : 50,000 map, 1 cm on paper is 50,000 cm on the ground, half a kilometre. Measure 3.5 cm between two points, enter A = 1, B = 50000, C = 3.5, and X comes out as 175,000 on the page. That is in centimetres, because C was in centimetres, so the real distance is 1.75 km. The page does not convert units for you.

Notice which way the answer moves. X is B times C divided by A, so A sits underneath. Raising A lowers X, and halving A doubles X. B and C sit on top, so raising either of them raises X in direct proportion. Measure 7 cm on the same map instead of 3.5 and the ground distance doubles to 3.5 km.

In both presets the ratio is already in lowest terms, so the simplified ratio lines simply repeat 2 : 3 and 1 : 50,000 unchanged.

Simplifying ratios that contain decimals

The simplified ratio line reduces A : B to the smallest whole numbers with the same proportion. For whole numbers that means dividing by the greatest common factor: 24 : 9 becomes 8 : 3 and 6 : 9 becomes 2 : 3.

Decimals are scaled up to whole numbers first, then reduced. Enter A = 9.6 and B = 9 and the page reports 16 : 15, because 9.6 : 9 is the same as 96 : 90, and both divide by 6. Enter 1.5 and 2.25 and it reports 2 : 3. Enter 2.5 and 1 and it reports 5 : 2. Checking any of these by hand is a matter of multiplying both terms by the same power of ten and cancelling.

Simplifying never changes the answer for X. With 9.6 : 9 or 16 : 15 as the ratio and the same C, the solved value is identical, because multiplying both sides of a ratio by the same number leaves the proportion untouched.

Where simplification is most useful is in reporting. A result written as 16 : 15 is easier to read and compare than 9.6 : 9. When a ratio comes from measurements with many decimal places, though, the reduced form can turn out to be two very large whole numbers. In that case the unit ratio is usually the clearer way to describe it.

When a term is zero

Zero breaks a proportion in different ways depending on where it sits.

If A is zero, the equation has no single answer. Cross-multiplied it reads 0 times X equals B times C. Unless B or C is also zero there is no X that works, and if one of them is zero every X works. The page refuses this case with a message saying the proportion has no unique solution, which is correct.

If C is zero, the answer is zero and it is correct. Zero width means zero height at any aspect ratio, and the page returns X = 0.

If B is zero, the page returns X = 0, which is what A times X equals B times C gives when A is not zero, and the sentence under the result says the unit ratio is undefined, since you cannot divide by zero. A ratio like 16 : 0 is rarely what anyone means and usually signals a typing slip, so check the inputs before using that X.

Negative numbers are accepted and give a negative X. That is fine for a pure algebra exercise. For lengths, quantities and prices it means a value was entered with the wrong sign.

Problems that look proportional but are not

This solver handles direct proportion only: when one quantity doubles, the other doubles too. Plenty of real questions are shaped differently.

Inverse proportion runs the other way. If 4 workers take 6 days to do a job, 8 workers do not take 12 days, they take about 3. Feeding that into A : B = C : X gives the wrong answer. For inverse cases multiply instead: workers times days stays constant, so X is A times B divided by C.

Some quantities do not scale in a straight line at all. Doubling the diagonal of a screen doubles its width and height but quadruples its area. Doubling a recipe does not always double the cooking time. A proportion can still help with the parts that do scale, such as ingredient quantities, but not with the parts that do not.

And some apparent ratios have a fixed part. A taxi fare with a flag-fall charge is not proportional to distance, because a 2 km ride does not cost twice a 1 km ride. Subtract the fixed part first, solve the proportional part with the page, then add the fixed part back.

Using the unit ratio and rounding the answer

The unit ratio line divides A by B so you can compare ratios at a glance. 16 : 9 is 1.778, 3 : 2 is 1.5 and 8 : 3 is 2.667. Bigger means wider. That makes it easy to tell whether two ratios written differently are actually the same.

The page rounds it to three decimals in the result and four in the explanation line. Do not feed the rounded figure back in as A with B = 1 and expect an exact answer. Using 1.778 : 1 with a width of 1920 gives a height a fraction of a pixel away from 1,080, because 1.778 is not quite sixteen ninths.

Very lopsided ratios show the limit of three decimals. For the 1 : 50,000 map preset, the unit ratio line reads 0, because 1 divided by 50,000 is far smaller than a thousandth. The ratio has not vanished; it is just too small to show at that precision. For a ratio like that, the simplified form is the more useful line.

The solved value X is shown with up to three decimals when it is not a whole number. Recipes and money usually want rounding to a sensible unit afterwards, and pixel sizes must be whole numbers. If a pixel result comes out fractional, the source ratio is not exact for that width, and you will need to round and accept a tiny change in shape, or pick a width that divides cleanly.

For 16 : 9, widths that are multiples of 16 always give whole-number heights. The default width of 1920 is one of them, which is why the answer comes out as a clean 1,080 pixels.