Ratio Calculator

Solve A : B = C : D for a missing value, and simplify any ratio.

Leave exactly one box empty to solve for it.

Solving a proportion

A proportion says two ratios are equal: A : B = C : D. If you know three of the four numbers you can always find the fourth by cross-multiplying, because A × D = B × C.

Example: a paint colour is mixed from 3 parts blue to 4 parts white. If you have 15 litres of blue, how much white do you need? Write it as 3 : 4 = 15 : D. Then D = 4 × 15 ÷ 3 = 20 litres.

Keep the same kind of quantity in the same position on both sides (blue first, white second). Mixing up the order is the most common reason for a wrong answer.

In the calculator, leave exactly one box empty. The answer appears together with the full proportion so you can check it reads the way you expect.

Simplifying a ratio

Divide both parts by their greatest common factor. 18 : 24 → both divide by 6 → 3 : 4. If the parts are decimals, first multiply both by 10, 100 and so on until they are whole numbers: 1.5 : 2 becomes 15 : 20, which simplifies to 3 : 4.

Everyday uses

  • Screens and photos: a 1920 × 1080 image has an aspect ratio of 16 : 9. To keep that shape at 1280 pixels wide, the height must be 720.
  • Maps: on a 1 : 50,000 map, 4 cm represents 200,000 cm, which is 2 km.
  • Mixing: concrete, fertiliser and squash drinks are all mixed by ratio.

Frequently asked questions

How do I solve a ratio with a missing number?

Cross-multiply. In A : B = C : D, A × D = B × C, so the missing value is the product of the diagonal pair divided by the number opposite the blank.

Is a ratio the same as a fraction?

They are closely related. The ratio 3 : 4 compares two parts, while the fraction 3/4 compares a part with a whole. In a 3 : 4 mix, the first ingredient is 3/7 of the total.

Can a ratio have more than two parts?

Yes, for example 2 : 3 : 5 for three ingredients. This calculator handles two-part ratios; for three parts, simplify by dividing every part by their common factor.

Last reviewed: