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.

In solve mode, leave exactly one of A, B, C or D blank.
A known second part cannot be zero.
Enter a decimal or fraction, such as 3/2.

Result

Enter values and select Calculate.

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

  1. To solve, leave one term blank in A:B = C:D and enter the three known terms in matching order.
  2. 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

Sources & methodology

Related calculators