Ratio Calculator & Simplifier

Simplify a ratio like 12:18 to its lowest terms (2:3) and compare to a target ratio.

Inputs

Result

Simplified ratio
2.0000 : 3.0000
12 : 18 โ†’ 2 : 3.
  • GCD6
  • Decimal0.6667
  • Percentage40.0% / 60.0%
  • Sum30.0000
Note โ€” Simplification works cleanly only on integer inputs; the calculator falls back to decimal form for non-integer inputs.

Step-by-step

  1. Original: 12 : 18.
  2. GCD(12, 18) = 6.
  3. Simplified: (12 รท 6) : (18 รท 6) = 2 : 3.

How to use this calculator

  • Enter both quantities.
  • Read the simplified ratio plus the decimal and percentage forms.

About this calculator

A ratio compares two quantities by division. Simplifying a ratio means dividing both numbers by their greatest common divisor, just like simplifying a fraction. 12:18 simplifies to 2:3 (dividing both by 6). The calculator also shows the decimal equivalent and percentage split for a quick comparison.

How it works โ€” the formula

a : b is the same as a/b Simplify by dividing a and b by gcd(a, b) Solve a:b = c:x โ†’ x = (b ยท c) / a

A ratio compares two quantities by division. Two ratios a:b and c:d are equal when ad = bc โ€” the standard cross-multiplication identity that lets you solve any proportion for an unknown term. To put a ratio in lowest terms, divide both sides by their greatest common divisor; for an irrational ratio (e.g. the golden ratio) the simplest form is the symbolic expression itself.

Worked examples

Example 1
Simplify a ratio
Inputs:
a = 12, b = 18
Output:
gcd(12,18) = 6 โ†’ simplest form 2 : 3
Example 2
Solve a proportion
Inputs:
3 : 4 = 9 : x
Output:
x = (4 ยท 9) / 3 = 12
Example 3
Cross-multiplication check
Inputs:
a:b = 2:5, c:d = 8:20
Output:
ad = 40, bc = 40 โ†’ ratios equal

Limitations

  • Ratios are dimensionless when comparing same units; mixing units (e.g. miles to hours) gives a rate, not a ratio.
  • Order matters: a : b is not the same as b : a unless a = b.
  • Decimals or surds in either side require symbolic care โ€” simplify by canceling rational factors only.
  • When one term is 0, "simplest form" is 0 : k for any non-zero k; treat carefully.

Ratios are exact rational arithmetic when both inputs are integers; floating-point inputs may produce small simplification artifacts.

Frequently asked

For every 2 of the first thing, there are 3 of the second. If you have 10 of the first, you have 15 of the second (multiply both sides by 5).

Related calculators

More tools you might like