Proportion Calculator
Solve a/b = c/d with a free proportion calculator. Enter any three numbers and leave one blank to find the unknown, or enter all four values to check whether two ratios are equal. See the cross-multiplication steps.
Enter three values and leave one blank. The default example is 3/4 = x/12.
What is a proportion?
A proportion is an equation that states two ratios are equal. A common form is a/b = c/d, where b and d cannot be zero because they are denominators. Proportions are useful in school mathematics, scaled recipes, unit conversions, maps, drawings, similar triangles and comparing quantities that change at a constant rate.
For example, 2/3 = 4/6 is a true proportion. Multiply the first numerator by the second denominator (2 × 6 = 12) and the first denominator by the second numerator (3 × 4 = 12). Both cross-products are 12, proving that the two ratios are equal.
How to solve a proportion step by step
- Write the known quantities in matching positions in a/b = c/d.
- Place the unknown in the position you want to find and leave that calculator input blank.
- Cross-multiply to get a × d = b × c.
- Divide by the remaining coefficient to isolate the unknown.
- Check the solution by comparing the two ratios or their cross-products.
Worked example: 3/4 = x/12
Cross multiply to obtain 3 × 12 = 4 × x. This is 36 = 4x, so x = 9. Check: 3/4 = 0.75 and 9/12 = 0.75. Because both sides are equal, the solution is valid.
Formulas for every possible unknown
| Missing term | Formula | Condition |
|---|---|---|
| a | a = (b × c)/d | d must not be zero |
| b | b = (a × d)/c | c must not be zero; resulting b must not be zero |
| c | c = (a × d)/b | b must not be zero |
| d | d = (b × c)/a | a must not be zero; resulting d must not be zero |
If an equation requires dividing by zero, it might have no solution or fail to determine a unique solution. The calculator treats a zero denominator as invalid and explains special cases instead of returning an undefined numerical answer.
Real-life examples of proportions
Scaling a recipe
If 2 servings use 150 grams of rice, 6 servings use 450 grams, because 2/150 = 6/x and x = 150 × 6 / 2. The proportion assumes the ingredient amount scales linearly with the servings. Baking times or cookware dimensions may not scale the same way.
Reading a map scale
Suppose 1 centimeter on a map represents 5 meters in reality. A measured length of 8 centimeters corresponds to 40 meters. The calculation is 1/5 = 8/x, giving x = 40. Keep the same units and term order on both sides of a proportion.
Checking two ratios
Are 6:8 and 15:20 equivalent? Compare 6 × 20 = 120 and 8 × 15 = 120. The cross-products match, so the ratios are equivalent even though all four original numbers differ.
Direct proportion vs inverse proportion
In a direct proportion, multiplying one variable by a factor multiplies the other by the same factor. For instance, doubling the number of identical items doubles their total price if the unit price stays fixed. In an inverse relationship, multiplying one variable by a factor divides the other by that factor when their product stays constant. Do not apply a direct-proportion formula to an inverse relationship without rearranging the equation appropriately.
Fractions, decimals and accuracy
You can enter decimal numbers such as 0.5, 1.25 or 3.75. Convert a written fraction such as 3/4 to a decimal (0.75) first. Javascript numbers have limited finite precision, so the tool compares decimal cross-products with a small numerical tolerance rather than assuming every repeating fraction has an exact finite representation. For exact symbolic fractions or advanced algebraic expressions, use a symbolic math system.
Common mistakes when solving proportions
- Reversing the second ratio: use the same numerator-to-denominator meaning on both sides.
- Mixing up units: match like units before entering values.
- Assuming every relationship is proportional: some quantities have fixed fees, nonlinear growth or changing rates.
- Dividing by zero: b and d may never be zero in a fraction.
- Rounding intermediate values: preserve enough decimal places until the final answer.
Frequently asked questions
Can I use this calculator to find any missing term?
Yes. Leave exactly one input empty, whether it is a, b, c or d, and enter the other three. The result includes a mathematical explanation.
What is the difference between ratio and proportion?
A ratio compares two quantities, whereas a proportion states that two ratios are equal, such as 2/3 = 4/6.
How can I check whether two ratios are proportional?
Fill all four boxes and compare a × d with b × c. If the cross-products match, the ratios are proportional, provided both denominators are nonzero.
Why does the calculator say no unique solution?
Certain combinations of zero coefficients give an identity rather than determining one finite value. In such cases, no single answer can be calculated from the entered information.