Ratio Calculator & Simplifier
Simplify a ratio like 12:18 to its lowest terms (2:3) and compare to a target ratio.
Result
- GCD6
- Decimal0.6667
- Percentage40.0% / 60.0%
- Sum30.0000
Step-by-step
- Original: 12 : 18.
- GCD(12, 18) = 6.
- 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) / aA 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
- Inputs:
- a = 12, b = 18
- Output:
- gcd(12,18) = 6 โ simplest form 2 : 3
- Inputs:
- 3 : 4 = 9 : x
- Output:
- x = (4 ยท 9) / 3 = 12
- 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.