Get Started
How to Calculate a Ratio: Simplify, Scale and Solve
Learn how to calculate a ratio step by step: simplify ratios, solve proportions with a missing value, split amounts in a ratio and convert to percentages.

How to Calculate a Ratio: Simplify, Scale and Solve

Last Updated: 8 min read
Baking ingredients measured in ratios

A step-by-step guide to calculating ratios: simplifying, scaling, solving proportions with a missing value, dividing amounts in a ratio and converting ratios to percentages.

Table of Contents 17 sections
  1. What is a ratio?
  2. How to calculate a ratio between two numbers
  3. How to find the greatest common divisor
  4. How to simplify a ratio with decimals or fractions
  5. How to calculate a ratio with three or more parts
  6. How to scale a ratio up or down
  7. How to solve a proportion with a missing value
  8. How to divide a quantity in a given ratio
  9. How to convert a ratio to a percentage
  10. How to calculate a unit rate
  11. How to calculate common ratios in real life
  12. Calculating ratios in Excel and Google Sheets
  13. How to tell if two ratios are equivalent
  14. Common mistakes
  15. Practice problems
  16. How to use this guide
  17. Frequently asked questions
Solve any ratio instantly with the free Ratio Calculator.

A ratio tells you how one quantity compares with another, and learning how to calculate a ratio unlocks a surprising amount of everyday math: scaling recipes, reading maps, resizing images, mixing paint and fuel, dividing money fairly and understanding financial and health measures. This guide shows you how to write, simplify, scale and solve ratios, step by step, with clear worked examples for each method.

What is a ratio?

A ratio compares two or more numbers by showing their relative size. If a fruit bowl holds 6 apples and 4 oranges, the ratio of apples to oranges is 6:4, read "6 to 4". It can also be written as 6 to 4 or as the fraction 6/4. Simplified, that ratio is 3:2: for every 3 apples there are 2 oranges.

The order matters. Apples to oranges is 3:2, but oranges to apples is 2:3. Always write the numbers in the same order as the words.

How to calculate a ratio between two numbers

  1. Identify the quantities and their order. For "the ratio of boys to girls", boys come first.
  2. Make sure both are in the same unit. Convert hours to minutes, meters to centimeters and so on.
  3. Write them with a colon: 18 boys and 24 girls gives 18:24.
  4. Simplify by dividing both numbers by their greatest common divisor (GCD). The GCD of 18 and 24 is 6, so the ratio is 3:4.

You can check a simplified ratio by dividing: 18 / 24 = 0.75 and 3 / 4 = 0.75. If the decimals match, the ratios are equivalent.

For related numbers, try the Fraction Calculator and Slope Calculator.

How to find the greatest common divisor

The GCD (also called the greatest common factor) is the largest number that divides evenly into all parts of the ratio. Two quick methods:

  • List factors: factors of 18 are 1, 2, 3, 6, 9, 18; factors of 24 are 1, 2, 3, 4, 6, 8, 12, 24. The largest shared factor is 6.
  • Euclid's method: divide the larger by the smaller and keep the remainder, then repeat with the smaller number and the remainder until the remainder is 0. For 24 and 18: 24 / 18 leaves 6, then 18 / 6 leaves 0, so the GCD is 6.

If you cannot spot the GCD, divide by any common factor you see and repeat until no common factor remains. 48:72 becomes 24:36, then 12:18, then 2:3.

How to simplify a ratio with decimals or fractions

Decimals: multiply every part by 10, 100 or 1,000 until all parts are whole numbers, then simplify. 2.5:3.5 becomes 25:35, which simplifies to 5:7.

Fractions: multiply every part by the lowest common denominator. For 1/2 : 3/4, the common denominator is 4, so multiply both by 4 to get 2:3.

Mixed units: 45 minutes to 2 hours becomes 45:120 in minutes, which simplifies to 3:8.

How to calculate a ratio with three or more parts

The method is the same. Find the GCD of all the parts and divide each by it. A paint mix of 20 ml red, 30 ml yellow and 50 ml white is 20:30:50. The GCD is 10, so the ratio is 2:3:5.

How to scale a ratio up or down

Ratios stay equivalent when you multiply or divide every part by the same number. To scale a recipe that serves 4 with a 2:3 rice-to-water ratio, multiply both parts by the scale factor. For 2.5 times the recipe: 2 x 2.5 = 5 cups of rice and 3 x 2.5 = 7.5 cups of water.

Rule: ratios scale by multiplication, never by addition. Adding 2 to both parts of 2:3 gives 4:5, which is a different ratio.

How to solve a proportion with a missing value

A proportion is two equal ratios, such as 3:5 = 12:x. To find x, cross-multiply and divide.

a : b = c : x  ⇒  x = b x c / a

Worked example: 3:5 = 12:x. Cross-multiply: 3 x x = 5 x 12, so 3x = 60 and x = 20.

Worked example (unit price): 4 pounds of apples cost $7.80. What do 6 pounds cost? 4:7.80 = 6:x, so x = 7.80 x 6 / 4 = $11.70.

Worked example (speed): You drive 135 miles in 2.5 hours. At the same speed, how far in 4 hours? 135:2.5 = x:4, so x = 135 x 4 / 2.5 = 216 miles.

How to divide a quantity in a given ratio

  1. Add the parts of the ratio to find the total number of shares.
  2. Divide the quantity by the total shares to find the value of one share.
  3. Multiply each part of the ratio by the value of one share.

Worked example: Split $750 between two people in the ratio 2:3. Total shares = 5. One share = $150. The amounts are 2 x 150 = $300 and 3 x 150 = $450.

Worked example: A 5-liter cleaning solution needs concentrate and water in the ratio 1:9. Total shares = 10, so one share is 0.5 L: 0.5 L of concentrate and 4.5 L of water.

How to convert a ratio to a percentage

For a part-to-whole percentage, divide the part by the sum of all the parts and multiply by 100. In a class where the ratio of boys to girls is 3:4, there are 7 parts, so boys make up 3/7 = 42.9 percent and girls 4/7 = 57.1 percent.

To compare the two parts directly, divide one by the other: girls are 4/3 = 1.333 times the number of boys, or 33.3 percent more. The percentage calculator handles both kinds of comparison.

How to calculate a unit rate

A unit rate is a ratio with 1 in the second place. Divide the first quantity by the second. 300 miles on 12 gallons is 300 / 12 = 25 miles per gallon. A 24-pack of water for $5.76 costs 5.76 / 24 = $0.24 per bottle. Unit rates make it easy to compare prices and performance.

How to calculate common ratios in real life

Aspect ratio

Divide the width and height by their GCD. 2560 x 1440 has a GCD of 160, giving 16:9. To find a missing dimension, solve a proportion: a 4:3 image that is 900 pixels tall is 900 x 4 / 3 = 1,200 pixels wide.

Debt-to-income ratio

Add up your monthly debt payments, including the expected housing payment, and divide by your gross monthly income. $350 car payment + $150 student loan + $1,900 mortgage = $2,400. On $7,000 of monthly income, DTI = 2,400 / 7,000 = 34.3 percent. Many lenders want 36 percent or less, though some programs allow up to 43 to 50 percent. The mortgage calculator helps estimate the housing part.

Gear ratio

Divide the number of teeth on the driven (output) gear by the number on the driving (input) gear. A 48-tooth driven gear and a 16-tooth driver gives 48:16 = 3:1.

Waist-to-height ratio

Divide your waist measurement by your height in the same units. A 34-inch waist at 70 inches tall gives 34 / 70 = 0.49. Values under 0.5 are commonly used as a healthy target.

Odds

Odds are a ratio of outcomes for to outcomes against. Rolling a 6 on a die has odds of 1:5, while the probability is 1 out of 6.

Calculating ratios in Excel and Google Sheets

To show a simplified ratio of A2 to B2, use =A2/GCD(A2,B2)&":"&B2/GCD(A2,B2). GCD works only with whole numbers, so multiply decimals first. To show a 1:n form, use ="1:"&ROUND(B2/A2,2). To split a total in C2 by ratio parts in A2 and B2, use =C2*A2/(A2+B2) and =C2*B2/(A2+B2).

How to tell if two ratios are equivalent

Two ratios are equivalent when they simplify to the same form, or when their cross products are equal. To test 6:8 and 15:20, multiply diagonally: 6 x 20 = 120 and 8 x 15 = 120. The products match, so the ratios are equivalent (both simplify to 3:4). Testing 4:7 and 12:20 gives 4 x 20 = 80 and 7 x 12 = 84, which do not match, so those ratios are different. This check is handy when comparing two offers, such as a 12-ounce drink for $1.80 and a 20-ounce drink for $2.90. Writing each as a unit rate makes the comparison clearer still: $0.150 per ounce versus $0.145 per ounce, so the larger size is slightly better value.

Equivalent ratio table

Ratiox2x3x5x10
1:22:43:65:1010:20
2:34:66:910:1520:30
3:46:89:1215:2030:40
3:56:109:1515:2530:50

Common mistakes

  • Writing the ratio in the wrong order.
  • Forgetting to convert to the same units before comparing.
  • Using a part-to-part ratio as a fraction of the whole.
  • Adding or subtracting to scale instead of multiplying.
  • Not simplifying fully: 6:9 should be 2:3.

Practice problems

  1. Simplify 45:60. Answer: GCD 15, so 3:4.
  2. Simplify 0.8:2. Answer: 8:20, then 2:5.
  3. Solve 7:4 = x:20. Answer: x = 7 x 20 / 4 = 35.
  4. Share 84 sweets in the ratio 3:4. Answer: one share is 12, so 36 and 48.
  5. What percent of the total is the first part in 5:3? Answer: 5 / 8 = 62.5%.

Check any of these with the ratio calculator, which solves proportions, simplifies ratios and splits totals instantly.

How to use this guide

Work through the steps in order with your own numbers, writing each result down as you go, then check your answer against the matching calculator on this site. If your hand calculation and the calculator disagree, the usual culprits are unit conversions, rounding, and a percentage typed as a whole number instead of a decimal. The examples are illustrations, not recommendations, and your situation may call for different assumptions. For important financial or health decisions, confirm your plan with a licensed professional who knows your circumstances. This article is reviewed periodically and was last updated in November 2026.

Frequently asked questions

How do you calculate a ratio between two numbers?

Write the numbers in order with a colon, then divide both by their greatest common divisor. 15 and 25 give 15:25, which simplifies to 3:5.

How do you calculate a ratio from a percentage?

Write the percentage over 100 and simplify. 40% is 40:100, which is 2:5 as part to whole, or 40:60 = 2:3 as part to the remaining part.

How do I find a missing number in a ratio?

Set up a proportion and cross-multiply. For 2:5 = 8:x, x = 5 x 8 / 2 = 20.

What is the formula for a ratio?

Ratio = A : B, or A / B as a fraction. To share a total T in the ratio A:B, the parts are T x A / (A + B) and T x B / (A + B).

How do you simplify a ratio of three numbers?

Divide all three numbers by their greatest common divisor. 18:24:30 has a GCD of 6, giving 3:4:5.

How do you write a ratio in the form 1:n?

Divide both parts by the first part. 5:12 becomes 1:2.4.

Ratios in this calculator are simplified using whole-number arithmetic after scaling decimals. Very long decimals are rounded to 6 places before simplifying.

Sawera Shahid

About the author

Sawera Shahid is the founder and lead writer of Calculators360. She builds the site's free online calculators and writes clear, step-by-step guides on finance, math and health, with every formula explained and worked examples you can check by hand.

© 2026 Calculators360. Free calculators for math, finance and health. Privacy · About · Contact

Leave a Reply

Your email address will not be published. Required fields are marked *