Proportion Solver
Solve one missing value in a/b = c/d and see the cross-multiplication steps used to isolate it. The solver checks the original denominators, distinguishes an impossible equation from an indeterminate one, and permits signed values when the fractions remain defined.
By Dr. Hassan Khames EliwaLast updated
Result
Algebra steps
| Step | Expression |
|---|---|
| 1 | a / b = c / d; require b ≠ 0 and d ≠ 0 |
| 2 | a × d = b × c |
| 3 | d = b × c ÷ a |
| 4 | d = 36 ÷ 3 = 12 |
How it works
Identify the unknown before entering values
Choose a, b, c, or d as the unknown. Only the other three fields are read; any number left in the selected field is ignored. Known values must be finite numbers between negative and positive one trillion. Commas in numeric inputs are accepted as grouping separators. The solver works with ordinary real-number proportions rather than mixed-unit expressions or symbolic variables.
The starting equation is a / b = c / d, with b ≠ 0 and d ≠ 0. Multiplying both sides by b × d gives a × d = b × c. This cross-product identity is useful only while preserving the nonzero-denominator restrictions of the original fractions. A cross-product equality by itself can accidentally admit values that make the starting equation meaningless.
Rearrange according to the selected position
To solve for a, use a = b × c ÷ d. To solve for b, use b = a × d ÷ c. To solve for c, use c = a × d ÷ b. To solve for d, use d = b × c ÷ a. The displayed table first states the original equation and restrictions, then the cross-product relation, the rearranged formula, and the numerical substitution.
When the chosen unknown is a numerator, the known denominators must already be nonzero. When it is a denominator, the other denominator must be nonzero and the solved value must also be nonzero. Negative denominators are allowed: they change signs but do not make division undefined. A numerator of zero is also valid whenever its denominator is nonzero.
Separate zero coefficients from ordinary division
Every rearrangement has the form coefficient × unknown = numerator. If the coefficient is nonzero, divide normally. If the coefficient is zero but the right-hand side is nonzero, there is no solution. If both are zero, infinitely many admissible values satisfy the equation, so there is no single answer to return. The solver reports this indeterminate case instead of dividing zero by zero.
Even an ordinary algebraic result may be inadmissible. For example, 0/b = 2/3 cross-multiplies to 0 = 2b and suggests b = 0, but b = 0 is forbidden. The correct result is no admissible solution, not zero. Keep that final denominator check when solving proportions by hand.
Use the answer with consistent dimensions
Cross multiplication preserves numeric ratios, not mismatched units. Convert both quantities in a ratio to compatible units before solving. Recipe scaling, maps, and constant-price purchases are suitable applications only when the underlying relationship is proportional. Fixed charges, offsets, or changing rates break that assumption. Results use standard floating-point arithmetic and show up to ten decimal places; extremely ill-conditioned inputs can require more specialized numerical work.
Worked example
Example 1: solve the fourth value
For 3/4 = 9/d, choose d as unknown. Cross multiplication gives 3 × d = 4 × 9 = 36. Divide by 3 to obtain d = 12. Substitution checks the result: 3/4 = 0.75 and 9/12 = 0.75, with both denominators nonzero.
Example 2: solve a denominator with signed values
For −6/b = 9/3, choose b as unknown. The cross-product equation is −6 × 3 = 9 × b. Therefore b = −18 ÷ 9 = −2. The original fractions both equal 3 because −6 ÷ −2 = 3 and 9 ÷ 3 = 3. A negative solution is valid here; it is zero, not negativity, that would invalidate a denominator.
Expert tips
Common mistakes
- Treating zero divided by zero as zero conceals an undefined expression and can turn a non-problem into a false numerical answer.
- Switching only one ratio upside down changes the equation. If ratios are inverted, both must be inverted and all new denominators must be valid.
- Assuming every four-number relationship is proportional ignores fixed fees, starting offsets, and nonlinear relationships.
Frequently asked questions
Can any position be unknown?
Yes. Select its letter and provide the other three numbers. The value currently displayed in the selected unknown field is intentionally ignored.
Are negative numbers valid?
Yes. Signed numerators and denominators are allowed as long as neither original denominator is zero. The solved answer can be negative without making the proportion invalid.
What does indeterminate mean?
The supplied values leave infinitely many admissible answers. For example, 0/b = 0/2 holds for every nonzero b, so no unique denominator can be reported.
What is a no-solution case?
It means no admissible value satisfies the original proportion. For example, a/2 = 1/0 is undefined immediately, while 1/b = 0/2 has no finite valid solution.
Can the answer be a fraction?
The displayed answer is a decimal rounded to at most ten places. For an exact rational representation, retain the multiplication and division shown in the steps or use the fraction calculator.
Does the solver check units?
No. It reads numbers only. Convert units and decide whether a proportional model is appropriate before entering the known values.
Related calculators
Related guides
Sources and standards
About the author
Dr. Hassan Khames Eliwa holds a PhD in Construction & Built Environment and has more than 20 years of international project controls experience. He is Director of Eliwa Project Controls Limited in Auckland and founder of PMMilestone.org and PMMilestone.com.
Buy me a coffee