How it works
A proportion states that two ratios are equal. Cross-multiplying turns A : B = C : D into A × D = B × C, so the missing term is the product of the opposite pair divided by the term paired with it: D = B × C ÷ A, C = A × D ÷ B, B = A × D ÷ C and A = B × C ÷ D. Keep the same kind of quantity in the same position in both ratios. If 3 items cost 5, then 9 items cost 5 × 9 ÷ 3 = 15.
Inputs and units
| Input | Example value | What to enter |
|---|---|---|
| A — first ratio, first term | 3 | First term of the ratio A : B. |
| B — first ratio, second term | 5 | Second term of the ratio A : B. |
| C — second ratio, first term | 9 | Same kind of quantity as A. |
| D — second ratio, second term | Empty (solved) | Same kind of quantity as B. Leave the unknown term empty. |
Worked example
Show example inputs and results
This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.
- A — first ratio, first term
- 3
- B — first ratio, second term
- 5
- C — second ratio, first term
- 9
- D — second ratio, second term
- Empty (solved)
Complete example results
- Missing value D
- 15
- Completed proportion
- 3 : 5 = 9 : 15
- Step 1 · cross-multiply
- 3 × D = 5 × 9 = 45
- Step 2 · divide
- D = 45 ÷ 3 = 15
- Ratio A : B in simplest form
- 3 : 5
- Scale factor between the ratios (C ÷ A)
- 3
Reading the result
The highlighted value is the term you left empty; the completed proportion and the two steps show how it was found. Check that the result is in the same unit as the term it pairs with. With all four values filled, the calculator compares the cross products instead and, if they differ, gives the D that would make the ratios equal.
How to solve a proportion step by step
A proportion says that two ratios are equal: A : B = C : D, which is the same as A/B = C/D. Multiply across the equals sign to get A × D = B × C, then divide by the number paired with the unknown. For 3 : 5 = 9 : D, cross-multiplying gives 3 × D = 5 × 9 = 45, so D = 45 ÷ 3 = 15. The calculator shows both steps with your own numbers, including decimals and negative values.
Solving for x in any position
The unknown does not have to be the last term. For x : 8 = 6 : 16, cross-multiplying gives x × 16 = 48, so x = 3. For 4 : x = 10 : 25, x × 10 = 4 × 25 = 100, so x = 10. Leave whichever box holds the unknown empty and the calculator picks the right pair to multiply and the right term to divide by.
Checking whether two ratios are proportional
Fill in all four values to test them. 2 : 3 and 8 : 12 are proportional because both cross products are 24 (2 × 12 and 3 × 8). 2 : 3 and 9 : 12 are not, because 2 × 12 = 24 but 3 × 9 = 27. In that case the result also gives the D that would make the ratios equal: 3 × 9 ÷ 2 = 13.5.
Everyday proportion examples
Recipes: if 250 g of flour makes 10 pancakes, then 250 : 10 = 400 : D gives D = 16 pancakes from 400 g. Map scales: on a 1 : 50,000 map, 3.4 cm is 1 : 50,000 = 3.4 : D, so D = 170,000 cm, or 1.7 km. Percentages: 18 out of 24 is 18 : 24 = x : 100, so x = 75%. Unit prices: if 6 bottles cost 4.50, then 6 : 4.50 = 10 : D and 10 bottles cost 7.50 at the same price per bottle.
Common mistakes to avoid
Keep the same kind of quantity in the same position in both ratios: items with items, prices with prices. Writing 3 items : 5 dollars = 15 dollars : x items gives 25 items instead of the correct 9. Convert units before you start, so both distances are in kilometres or both weights in grams. Finally, check that the relationship is direct. If doubling one quantity halves the other, such as more workers finishing a fixed job sooner, use the inverse proportion calculator instead.
Compare different scenarios
Inputs held constant: A — first ratio, first term: 3 · B — first ratio, second term: 5 · D — second ratio, second term: Empty (solved).
| C — second ratio, first term | Missing value D | Completed proportion |
|---|---|---|
| 6 | 10 | 3 : 5 = 6 : 10 |
| 9 | 15 | 3 : 5 = 9 : 15 |
| 12 | 20 | 3 : 5 = 12 : 20 |
Questions and answers
Can I use the example values for my own calculation?
The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.
What is the difference between a ratio and a proportion?
A ratio compares two quantities, such as 3 : 5. A proportion is an equation stating that two ratios are equal, such as 3 : 5 = 9 : 15. That equality is what makes a missing value solvable: once three of the four terms are known, the fourth is fixed.
Does this work for inverse proportions?
No. This tool assumes a direct proportion: when one quantity doubles, the other doubles too. If one quantity falls as the other rises, such as workers and the time to finish a fixed job, use the inverse proportion calculator: there the product stays constant, so 4 workers × 12 days = 6 workers × 8 days.
Why are some results rounded?
Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.
Are my inputs sent to a server?
The calculator processes inputs in your browser. Its code does not send your values to a server.