Ratio Calculator

Simplify any ratio (including decimals and 3 or more parts), find a missing number in A : B = C : ?, or split a total in a given ratio.

Calculations happen in your browser. Entries are not submitted or saved by this tool.

Two or more parts separated by colons. Decimals are fine, for example 1.5:2.5 or 2:3:5.

Calculations happen in your browser. Entries are not submitted or saved by this tool.

Three ways to use this ratio calculator

  • Simplify a ratio: reduce any ratio to its lowest terms, including ratios with three or more parts and ratios with decimals.
  • Find a missing number: solve A : B = C : ? when you know three of the four numbers.
  • Split a total: share an amount (money, people, ingredients) between people or groups in a given ratio.

How simplifying a ratio works

A ratio compares two or more amounts, such as 12 boys to 18 girls. To simplify it, the calculator finds the largest number that divides every part exactly (the greatest common divisor, or GCD) and divides each part by it:

Simplified ratio = (A ÷ GCD) : (B ÷ GCD)

If a part has decimals, the calculator first multiplies every part by 10, 100 or 1,000 so they all become whole numbers, then simplifies. It also shows each part as a percentage of the total, and for two-part ratios, A ÷ B as a decimal.

Worked example

Simplify 12:18.

  1. Step 1: Find the largest number that divides both: 6
  2. Step 2: Divide both sides: 12 ÷ 6 = 2 and 18 ÷ 6 = 3

The simplified ratio is 2:3, and 12 ÷ 18 = 0.667.

Second example: screen size

A screen is 1920 pixels wide and 1080 pixels tall. The largest common divisor is 120, so 1920:1080 simplifies to 16:9.

Example with three parts and decimals

Simplify 1.5 : 2.5 : 4. Multiply every part by 10 to get 15 : 25 : 40. The greatest common divisor is 5, so the ratio simplifies to 3 : 5 : 8.

How to find a missing number in a ratio

For A : B = C : ?, the missing number is B × C ÷ A.

Example: a recipe uses 2 cups of flour for every 3 eggs. How many eggs do you need for 8 cups of flour? 2 : 3 = 8 : ?, so ? = 3 × 8 ÷ 2 = 12 eggs.

How to split a total in a ratio

  1. Add the parts of the ratio to get the total number of parts.
  2. Divide the total amount by the number of parts to find what one part is worth.
  3. Multiply each part of the ratio by that value.

Example: share $100 in the ratio 2 : 3. There are 2 + 3 = 5 parts, so one part is $100 ÷ 5 = $20. The shares are 2 × $20 = $40 and 3 × $20 = $60.

Frequently asked questions

Do both numbers need the same unit?

Yes. Compare centimeters with centimeters, or minutes with minutes. Convert first if the units differ.

Can I use decimals?

Yes. Type them as they are, for example 1.5:2.5. The calculator multiplies every part by 10 to get 15:25, which simplifies to 3:5.

Can a ratio have more than two parts?

Yes. Separate the parts with colons, for example 6:9:12, which simplifies to 2:3:4. You can use up to 10 parts.

How do I find a missing number in a ratio?

Choose Find a missing number above and fill in A, B and C. For example, 2:3 = 4:? gives ? = 6. For more types of proportion problems, try the proportion calculator.

What if the shares do not come out as whole numbers?

The calculator shows the exact share and, where it helps, the value rounded to 2 decimal places (cents). When you share money, rounded shares can be off by one cent in total, so adjust one share by a cent if needed.

What does a ratio of 0:1 mean?

If the first amount is zero, the ratio simplifies to 0:1, whatever the second amount is.

How is a ratio different from a fraction?

A ratio compares two parts, such as 2 parts sand to 3 parts cement. A fraction compares a part with the whole: sand is 2 out of 5 parts, or 2/5.

Other calculators you may need

Last reviewed: 7 November 2026