One Calculator Logo One Calculator
Mathematics & Statistics • Formulas shown

Ratio Calculator

Quick Answer

To solve A : B = C : X, cross-multiply: X = B × C ÷ A. If 3 : 4 = 18 : X then X = 4 × 18 ÷ 3 = 24. To simplify a ratio, divide both terms by their greatest common factor.

Result

3 : 4 = 18 : 24

Scale factor6
Decimal ratio A ÷ B0.75
Step-by-step calculation
  1. Cross-multiply: A × X = B × C
  2. X = B × C ÷ A = 4 × 18 ÷ 3 = 24

About the Ratio Calculator

Ratios compare quantities and proportions say two ratios are equal. They appear in scaling recipes, map scales, mixing paint, currency and similar triangles.

Choose whether to solve for the missing term or to simplify. The solve mode shows the scale factor between the two ratios; the simplify mode shows the lowest terms, the equivalent fraction and the decimal value.

How to Use the Ratio Calculator

  1. Choose solve or simplify.
  2. Enter the known numbers.
  3. Read the missing value or simplified ratio.

Formula and Method

Proportion

A ÷ B = C ÷ X

So X = B × C ÷ A.

Simplify

divide by gcd(A, B)

Worked Example

Scaling a recipe

Input: 3 : 4 = 18 : X

  • X = 4 × 18 ÷ 3

Result: 24.

Frequently Asked Questions

What is a ratio?

A comparison of two quantities, written A : B or A/B.

How do I scale a recipe?

Find the scale factor (new amount ÷ old amount) and multiply every ingredient by it.

What are equivalent ratios?

Ratios with the same value, such as 3 : 4 and 6 : 8.

Can ratios have decimals?

Yes when solving. Simplifying needs whole numbers.

Related Calculators

All Math & Statistics Calculators →

Sources and Further Reading

Accuracy and Scope

Results use standard IEEE-754 double-precision arithmetic and are rounded for display. For exam, engineering or research work, verify critical values with a second method. See our full disclaimer.