Greatest Common Denominator Calculator

Find the GCD of fraction denominators, simplify fractions, explore prime factorizations, and visualize the relationship between GCD and LCD with step-by-step solutions.

GCD of Denominators
4
Greatest Common Divisor — the largest number dividing all denominators
LCD (LCM of Denominators)
24
Least Common Multiple — the smallest common denominator
Coprime Denominators?
No
Denominators share factor(s) up to 4
GCD × LCM Relationship
96
8 × 12 = GCD(4) × LCM(24)
Simplified Fraction 1
3/8
3/8 ÷ 1/1
Simplified Fraction 2
5/12
5/12 ÷ 1/1

Prime Factor Table

Primed = 8d = 12Min (GCD)Max (LCM)
23223
30101

Denominator Size Comparison

d1 = 8
d2 = 12
GCD = 4
LCD = 24
Planning notes, formulas, and examples

About the Greatest Common Denominator Calculator

The Greatest Common Denominator (GCD) of a set of fractions' denominators is the largest number that divides every denominator evenly. While the Least Common Denominator (LCD) is used to add and subtract fractions, the GCD of denominators is what you use to simplify fractions and understand the structural relationship between them.

This calculator finds the GCD of two or three fraction denominators using prime factorization. It shows the complete factorization of each denominator, highlights which prime factors they share, simplifies each fraction by its individual GCD, and displays the important identity GCD × LCM = product of the two numbers.

The prime factor table uses color-coded cells to clearly show which primes appear in each denominator and how the minimum exponents give the GCD while the maximum exponents give the LCM. You can also toggle a full divisor listing to see every divisor of each denominator, with common divisors highlighted in green.

Understanding the GCD of denominators is critical for fraction simplification. When you divide both the numerator and denominator of a fraction by their GCD, you get the fraction in lowest terms. This concept extends to algebra, where factoring polynomials in rational expressions follows the same principle. Teachers and students alike benefit from seeing these relationships laid out step by step with visual reinforcement.

When This Page Helps

Finding the GCD of denominators requires factoring each one and comparing prime powers — a process that's easy to fumble for large or three-fraction problems. This calculator shows the full prime factorization of every denominator, highlights shared factors, and computes the GCD in one step. Toggle "Show All Divisors" to see an explicit list of common divisors, making it clear why the GCD is the largest one. It also derives the LCD using the GCD × LCM identity, so you get both values from a single calculation.

How to Use the Inputs

  1. Click a preset or enter your own fractions with numerators and denominators.
  2. Select 2 or 3 fractions using the dropdown.
  3. Optionally toggle "Show All Divisors" to see every divisor of each denominator.
  4. View the GCD, LCD, and simplified fractions in the output cards.
  5. Study the prime factor table to understand how GCD and LCD are computed.
  6. Compare denominator sizes in the visual bar chart.
Formula used
GCD(a,b) = product of min(exponent) for each prime factor. For fractions: a/b in lowest terms when GCD(a,b) = 1. Identity: GCD(a,b) × LCM(a,b) = a × b.

Example Calculation

Result: GCD of denominators = 4

8 = 2³ and 12 = 2² × 3. The minimum power of 2 is 2², and 3 doesn't appear in both. So GCD = 2² = 4.

Tips & Best Practices

  • If the GCD of denominators is 1, the denominators are coprime and the LCD is their product.
  • Use "Show All Divisors" to visually see which divisors the denominators share.
  • The GCD × LCM identity is a quick way to verify your calculations.
  • Simplifying fractions first often makes subsequent arithmetic much easier.

Prime Factorization Method for GCD

To find the GCD of two or more denominators, express each as a product of prime powers: for example, 8 = 2³ and 12 = 2² × 3. For each prime that appears in all factorizations, take the smallest exponent. The GCD of 8 and 12 is 2² = 4 because 2 is the only shared prime, and min(3, 2) = 2. This method scales easily to three or more denominators — just extend the minimum-exponent rule to every factorization.

GCD vs. LCD — When to Use Each

The GCD tells you how much the denominators share in common, while the LCD (LCM of denominators) tells you the smallest common target. Use the GCD when simplifying fractions: if GCD(numerator, denominator) > 1, you can divide both by it. Use the LCD when adding or subtracting fractions: rewrite each fraction with denominator = LCD, then combine numerators. The identity GCD × LCM = product of the two numbers lets you derive one from the other directly.

Coprime Denominators and Special Cases

When the GCD of two denominators is 1, they are coprime — they share no prime factor. In this case the LCD equals the product of the denominators, and the fractions cannot be simplified further relative to each other. Recognising coprimality early saves work: consecutive integers are always coprime, as are any pair of distinct primes. For three fractions, pairwise coprimality does not guarantee mutual coprimality, so always compute the full GCD.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It's the GCD (Greatest Common Divisor) of the denominators of two or more fractions — the largest whole number that divides each denominator evenly.