Ratio Calculator

Simplify a ratio a : b to its lowest terms (decimals too), see it as a percentage and a bar, and get equivalent ratios with the working shown.

What is a ratio?

A ratio compares two quantities by showing how many times one contains the other. It is written with a colon, such as 3 : 2, or as a fraction, 3/2. If a recipe uses 3 cups of flour for every 2 cups of sugar, the ratio of flour to sugar is 3 : 2. This ratio calculator turns two numbers into a ratio, a decimal value, a percentage and a simplified ratio in lowest terms, draws the ratio as a bar, and lists equivalent ratios.

Ratio terms

  • Antecedent (first term): the first number in a : b.
  • Consequent (second term): the second number in a : b.
  • Simplified ratio: the same ratio written with the smallest possible whole numbers, such as 2 : 3 instead of 12 : 18.
  • Equivalent ratios: ratios that describe the same comparison, such as 2 : 3, 4 : 6 and 6 : 9.

How to simplify a ratio step by step

To simplify a ratio, divide both terms by their greatest common divisor (GCD). Take 12 : 18 as an example.

  1. Find the GCD of 12 and 18. The common divisors are 1, 2, 3 and 6, so the GCD is 6.
  2. Divide both terms by 6: 12 ÷ 6 = 2 and 18 ÷ 6 = 3.
  3. The simplified ratio is 2 : 3.
  4. Check: 2 × 6 = 12 and 3 × 6 = 18, so it is the same ratio.

Ratios with decimals

If the terms are decimals, first multiply both by 10, 100 or 1,000 until they are whole numbers, then simplify. For 2.4 : 3.6, multiply by 10 to get 24 : 36. The GCD of 24 and 36 is 12, so the ratio simplifies to 2 : 3. For 0.5 : 1.5, multiply by 10 to get 5 : 15, and divide by 5 to get 1 : 3.

Equivalent ratios and scaling

Multiply or divide both terms by the same non-zero number and you get an equivalent ratio. From 2 : 3 you get 4 : 6, 6 : 9, 8 : 12 and 10 : 15. To test two ratios, cross-multiply: 2 : 3 and 8 : 12 are equal because 2 × 12 = 24 and 3 × 8 = 24.

Sharing an amount in a ratio

To split 200 in the ratio 3 : 2, add the parts (3 + 2 = 5), divide the total by that number (200 ÷ 5 = 40), then multiply each part: 3 × 40 = 120 and 2 × 40 = 80. The shares add back to 200. In percentages, 3 : 2 means 60% and 40%.

Where ratios are used

  • Cooking and mixing: paint, concrete, cleaning liquids and recipes all give ingredients as ratios.
  • Maps and models: a scale of 1 : 50,000 means 1 cm on the map is 50,000 cm, which is 500 m, in real life.
  • Finance and health: debt-to-income, price-to-earnings and waist-to-hip ratios compare two quantities.
  • Screens and photos: an aspect ratio of 16 : 9 means the width is 16 units for every 9 units of height.

Formulas Used

Ratio as a value

Ratio = a ÷ b

The decimal value of a : b. For 3 : 2 it is 1.5.

Percentage

Percentage = (a ÷ b) × 100

How big a is compared with b, as a percentage. For 3 : 2 this is 150%.

Simplified ratio

a : b = (a ÷ GCD) : (b ÷ GCD)

Divide both terms by their GCD. For 12 : 18 the GCD is 6, giving 2 : 3.

Scaled ratio

Scaled ratio = (a ÷ b) × scale

Multiply the ratio value by a scale factor, shown as a result : 1.

Variables Explained

a (numerator)

The first term of the ratio.

b (denominator)

The second term of the ratio. It cannot be zero.

Scale

A factor that multiplies the ratio value. The default of 1 leaves it unchanged.

GCD

The greatest common divisor of the two whole-number terms, used to reduce the ratio.

Important Notes

•

Ratio values and percentages are shown rounded for reading. The simplified ratio is exact for numbers of up to 18 digits.

•

For legal, financial or engineering work, check the result with a second method before you rely on it.

Frequently Asked Questions

Divide both terms by their greatest common divisor. For 12 : 18 the GCD is 6, so the simplified ratio is 2 : 3.
Multiply both terms by 10, 100 or 1,000 until they are whole numbers, then divide by the GCD. 2.4 : 3.6 becomes 24 : 36, and then 2 : 3.
Ratios that give the same comparison. You get them by multiplying or dividing both terms by the same number. 2 : 3, 4 : 6 and 6 : 9 are all equivalent.
Add the parts and divide each by the total. In 3 : 2 the total is 5, so the parts are 3/5 = 60% and 2/5 = 40%. The calculator's percentage field shows a ÷ b × 100 instead, which is how much a is compared with b.
Add the parts of the ratio, divide the total by that sum to get the value of one part, then multiply. Splitting 200 in the ratio 3 : 2 gives 120 and 80.
They are closely related. The ratio a : b compares two parts with each other, while the fraction a/b is the value you get when you divide. A part-to-part ratio of 3 : 2 is not the fraction 3/5, but 3/5 is the share of the whole.
The second term cannot be zero if you want to divide by it. A ratio like 0 : 5 is allowed and simplifies to 0 : 1, but it says the first quantity is none of the whole.
Cross-multiply. Ratios a : b and c : d are equal when a × d = b × c. For 2 : 3 and 8 : 12, 2 × 12 = 24 and 3 × 8 = 24.