Ratio Calculator: Solve a Proportion or Scale Both Parts
Fill a missing term in A:B = C:D, or multiply or divide both parts by the same positive factor.
Result
How is this calculated?
Solve a missing proportional term or scale both entries without changing their ratio.
Worked example: Preserve a blue-to-white paint mix
Three measures of blue correspond to eight of white. With fifteen of blue, use forty of white for the same ratio.
Method and limits
In solve mode, leave exactly one term blank. Fractions and decimals are accepted. Dividing by zero is not allowed.
How to use this calculator
- To solve, leave one term blank in A:B = C:D and enter the three known terms in matching order.
- To scale, enter A, B and a positive factor; choose multiplication or division.
Preserve a blue-to-white paint mix
A mix uses 3 measures of blue for 8 of white. With 15 blue, enter 3:8 = 15:D. Cross-multiplication gives 3 × D = 8 × 15, so D = 40.
Keep corresponding parts in the same order
Write blue first on both sides, and use the same units for blue across the two mixes. If liters and milliliters are mixed, convert before solving.
Scale both parts, not just the total
Multiplying 3:8 by 1.5 produces 4.5:12. Both parts increase by the same factor; their ratio stays 3:8. Dividing 15:40 by 5 returns 3:8.
An exact fraction can be the usable answer
For 9:4 = 5:D, the solution is 20/9. Keep that exact fraction when carrying the result forward. The decimal preview is rounded where the display cannot terminate exactly.
Frequently asked questions
- Can I solve for either denominator?
- Yes, provided the known terms determine a unique answer and the missing denominator is nonzero.
- Why are some zero inputs rejected?
- B and D are denominators. If the coefficient of the blank is zero, there is no unique value to report.
- Can I paste a ratio written 3:8?
- Enter 3 and 8 into separate fields.
- Is this a fixed-total allocation calculator?
- No. To divide a total in the ratio A:B, first compute each share using A/(A+B) and B/(A+B), when their sum is nonzero.
Common mistakes and limits
- Accepts fractions and decimals. B and D cannot be zero and scale factors must be positive.
- Assumes a proportional relation: no fixed base amount, loss allowance or automatic unit conversion. Approximate decimal previews are labeled.
Sources & methodology
Related calculators
- Percentage Calculator
Find a percent of a number, calculate percent change or difference, or work backward to the original amount before a change.
- Percent Error Calculator
Compare a measurement with an accepted reference to find absolute error, percent error and whether the reading is high or low.
- Fraction Calculator: Exact Fractions and Mixed Numbers
Add, subtract, multiply, divide or simplify fractions. Enter mixed numbers, decimals or recurring decimals, and get an exact fraction plus a decimal view.