What Is a Common Denominator?
A common denominator is a shared bottom number for two or more fractions. To add, subtract, or compare fractions, they must have the same denominator. The least common denominator (LCD) is the smallest such number — it equals the least common multiple (LCM) of the original denominators. Using the LCD keeps your fractions as simple as possible.
How to Use This Calculator
Enter the two denominators you want to combine (for example, the 4 in 1/4 and the 6 in 5/6). The calculator returns the least common denominator along with the greatest common divisor used in the computation. Both inputs should be positive whole numbers.
The Formula Explained
The tool uses the relationship between the LCM and the GCD: $$\text{LCD} = \frac{d_1 \times d_2}{\gcd(d_1,\ d_2)}$$. The greatest common divisor is computed with the Euclidean algorithm, which repeatedly replaces the pair \((a,\ b)\) with \((b,\ a \bmod b)\) until one value is zero. Dividing the product of the denominators by their GCD removes the duplicated factors, leaving the smallest common multiple.
Worked Example
Suppose you want to add 1/4 and 5/6. The denominators are 4 and 6. Their GCD is 2, so the LCD is $$4 \times 6 \div 2 = 24 \div 2 = \mathbf{12}.$$ Rewriting: \(1/4 = 3/12\) and \(5/6 = 10/12\), which can now be added directly to get \(13/12\).
How to Find the LCD by Hand
The least common denominator (LCD) of two fractions is the least common multiple of their denominators. The formula is \(\text{LCD} = \frac{d_1 \times d_2}{\gcd(d_1, d_2)}\). Here is the process, using \(\frac{5}{12}\) and \(\frac{7}{18}\) as an example.
- List the denominators. \(d_1 = 12\) and \(d_2 = 18\).
- Find the GCD. With the Euclidean algorithm: \(18 = 1 \times 12 + 6\), then \(12 = 2 \times 6 + 0\). The last non-zero remainder is 6, so \(\gcd(12, 18) = 6\). Prime factorization gives the same answer: \(12 = 2^2 \times 3\) and \(18 = 2 \times 3^2\), so the shared part is \(2 \times 3 = 6\).
- Multiply the denominators and divide by the GCD. \(\text{LCD} = \frac{12 \times 18}{6} = \frac{216}{6} = \)36.
- Scale each numerator. Multiply each numerator by LCD ÷ its own denominator. For the first fraction, \(36 \div 12 = 3\), so \(5 \times 3 = 15\). For the second, \(36 \div 18 = 2\), so \(7 \times 2 = 14\).
- Check the result. The fractions are now \(\frac{15}{36}\) and \(\frac{14}{36}\). Both have denominator 36. Simplifying gives \(\frac{15}{36} = \frac{5}{12}\) and \(\frac{14}{36} = \frac{7}{18}\), the original values, so nothing changed except the form.
Alternative: list multiples. For small denominators you can write out multiples until the first match. For 4 and 6, the multiples of 4 are 4, 8, 12 and the multiples of 6 are 6, 12. The first shared value is 12, so the LCD is 12. This is quick for small numbers, but the GCD method is faster for larger ones.
LCD Examples for Different Denominator Pairs
The relationship between the two denominators determines how large the LCD is compared with their product.
| Denominator pair | GCD | LCD | Relationship |
|---|---|---|---|
| 3 & 5 | 1 | 15 | Coprime (no shared factor), so LCD = 3 × 5 |
| 4 & 6 | 2 | 12 | Shared factor of 2 |
| 3 & 9 | 3 | 9 | One is a multiple of the other, so the LCD is the larger one |
| 7 & 7 | 7 | 7 | Identical denominators, so no conversion is needed |
| 8 & 12 | 4 | 24 | Shared factor of 4; \(\frac{8 \times 12}{4} = 24\) |
| 12 & 18 | 6 | 36 | Shared factor of 6; \(\frac{12 \times 18}{6} = 36\) |
When the GCD is 1, the LCD equals the product of the denominators. The larger the GCD, the smaller the LCD is relative to that product.
FAQ
Is the LCD always the product of the denominators? No — only when the denominators share no common factor (their GCD is 1). For 3 and 5 the LCD is 15, but for 4 and 6 it is 12, not 24.
What if both denominators are the same? Then the LCD equals that number, since it already divides itself evenly.
Can I use it for improper fractions? Yes. Only the denominator matters when finding a common denominator, so the numerator can be anything.