Ratio Calculator

Find a missing value in a proportion, check equivalent ratios or scale every term by the same factor. See the result first, then follow each calculation.

Leave one field empty to find its value, or fill all fields to check equivalence.

Left ratio
=
Right ratio

Enter nonnegative values using a decimal point, up to 12 digits in total. A ratio must contain a nonzero term. Use matching units for corresponding quantities.

YOUR RESULT

Result

D = 8

3 : 2 = 12 : 8

Step-by-step solution

  1. Write the proportion

    3 : 2 = 12 : ?

  2. Use cross multiplication

    A × D = B × C.

  3. Isolate D

    D = B × C / A = (2 × 12) / 3 = 8

  4. Find the common scale factor

    k = C / A = 12 / 3 = 4

  5. Calculate D

    D = B × k = 2 × 4 = 8

  6. Check A → C

    3 × 4 = 12 = 12 ✓

  7. Check B → D

    2 × 4 = 8 = 8 ✓

  8. State the result

    3 : 2 = 12 : 8. Each corresponding term uses k = 4.

What is a ratio?

A ratio compares quantities in a stated order. In 3 : 2, the first quantity has three parts for every two parts of the second. Equivalent ratios keep the same relative sizes: 3 : 2 and 12 : 8 describe the same relationship. A three-part ratio, such as 2 : 3 : 5, compares three quantities together.

This tool is useful for recipe quantities, mixture proportions, image dimensions, scale models and mathematics exercises. Keep the order of the quantities consistent. Convert comparable measurements to the same unit first: 1 metre : 50 centimetres becomes 100 : 50, or 2 : 1.

Solving proportions

Two parts: A : B = C : D → A × D = B × C

If D is missing: D = (B × C) / A, provided A ≠ 0.

Three parts: D = kA, E = kB, F = kC.

For example, 3 : 2 = 12 : D gives D = (2 × 12) / 3 = 8. For 2 : 3 : 5 = 8 : 12 : F, the scale factor is k = 8 / 2 = 4, so F = 5 × 4 = 20. Every known pair must agree with the same factor; otherwise the proportion has no solution.

Scaling a ratio

Multiply by k: A : B → (A × k) : (B × k)

Divide by k: A : B → (A / k) : (B / k)

The same rule applies to all three terms of A : B : C. Multiplying 2 : 3 : 5 by 4 gives 8 : 12 : 20; dividing by 2 gives 1 : 1.5 : 2.5. Scaling changes the amounts while preserving their relationship. Enter a positive factor: division by zero is undefined, and multiplying every term by zero would erase the ratio.

How to use the four modes

For either proportion mode, leave exactly one field empty to solve it, or fill every field to check equivalence. For Scale, enter every term, select Multiply or Divide and enter the factor. Zero terms are supported when the remaining information defines a valid ratio; some zero combinations cannot determine a unique missing value.

Decimal inputs are processed as exact fractions. Nonterminating results are shown as fractions, with a rounded decimal alongside the main answer.