CalcPocket Logo CalcPocket
Math 5 min read March 2026

How to Calculate the Ratio Between Two Numbers (With Examples)

Ratios in recipes, maps, finance, and engineering — the formula explained simply with 8 real-world examples and common mistakes to avoid.

What Is a Ratio?

A ratio expresses the relationship between two quantities — how many times one contains the other. Written as A:B (read "A to B"), it tells you the relative size of two values without specifying their actual amounts. A ratio of 3:1 means for every 3 of the first, there's 1 of the second.

How to Calculate a Ratio

  1. Write the two values as a fraction: A/B
  2. Find the Greatest Common Divisor (GCD) of A and B
  3. Divide both values by the GCD to simplify
  4. Write as A:B in simplest form

Example: What is the ratio of 24 to 36? GCD(24, 36) = 12. 24/12 = 2, 36/12 = 3. Ratio = 2:3

8 Real-World Examples

#ScenarioValuesRatio
1Recipe: flour to sugar300g : 100g3:1
2Map scale: 1cm = 5km1 : 500,0001:500,000
3Class: 18 girls, 12 boys18 : 123:2
4Investment return: $150 profit on $1,000150 : 10003:20
5Concrete mix: cement:sand:gravel1:2:41:2:4
6Screen resolution: 1920 × 10801920 : 108016:9
7Speed: 90 km/h for 120 km90 : 1203:4
8Salary split: $4,500 and $3,0004500 : 30003:2

Scaling Ratios Up and Down

If a recipe uses a 2:3 ratio of oil to vinegar and you want to make 500 mL total: total parts = 2 + 3 = 5. Each part = 500 ÷ 5 = 100 mL. Oil = 2 × 100 = 200 mL, Vinegar = 3 × 100 = 300 mL.

Common Mistakes

  • Order matters: 3:2 and 2:3 are different ratios. Always specify which quantity comes first.
  • Units must match: You can't directly ratio 500g to 2 kg without converting — 500g : 2,000g = 1:4.
  • Simplify fully: 6:9 simplified to 2:3, not 3:4.5. Always find the GCD.

The ratio calculator below handles simplification, scaling, and equivalent ratios automatically — just enter your two values to get the result.

Calculate and simplify any ratio Use the free Ratio Calculator on CalcPocket — no signup required.
Ratio Calculator