Ratio Calculator

Simplify ratios, find equivalent ratios, compare two ratios, and solve for missing values.

Quick examples:
:

What Is a Ratio?

A ratio is a mathematical expression that compares two or more quantities showing their relative sizes. Written as a:b or as a fraction a/b, a ratio tells you how many times one number contains another. For example, a class with 15 boys and 20 girls has a boy-to-girl ratio of 15:20, which simplifies to 3:4. Ratios are dimensionless — the actual units cancel out — making them useful for comparing quantities across different scales.

Ratios appear everywhere in daily life: the aspect ratio of your screen (16:9), a map scale (1:50,000), a recipe (2 cups flour to 1 cup butter), and even financial statements (debt-to-equity ratio). Understanding how to simplify, scale, and compare ratios is a foundational mathematical skill used from primary school through university-level mathematics and professional work.

How to Simplify a Ratio (Using GCD)

To simplify a ratio a:b, find the Greatest Common Divisor (GCD) of a and b, then divide both parts by it. For example, to simplify 12:18:

  1. List factors of 12: 1, 2, 3, 4, 6, 12
  2. List factors of 18: 1, 2, 3, 6, 9, 18
  3. GCD = 6 (the largest common factor)
  4. 12 ÷ 6 = 2 and 18 ÷ 6 = 3
  5. Result: 12:18 simplifies to 2:3

A faster approach uses the Euclidean algorithm: GCD(12, 18) = GCD(18 mod 12, 12) = GCD(6, 12) = 6. This calculator applies the Euclidean algorithm automatically for any input.

Equivalent Ratios Explained

Two ratios are equivalent if they simplify to the same value. You can generate equivalent ratios by multiplying or dividing both terms by any non-zero number. The ratio 1:3 is equivalent to 2:6, 3:9, 4:12, 5:15 — you multiply both by 2, 3, 4, and 5 respectively. This is exactly how unit conversions, recipe scaling, and map reading work in practice.

The concept of equivalent ratios underlies the rule of three in proportion problems: if a:b = c:d, then ad = bc (cross-multiplication). This identity is used to solve for any missing value in a proportion, which is what the Solve for X mode on this calculator does.

Ratio vs Proportion vs Fraction

ConceptDefinitionExample
RatioComparison of two quantities3:4
FractionPart of a whole, written as a/b3/7
ProportionStatement that two ratios are equal3:4 = 6:8

A ratio and a fraction look similar but differ in meaning. The ratio 3:4 compares group A to group B — it does not imply they are parts of the same whole. The fraction 3/7 means 3 out of 7 parts of one whole. When a ratio a:b is used as a fraction a/(a+b), it represents each part's share of the total (a out of a+b).

Ratios in Real Life

Cooking: A vinaigrette dressing uses a 3:1 ratio of oil to vinegar. Scaling a recipe multiplies both quantities equally.
Maps: A 1:25,000 map means 1 cm on paper = 25,000 cm (250 m) in reality. Distances scale proportionally.
Dilution: A 1:10 bleach-to-water ratio means 1 part bleach per 10 parts total solution — crucial in chemistry and cleaning.
Scale models: A 1:87 model train means every part is 1/87th of the real size. Consistent ratios preserve proportional accuracy.
Finance: A debt-to-equity ratio of 2:1 means $2 of debt for every $1 of equity — used to assess financial leverage.
Screens: The 16:9 aspect ratio is the standard for modern HD displays — 16 units wide for every 9 units tall.

Frequently Asked Questions

A ratio is a comparison of two quantities showing their relative sizes, written as a:b or a/b. For example, 3:4 means the first quantity is 3 parts for every 4 parts of the second.
Find the GCD of both terms and divide each by it. For 6:9, GCD(6,9)=3, so 6÷3:9÷3 = 2:3. The simplified ratio has the same proportion but uses the smallest whole numbers possible.
A ratio compares two quantities (3:4). A proportion is a statement that two ratios are equal (3:4 = 6:8). Proportions let you solve for unknown values using cross-multiplication: if a:b = c:d, then ad = bc.
Multiply or divide both terms by the same non-zero number. 2:3 → 4:6 → 6:9 → 8:12 are all equivalent. They all reduce to 2:3 when simplified.
A ratio is in simplest form when GCD of its two terms equals 1 — they share no common factor except 1. Example: 4:6 simplifies to 2:3, which is in simplest form since GCD(2,3)=1.
Convert both to decimals (divide a by b for each) and compare. To compare 3:5 and 5:8 — compute 3/5=0.6 and 5/8=0.625. Since 0.625 > 0.6, the ratio 5:8 is larger.
Recipes are ratios. A bread dough might use a 5:3 ratio of flour to water. To double the batch, multiply both quantities by 2. To halve it, divide by 2. The ratio stays constant; only the scale changes.

Related Calculators