Ratio Calculator

Find the missing term in a proportion, simplify a ratio to lowest terms, or scale a ratio up or down for recipes, mixtures, maps and screen sizes.

Fill in three values and leave one blank. Fractions like 1/2 work too.

Result

D =
12
  • Completed proportion3 : 4 = 9 : 12
  • Decimal value12
  • Both ratios equal0.75
  • Cross-multiply: A × D = B × C, so D = B × C ÷ A = 4 × 9 ÷ 3 = 12

How to use the ratio calculator

Choose one of three modes:

  • Solve A : B = C : D. Enter any three of the four values and leave the one you want blank. You can type whole numbers, decimals or fractions such as 1/2.
  • Simplify a ratio. Type the ratio with colons, for example 12 : 18 or 1.5 : 2.25 : 3. You get the smallest whole-number form, the 1 : n and n : 1 forms, and each term’s share of the total.
  • Scale a ratio. Enter a ratio and a factor, then choose whether to scale up (multiply) or down (divide).

All arithmetic is exact. Decimals are turned into fractions before any calculation, so 0.1 stays exactly one tenth.

The math behind each mode

Solving a proportion. Two ratios are equal exactly when their cross-products are equal: A × D = B × C. Rearranging gives each missing term:

Missing Formula
A B × C ÷ D
B A × D ÷ C
C A × D ÷ B
D B × C ÷ A

Simplifying. First multiply every term by the least common multiple of their denominators, so they are all whole numbers. Then divide every term by their greatest common divisor (GCD).

Scaling. Multiply or divide every term by the same factor. The proportion between the terms does not change, so the simplest form stays the same.

Worked example: 3 : 4 = 9 : ?

This is the example loaded when the page opens.

  1. Cross-multiply: 3 × D = 4 × 9 = 36.
  2. Divide: D = 36 ÷ 3 = 12.
  3. Check: 3 ÷ 4 = 0.75 and 9 ÷ 12 = 0.75, so the two ratios are equal.

In a recipe, if 3 cups of flour need 4 eggs, then 9 cups of flour need 12 eggs.

Simplify example: 24 : 36 : 60 has a GCD of 12, so it reduces to 2 : 3 : 5. That is 10 parts in total, so the last term is 5 ÷ 10 = 50% of the whole.

Scale example: 2 : 3 scaled up by 5 is 10 : 15. Scaled down by 4, the ratio 10 : 15 becomes 2.5 : 3.75.

Where ratios show up

  • Cooking and mixing: concrete (1 : 2 : 3 cement, sand, gravel), two-stroke fuel (50 : 1), cleaning solutions.
  • Maps and models: a 1 : 25,000 map means 1 cm on paper is 250 m on the ground.
  • Screens and photos: 16 : 9 and 4 : 3 aspect ratios.
  • Finance: debt-to-income and price-to-earnings ratios.

To turn a part-to-whole ratio into a percentage, divide the part by the total and multiply by 100, or use the percentage calculator. To add or divide fractional terms themselves, a fraction calculator works the same exact way.

Limitations

  • Terms in the solve mode must be non-zero, because a ratio with a zero term cannot be cross-multiplied into a unique answer.
  • Simplify and scale need positive terms. Ratios of negative quantities rarely make physical sense.
  • Inputs are limited to about 60 digits per term.

Frequently asked questions

What is the difference between a ratio and a fraction?

A fraction compares a part with the whole, while a ratio can compare any two quantities, including part to part. In a class of 12 girls and 18 boys, the ratio of girls to boys is 2 : 3, but girls are 12/30 = 2/5 of the class.

How do I simplify a ratio with decimals?

Multiply every term by the same power of ten to clear the decimals, then divide by the greatest common divisor. For 1.5 : 2.25, multiply by 4 to get 6 : 9, then divide by 3 to get 2 : 3. The calculator does both steps for you.

Can a ratio have more than two terms?

Yes. The simplify and scale modes accept up to ten terms separated by colons, such as 24 : 36 : 60, which simplifies to 2 : 3 : 5.

Why is my answer shown as a fraction?

When the exact answer is a repeating decimal, such as 14/3 = 4.666…, the calculator shows the fraction so nothing is lost to rounding, and gives the decimal underneath.

Last reviewed: