Skip to content

Ratio Calculator

Simplify a ratio to its lowest whole-number terms, or solve a proportion to find a missing value. Works with whole numbers and decimals, so you can scale recipes, maps and mixes.

What do you want to do?

Whole numbers or decimals.

Simplest ratio

2:3

Divide both values by their greatest common factor, 6.

Decimal (A ÷ B)
0.666667
Share of A
40%
Share of B
60%

How to use this calculator

  1. 1 Choose Simplify A : B, or Solve A : B = C : ?.
  2. 2 Enter Value A and Value B. For a proportion, also enter Value C.
  3. 3 Read the simplest ratio, or the missing value. The shares and the working update as you type.

What is a ratio?

A ratio compares two amounts of the same kind. It is written A : B, and read as “A to B”. For example, if a bag has 12 red sweets and 18 green sweets, the ratio of red to green is 12 : 18.

Order matters. The ratio 2 : 3 means two of the first thing for every three of the second. So 3 : 2 is a different ratio, even though it uses the same numbers.

A ratio says nothing about the actual amounts. 2 : 3 could mean 2 cups and 3 cups, or 20 cups and 30 cups. Only the relationship is the same.

How to simplify a ratio

To simplify a ratio, find the greatest common factor (GCF) of the two numbers. Divide both numbers by it. For 12 : 18, the GCF is 6. So 12 ÷ 6 = 2 and 18 ÷ 6 = 3, and the simplest form is 2 : 3.

Decimals work the same way. First, multiply both numbers by a power of 10 until they are whole. Then simplify. For example, 1.5 : 3 becomes 15 : 30, and dividing by 15 gives 1 : 2.

Simplifying doesn’t change the relationship. 12 : 18, 2 : 3 and 4 : 6 all describe the same mix. To find a common factor by hand, the GCF calculator is a quick check.

Shares of a total

A ratio splits a total into parts. Add the two parts to get the number of parts in the whole. Then each share is its part divided by that total.

For the ratio 12 : 18, the total is 30. So A is 12 ÷ 30 = 40% of the whole, and B is 18 ÷ 30 = 60%. The calculator shows both shares with the result.

This helps when you mix something. If a paint mix is 1 part paint to 4 parts thinner, the paint is 1 ÷ 5 = 20% of the mix, and the thinner is 80%. For percent problems, the percentage calculator works the same way.

Solving a proportion

A proportion says two ratios are equal. Write it as A : B = C : ?, and find the missing value. Multiply B by C, then divide by A. So ? = B × C ÷ A.

Take a recipe that uses 2 cups of flour to 3 cups of sugar. You want 4 cups of flour. Then 3 × 4 ÷ 2 = 6, so you need 6 cups of sugar. Check it: 2 : 3 and 4 : 6 both simplify to 2 : 3.

The scale factor is C ÷ A. Here it is 4 ÷ 2 = 2, so every amount in the recipe doubles.

Tips for using ratios

Use the same unit on both sides. A ratio of 2 kilograms to 500 grams must be converted first, to 2,000 : 500, before you simplify it to 4 : 1.

  • Write the ratio in the order the question gives it.
  • Check your answer by multiplying both parts by the same number. The ratio should not change.
  • For a ratio with three or more parts, such as 1 : 2 : 3, simplify it by dividing all parts by their common factor.
  • Need to convert units first? The unit converter helps.

The formula

Simplify a ratio

A : B = (A ÷ g) : (B ÷ g), where g is the greatest common factor of A and B

g
the largest whole number that divides both A and B

Solve a proportion

A : B = C : D, so D = B × C ÷ A

D
the missing value
C
the first value of the second ratio

Share of a total

Share of A = A ÷ (A + B) × 100%

A + B
the total number of parts

Worked example

Simplify 12 : 18

  1. 1.The greatest common factor of 12 and 18 is 6.
  2. 2.12 ÷ 6 = 2 and 18 ÷ 6 = 3
  3. 3.So 12 : 18 is the same ratio as 2 : 3.

The simplest form of 12 : 18 is 2 : 3.

Frequently asked questions

How do I simplify a ratio with decimals?

Multiply both numbers by a power of 10 until they are whole, then divide both by their greatest common factor. For example, 0.5 : 0.75 becomes 50 : 75, and dividing by 25 gives 2 : 3.

How do I solve a proportion?

Cross-multiply. If A : B = C : D, then A × D = B × C, so D = B × C ÷ A. For example, in 2 : 3 = 4 : ?, the missing value is 3 × 4 ÷ 2 = 6.

Is a ratio the same as a fraction?

They are related but not the same. A ratio compares two quantities, such as 2 boys to 3 girls. A fraction describes one part of a whole. Both can be simplified in the same way.

Can a ratio have more than two parts?

Yes, such as 1 : 2 : 3, which has six parts in total. This calculator compares two values at a time, so for three parts, compare the first and second, then the second and third.

Sources

Last reviewed by the GridCalculators team.