Least Common Denominator Calculator - LCD of 2 to 5 Fractions

Use this least common denominator calculator to find the LCD of two to five fractions, with prime factorization, scale factors, and equivalent fractions in the result.

Updated: June 16, 2026 • Free Tool

Least Common Denominator Calculator

Pick how many fractions to include in the LCD calculation. The form uses the first N numerator/denominator pairs and ignores the rest.

Numerator of the first fraction. Can be zero, positive, or negative.

Denominator of the first fraction. Must be a non-zero integer.

Numerator of the second fraction.

Denominator of the second fraction.

Numerator of the third fraction. Ignored when the count is below 3.

Denominator of the third fraction.

Numerator of the fourth fraction. Ignored when the count is below 4.

Denominator of the fourth fraction.

Numerator of the fifth fraction. Ignored when the count is below 5.

Denominator of the fifth fraction.

Results

Least Common Denominator
0
Prime Factorizations 0
Scale Factor for Fraction 1 0
Scale Factor for Fraction 2 0
Scale Factor for Fraction 3 0
Scale Factor for Fraction 4 0
Scale Factor for Fraction 5 0
Fraction 1 over LCD 0
Fraction 2 over LCD 0
Fraction 3 over LCD 0
Fraction 4 over LCD 0
Fraction 5 over LCD 0

What Is Least Common Denominator Calculator?

A least common denominator calculator is a number-theory tool that finds the smallest positive integer into which every denominator in a set of fractions divides evenly, then rewrites each fraction over that shared base. The form supports two to five fractions, which is enough for a two-fraction homework problem, a three-fraction comparison, or a five-fraction engineering calculation without switching tools. The result panel shows the LCD, the prime factorization of every denominator, the scale factor that turns each denominator into the LCD, and the equivalent fraction you can drop into the next step.

  • Adding and subtracting unlike fractions: Students can rewrite 1/4 + 1/6 over an LCD of 12 instead of guessing a common denominator by trial and error.
  • Comparing and ordering fractions by size: Teachers can line up 2/3, 4/5, 6/7, and 8/9 over their LCD of 2520 and compare numerators directly without converting to decimals.
  • Clearing denominators in algebra: Algebra students can apply the same highest-prime-power rule to find a common denominator for polynomial fractions.
  • Recipe and measurement scaling: Cooks can confirm that 1/2 cup, 1/3 cup, and 1/4 cup share an LCD of 12 before scaling a recipe to a new yield.

The LCD is the mathematical bridge between unlike fractions, and finding it by hand is the part of fraction arithmetic that goes wrong most often. Prime factorizations are easy to mess up, especially when one denominator is a multiple of another or when the denominators are coprime.

If you only need to know the smallest positive integer that a list of denominators divides into, the LCD calculator handles exactly that job with a single field.

How Least Common Denominator Calculator Works

The calculator reads the numerator and denominator of every active fraction, factorizes each denominator into its prime building blocks, and multiplies together the highest power of every prime that appears. The result is the smallest positive integer that divides evenly by every denominator, which is the definition of the LCD.

LCD(d1, d2, ..., dk) = LCM(|d1|, |d2|, ..., |dk|) = ∏ p^max(a1, a2, ..., ak) where every di = ∏ p^ai is the prime factorization of denominator i. For two fractions a/b and c/d: LCD(a/b, c/d) = (b × d) / GCF(b, d).
  • denominatorCount: How many fractions to include. Drives which numerator/denominator pairs the calculator reads.
  • num1 ... num5: Optional numerator for each fraction. The calculator scales the numerator by the scale factor (LCD / |denominator|) to produce the equivalent fraction over the LCD.
  • den1 ... den5: The denominator of each fraction. Must be a non-zero integer. The calculator uses |denominator| for the LCD and carries the original sign into the equivalent fraction.
  • Prime factors: The primes that appear when each denominator is broken into its prime factorization. The calculator tracks the highest power of every prime and multiplies them together to form the LCD.
  • LCD: The integer answer shown in the result panel and used as the new denominator for every equivalent fraction.

The two-fraction shortcut comes from the identity LCD(a/b, c/d) = (b × d) / GCF(b, d). It only works for two denominators, so the calculator falls back to the prime-factorization rule as soon as a third denominator enters the form.

Find the LCD of 1/4, 1/6, 1/9, 1/12, 1/15

denominatorCount = 5, num1 = 1, den1 = 4, num2 = 1, den2 = 6, num3 = 1, den3 = 9, num4 = 1, den4 = 12, num5 = 1, den5 = 15

1. Prime factorize: 4 = 2^2, 6 = 2 × 3, 9 = 3^2, 12 = 2^2 × 3, 15 = 3 × 5. 2. Highest power of 2: 2^2 (from 4 or 12). 3. Highest power of 3: 3^2 (from 9). 4. Highest power of 5: 5^1 (from 15). 5. Multiply: 2^2 × 3^2 × 5 = 180.

LCD = 180, equivalent fractions 45/180, 30/180, 20/180, 15/180, 12/180.

Five-fraction problems can produce large LCDs because every new denominator can introduce another prime, but the highest-prime-power rule keeps the math the same as the two-fraction case.

According to Wikipedia, the LCD of a set of fractions is the least common multiple of their denominators, which can be found by prime factorizing each denominator and multiplying together the highest power of every prime that appears.

According to Omni Calculator, the LCD of two fractions a/b and c/d equals the LCM of b and d, which is the same as (b × d) / GCF(b, d), and that smaller denominator is the one to rewrite the fractions over before adding, subtracting, or comparing them.

Key Concepts Explained

Four small ideas explain every result the calculator returns.

Prime factorization

Every whole number greater than 1 can be written as a product of prime numbers, and the factorization is unique. The calculator uses trial division to keep the highest power of each prime across the denominators.

LCD equals LCM of the denominators

The LCD of a set of fractions is the least common multiple of their denominators. Once you can find the LCM of two numbers, you can find the LCD of any number of fractions by repeating the same idea.

Highest prime power wins

When two or more denominators share a prime factor, the LCD uses the highest power of that prime. For 4, 6, and 8 the prime 2 appears with exponents 2, 1, and 3, so the LCD keeps 2^3 from 8.

Equivalent fractions over the LCD

To rewrite a fraction over the LCD, divide the LCD by the original denominator to get a scale factor, then multiply the numerator by that factor. The new fraction equals the original and shares the LCD as its new denominator.

These four rules are the same rules used in any elementary number theory textbook. The difference is only the input: a set of denominators instead of a set of plain integers, and the LCM calculator applies the same highest-prime-power method when it computes an LCM for integers.

How to Use This Calculator

Five short steps are enough to find a trustworthy LCD for any set of fractions.

  1. 1 Pick the number of fractions: Open the Number of Fractions dropdown and choose any value from 2 to 5. The calculator uses the first N numerator/denominator pairs and ignores the rest.
  2. 2 Enter the first fraction: Type the numerator and denominator of the first fraction in the top two number fields. The denominator must be a non-zero integer.
  3. 3 Enter the remaining fractions: Type the numerator and denominator for each remaining fraction in the next two-column rows. The calculator accepts negative denominators and uses the absolute value for the LCD.
  4. 4 Read the LCD and the equivalent fractions: The big number at the top of the result panel is the LCD. The Prime Factorizations row shows the prime factorization of every active denominator.
  5. 5 Use the result in your next step: Copy the LCD and the equivalent fractions into your addition, subtraction, or comparison work. The equivalent fractions share the LCD as their denominator, so you can add, subtract, or compare numerators directly.

If you choose 3 fractions and enter 1/2, 1/3, and 1/4, the calculator returns LCD = 12 and the equivalent fractions 6/12, 4/12, and 3/12. The prime factorization row shows 2 = 2, 3 = 3, 4 = 2^2, and the LCD line reads 2^2 × 3 = 12.

Benefits of Using This Calculator

A purpose-built LCD calculator saves time and removes the prime-factorization errors that come from doing the math by hand.

  • Handles 2 to 5 fractions in one form: A single dropdown switches between two-fraction homework, three-fraction comparison, and five-fraction engineering problems.
  • Prime factorization visible at every step: The result panel lists the prime factorization of every active denominator and the highest prime powers that produced the LCD.
  • Equivalent fractions in the same view: Each input fraction is rewritten over the LCD, so you can drop the new form straight into addition, subtraction, or comparison problems.
  • Per-denominator scale factor exposed: The scale factor (LCD / |denominator|) for each fraction is shown as a separate row, which makes it easy to scale a custom numerator.

Once you have the LCD, the adding fractions calculator can add the rewritten fractions and reduce the final sum to lowest terms in a single form, so the whole workflow stays inside the math-conversion tool family. When the problem needs subtraction as well, the adding and subtracting fractions calculator covers the same LCD step with a minus-sign selector per term.

Factors That Affect Your Results

A few conditions affect how the LCD looks and how the equivalent fractions are scaled.

Sign of the denominator

The calculator uses the absolute value of each denominator for the LCD, so a negative denominator like -9 still contributes the prime 3^2. The original sign is carried into the equivalent fraction, so 1/(-9) becomes -8/72 when the LCD is 72.

Coprime denominators

When two or more denominators share no prime factors, the LCD is just the product of those denominators. The prime factorization row shows several single-prime expressions multiplied together.

One denominator divides another

If one denominator divides evenly into another, the LCD equals the larger denominator. For 1/4 and 1/12, the LCD is 12 because 4 already divides into 12.

Mixed prime squares

When every denominator is a different prime square, the LCD equals the product of those prime squares. For 4, 9, 25, and 49 the LCD is 2^2 × 3^2 × 5^2 × 7^2 = 44100.

  • The calculator only handles whole-number denominators, so it does not accept decimals or algebraic expressions like x + 1 in the denominator. Convert decimal denominators to a fraction first.
  • Equivalent fractions are produced in their full unsimplified form so the LCD stays visible. The numerator and denominator of each equivalent fraction can be reduced to lowest terms after the LCD is found.

According to Wolfram MathWorld, Wolfram MathWorld states that the least common multiple of a set of positive integers equals the product of the highest power of each prime that divides at least one member of the set, which is the same product that defines the LCD.

If the next step is to actually add the rewritten fractions, the equivalent fractions calculator can take the equivalent forms from this calculator and reduce the final sum to lowest terms in a single workflow.

Least common denominator calculator showing three fractions 1/2, 1/3, 1/4 and the resulting LCD 12 with prime factorization 2^2 × 3 and equivalent fractions 6/12, 4/12, 3/12
Least common denominator calculator showing three fractions 1/2, 1/3, 1/4 and the resulting LCD 12 with prime factorization 2^2 × 3 and equivalent fractions 6/12, 4/12, 3/12

Frequently Asked Questions

Q: What is the least common denominator?

A: The LCD of a set of fractions is the smallest positive integer that every denominator in the set divides evenly into. It is the building block for adding, subtracting, and comparing unlike fractions because it is the smallest shared base that lets you rewrite every fraction over the same denominator.

Q: How do you find the LCD of two fractions?

A: Multiply the two denominators together, then divide by their greatest common factor. Equivalently, prime factorize each denominator, take the highest power of every prime that appears, and multiply those highest powers together. The result is the LCD.

Q: How do you find the LCD of three or more fractions?

A: Use the same highest-prime-power rule as for two fractions. Prime factorize every denominator, pick the largest power of each prime that appears across the whole set, and multiply those highest powers together to get the LCD.

Q: What is the formula for the LCD?

A: The LCD of denominators d1, d2, ..., dk equals the product of p raised to the maximum exponent of p across all the denominators, for every prime p that divides at least one of the denominators. For two denominators only, the shortcut is LCD = (b × d) / GCF(b, d).

Q: Is the LCD the same as the LCM?

A: Yes. The LCD of a set of fractions is exactly the least common multiple of their denominators. Whenever you see LCD in a fraction problem, the math is the same as finding an LCM.

Q: How do you rewrite fractions using the LCD?

A: Divide the LCD by the original denominator to get a scale factor, then multiply the numerator by that scale factor. The new fraction has the LCD as its denominator and equals the original. The calculator shows the equivalent fraction in the result panel so you can copy it straight into your addition or subtraction step.