Proportion Calculator: Solve a/b = c/d
Choose which of a, b, c or d is missing, enter the other three, and see the answer with the cross-multiplication worked out. 3/4 = c/20 gives c = 15.
Last reviewed
The missing value, c
15
3 ÷ 4 = 15 ÷ 20
- The ratio, a ÷ b
- 0.75
- Factor from a to c
- 5
- Cross product
- 60
- a × d = b × c, so c = (a × d) ÷ b = (3 × 20) ÷ 4 = 15
- Check: a × d = 3 × 20 = 60 and b × c = 4 × 15 = 60
Two ratios are equal when their cross products are equal: a × d = b × c. The denominators b and d cannot be zero.
What a proportion is
A ratio compares two numbers by division: the ratio of r to s is the quotient r/s. A proportion says two ratios are equal:
a / b = c / d
If 3 cups of rice serve 4 people, then 3/4 is the cups per person. A proportion lets you ask how many cups serve 20 people, because the rate stays the same: 3/4 = c/20. MathWorld puts the idea this way: when one quantity is proportional to another, their ratio is constant.
How to solve one
The method is cross-multiplication. Multiply each numerator by the opposite denominator and set the products equal:
a × d = b × c
Then divide to isolate the one you do not know:
- a = (b × c) ÷ d
- b = (a × d) ÷ c
- c = (a × d) ÷ b
- d = (b × c) ÷ a
It works because multiplying both sides of a/b = c/d by b × d leaves a × d on the left and b × c on the right.
Worked examples
Scaling a recipe. 3 cups for 4 servings; how many cups for 20 servings? 3/4 = c/20, so c = 3 × 20 ÷ 4 = 15 cups.
Finding a denominator. 2/5 = 14/d. Then d = 5 × 14 ÷ 2 = 35. The factor from the first ratio to the second is 14 ÷ 2 = 7, and 5 × 7 = 35.
Finding the first term. a/4 = 15/20. Then a = 4 × 15 ÷ 20 = 3.
A repeating answer. 1/3 = c/7 gives c = 7 ÷ 3 = 2.3333…, which the calculator shows to 12 significant digits.
Negative values. −2/5 = c/10 gives c = −2 × 10 ÷ 5 = −4. Negative numbers work the same way, though most real proportions use positive ones.
Where proportions appear
- Recipes and quantities: more people, more food, in the same ratio. For a whole ingredient list use the recipe scaler.
- Maps and models: map length over real length equals the scale. On a 1:50,000 map, 4 cm stands for 4 × 50,000 = 200,000 cm, which is 2 km.
- Unit prices: if 6 items cost 9, then 6/9 = 10/c gives the cost of 10: c = 9 × 10 ÷ 6 = 15.
- Similar shapes: corresponding sides of similar triangles are in proportion.
- Currency and unit conversion: a fixed rate is a fixed ratio.
Direct and inverse proportion
This page solves direct proportion: as one quantity grows, so does the other, in the same ratio. Some quantities go the other way. If a trip is a fixed distance, doubling the speed halves the time. That is inverse proportion, and what stays fixed is the product, not the ratio: speed × time is constant. For inverse proportion use a × b = c × d.
Checking the answer
The page shows both cross products, a × d and b × c, which must be equal. You can also check by dividing: a ÷ b and c ÷ d should give the same decimal. For 3/4 and 15/20 both are 0.75. The factor from a to c is c ÷ a, here 5, and it is also d ÷ b: 20 ÷ 4.
Common mistakes
- Multiplying the wrong pairs. Cross-multiplication pairs a with d and b with c, the diagonals, not the numbers on the same side.
- Putting the quantities in different orders. If the left ratio is cups to people, the right must also be cups to people.
- Mixing units. A ratio of minutes to dollars must be matched by minutes to dollars, not hours to cents.
- Using direct proportion for an inverse relationship. Speed and time over a fixed distance are inverse.
- A zero denominator. b and d cannot be zero.
Related calculators
- Fraction calculator, to simplify the ratios.
- Percentage calculator, which is a proportion with 100 on one side.
- Common factor calculator, to reduce a ratio to lowest terms.
- Recipe scaler, for scaling a whole recipe.
How it is calculated
The three numbers you enter are read as exact decimals. The missing value comes from the cross-multiplication formula above, in 40-digit arithmetic, and is shown to 12 significant digits. The page then checks that a × d equals b × c and shows the ratio a ÷ b and the factor c ÷ a. A zero denominator, or a division by zero while solving, stops the calculation with a message.
Frequently asked questions
What is a proportion?
A statement that two ratios are equal, such as 3/4 = 15/20. Each side is a fraction, and the proportion says they have the same value.
How do I solve a proportion?
Cross-multiply and divide. For a/b = c/d, a × d = b × c. To find c, c = a × d ÷ b. For 3/4 = c/20, c = 3 × 20 ÷ 4 = 15.
Why does cross-multiplication work?
Multiply both sides of a/b = c/d by b × d. The left side becomes a × d and the right side becomes b × c, so the two products must be equal.
Can I use it for scaling a recipe or a map?
Yes, whenever one quantity changes in the same ratio as another. If 3 cups serve 4 people, 3/4 = c/20 gives the cups for 20 people. On a map, set the map length over the real length equal to the scale.
What if the values are inversely proportional?
This calculator is for direct proportion, where both quantities grow together. For inverse proportion, such as speed and time over a fixed distance, the products are equal instead: a × b = c × d.
Why can b and d not be zero?
They are denominators, and a fraction cannot be divided by zero. If one of them is zero the proportion has no meaning, so the calculator stops with a message.
Related calculators
- Fraction CalculatorEnter two fractions, mixed numbers, whole numbers or decimals and choose an operation.
- Percentage CalculatorPick the question you are actually asking.
- Common Factor CalculatorEnter two to six whole numbers.
- Average CalculatorPaste a list of numbers to get the average, with the sum, count, smallest and largest.
- Percentage Change CalculatorEnter a starting and a new value to get the percentage change, or apply a percentage to a value, or find the value before a change.
- Unit ConverterPick what you are converting, enter a value, choose the two units, and read the answer.