Sitonce
Country: US
Show exams for United States Hong Kong
Sign in

Greatest Common Factor vs. Least Common Multiple

Updated 6 min read
Key takeaway

The greatest common factor (GCF) is the largest positive integer that divides each given number evenly.

More key points
  • The least common multiple (LCM) is the smallest positive integer that is a multiple of each number.
  • Use GCF to split quantities into equal largest groups; use LCM to find when repeating cycles or denominators align.
On this page13 sections
  1. Find the greatest common factor
  2. Find the least common multiple
  3. Choose based on the situation
  4. Check your answer
  5. Use prime factorization to compare
  6. Solve grouping and repeating-cycle problems
  7. Find common denominators and simplify
  8. Check the relationship between GCF and LCM
  9. Let the question determine the operation
  10. Find the greatest common factor
  11. Find the least common multiple
  12. Choose the tool from the task
  13. Exam takeaway

GCF and LCM both compare numbers, but they answer opposite kinds of questions. A factor divides a number; a multiple is produced by multiplying it. Identify whether the problem is grouping or synchronizing before you calculate.

Find the greatest common factor

The GCF is the largest number that divides all the given integers with no remainder. For 24 and 36, the common factors include 1, 2, 3, 4, 6, and 12; the greatest is 12. You can find it by listing factors, prime factorization, or the Euclidean algorithm.

Find the least common multiple

The LCM is the smallest positive number that is a multiple of each given number. Multiples of 6 include 6, 12, 18, and so on; multiples of 8 include 8, 16, 24, and so on. Their smallest positive common multiple is 24. Prime factorization is efficient: include each prime at its highest exponent across the numbers.

Choose based on the situation

  • Use GCF when splitting items into the largest equal groups with none left over.
  • Use LCM when repeated schedules coincide or when finding a common denominator.
  • For a tiling or arrangement problem, inspect whether the question asks for the largest equal tile size (GCF) or the smallest shared length (LCM).

Check your answer

A proposed GCF must divide every input. A proposed LCM must be divisible by every input. The GCF cannot exceed the smallest positive input, and the LCM cannot be smaller than the largest input. These checks catch many arithmetic slips.

Use prime factorization to compare

Write each number as a product of primes. For 24 = 2³×3 and 36 = 2²×3², the GCF uses only prime factors shared by both numbers at the smaller exponent: 2²×3 = 12. The LCM uses every prime factor appearing in either number at the greatest exponent: 2³×3² = 72. For 6 and 8, the GCF is 2 and the LCM is 24. The method avoids listing many factors or multiples when the numbers are larger.

Solve grouping and repeating-cycle problems

A teacher has 24 pencils and 36 erasers and wants the greatest number of identical supply bundles with nothing left over. The GCF is 12, so there can be 12 bundles, each with 2 pencils and 3 erasers. If two lights flash every 6 and 8 seconds, their next simultaneous flash occurs after the LCM, 24 seconds. Grouping into equal sets suggests a shared factor; finding the first shared repeat suggests a shared multiple.

Find common denominators and simplify

The LCM gives the least common denominator for fractions. For 1/6 + 1/8, the LCM of 6 and 8 is 24, producing 4/24 + 3/24 = 7/24. The GCF can simplify a fraction: 18/24 divides numerator and denominator by their GCF 6 to become 3/4. The two concepts can appear in the same problem but do different jobs.

Check the relationship between GCF and LCM

For two positive integers a and b, GCF(a,b) × LCM(a,b) = a × b. With 24 and 36, 12 × 72 = 864, which matches 24 × 36. This identity is a useful arithmetic check, though prime factorization or a direct divisibility check is still needed to establish the answer. The GCF cannot be greater than either input; the LCM must be at least as large as both.

Let the question determine the operation

Words such as “largest equal groups,” “no leftovers,” and “greatest tile size” often point to GCF. Words such as “first time together,” “repeat,” and “common denominator” often point to LCM. A context may use different language, so translate the situation: are you dividing quantities into equal groups, or finding the earliest value that belongs to several repeating patterns?

Find the greatest common factor

A factor divides a number evenly. The greatest common factor (GCF) of two or more whole numbers is the largest positive integer that divides each. For 18 and 30, factors common to both include 1, 2, 3, and 6; the GCF is 6. Prime factorization gives another method: 18 = 2 × 3² and 30 = 2 × 3 × 5, so multiply the shared prime factors using the smaller exponent: 2 × 3 = 6.

Use the GCF to simplify a fraction by dividing numerator and denominator by the same common factor. For 24/36, the GCF is 12, so 24/36 = 2/3. Dividing both parts by the same nonzero number preserves the fraction’s value; dividing only one changes it.

Find the least common multiple

A multiple is the product of a number and an integer. The least common multiple (LCM) is the smallest positive number that is a multiple of each input. Multiples of 6 include 6, 12, 18, 24; multiples of 8 include 8, 16, 24. Their LCM is 24. With prime factorization, take every prime that appears using the greatest exponent present: 6 = 2×3 and 8 = 2³, so LCM = 2³×3 = 24.

Use the LCM as a common denominator when adding or subtracting fractions with unlike denominators. For 1/6 + 1/8, the LCM of 6 and 8 is 24: 4/24 + 3/24 = 7/24. The GCF instead helps reduce the final fraction.

Choose the tool from the task

Use GCF when dividing quantities into the largest equal groups, simplifying a fraction, or finding the largest common unit. Use LCM when coordinating repeating events, finding a shared denominator, or identifying the first common multiple. A quick check: a GCF cannot exceed the smallest input number, while an LCM must be at least as large as the largest input.

For positive integers a and b, GCF(a,b) × LCM(a,b) = a × b. This identity is a useful check for two numbers. It is usually easier to find one value and derive the other than to list many factors or multiples.

  • GCF is the largest shared factor; LCM is the smallest shared multiple.
  • Use minimum prime exponents for GCF and maximum exponents for LCM.
  • Simplify fractions with GCF and create common denominators with LCM.
  • Check the result against the input sizes.
  • For two positive integers, verify GCF × LCM = product.

Exam takeaway

GCF answers “largest shared divisor?” LCM answers “smallest shared multiple?” Use context words such as equal groups, cycles, and common denominator to choose the right operation.

Common questions

Can the GCF be larger than one of the numbers?

No. A positive common factor cannot exceed the smallest positive input.

Can the LCM be smaller than an input number?

No. A common multiple must be at least as large as each positive input.

Which one helps with common denominators?

The LCM of the denominators gives the least common denominator.