Ratio Calculator

A : B = C : D
Leave exactly one of A, B, C, D blank.
Math Updated 29 Oct 2026

Solves proportions and works with ratios of two or three numbers. Fill in any three of A : B = C : D to find the missing value, scale a ratio up or down by a factor, simplify a ratio to its lowest whole-number terms (decimals such as 1.5 : 2.25 are handled exactly), or rewrite it in 1 : n or n : 1 form for comparing ratios. Each answer shows the working and the scale factor between equivalent ratios.

  • Ratios compare positive quantities, so terms must be greater than zero (in proportions, any non-zero values are accepted).
  • Simplification is exact for terms with up to 9 decimal places.

Formula

A : B = C : D ⇔ A × D = B × C, so D = B × C ÷ A; equivalent ratios multiply or divide every term by the same number
  • Simplifying divides every term by their greatest common divisor. Decimal terms are first multiplied by a power of ten so that all terms are whole numbers.
  • 1 : n form divides every term by the first term; n : 1 form divides by the last term.
  • Results are shown to up to 6 decimal places.

3 : 4 = 15 : D

Inputs
  • I want to: solve
  • A: 3
  • B: 4
  • C: 15
  • D:

Cross-multiplying gives 3 × D = 4 × 15 = 60, so D = 60 ÷ 3 = 20. The second ratio is the first scaled up by 15 ÷ 3 = 5.

Sources & references

  • Ratios
    Math is Fun · Retrieved 29 Oct 2026

    Equivalent ratios, simplifying by a common factor and solving proportions.

Frequently asked questions

How do I solve a proportion?
Cross-multiply. In A : B = C : D the products A × D and B × C are equal, so the missing value is the product of the two terms diagonal to each other divided by the remaining term. For 2 : 5 = x : 20, x = 2 × 20 ÷ 5 = 8.
How do I simplify a ratio?
Divide every term by the greatest common divisor. 12 : 18 : 30 has a greatest common divisor of 6, so it simplifies to 2 : 3 : 5. With decimals, multiply by 10, 100 and so on first: 1.5 : 2.25 becomes 150 : 225 = 2 : 3.
What does a ratio of 1 : n mean?
It says how many of the second quantity there are for each one of the first. 4 : 10 written as 1 : n is 1 : 2.5. Putting ratios in this form makes them easy to compare, as in map scales such as 1 : 25,000.
Is a ratio the same as a fraction?
A two-term ratio a : b compares the parts, and a/b is the fraction it corresponds to. In a ratio of 2 : 3, the first part is 2/5 of the whole, because the whole has 2 + 3 = 5 parts.

Related calculators