GCF and LCM
Measurements, material estimation, cutting calculations
Discounts, tax, tips, profit margins
Once you know how to find factors and multiples, two natural follow-up questions arise. Given two or more numbers, what is the largest factor they share? And what is the smallest multiple they have in common? These are the greatest common factor (GCF) and the least common multiple (LCM) β two tools that show up constantly when simplifying fractions, finding common denominators, scheduling repeating events, and dividing materials into equal groups.
Greatest Common Factor (GCF)
The greatest common factor of two or more numbers is the largest number that divides evenly into all of them.
Other names for the same concept: greatest common divisor (GCD), highest common factor (HCF).
Method 1: Listing Factors
- List all factors of each number
- Identify the factors that appear in every list
- The largest one is the GCF
Example 1: GCF by Listing β GCF of 24 and 36
Factors of 24:
Factors of 36:
Common factors:
Greatest common factor:
Method 2: Prime Factorization
- Write the prime factorization of each number
- Identify the prime factors that appear in both factorizations
- For each shared prime, take the smaller exponent
- Multiply these together
Example 2: GCF by Prime Factorization β GCF of 48 and 60
Prime factorization of 48:
Prime factorization of 60:
Shared primes with smaller exponents:
- : appears as in and in β take
- : appears as in both β take
- : appears only in β not shared, skip it
Example 3: GCF of Three Numbers
Find the GCF of 30, 45, and 75.
Prime factorizations:
Primes common to all three: and .
- : smallest exponent is
- : smallest exponent is
Least Common Multiple (LCM)
The least common multiple of two or more numbers is the smallest positive number that is a multiple of all of them.
Method 1: Listing Multiples
- List multiples of each number
- Find the smallest value that appears in every list
Example 4: LCM by Listing β LCM of 4 and 6
Multiples of 4:
Multiples of 6:
Common multiples:
Least common multiple:
Method 2: Prime Factorization
- Write the prime factorization of each number
- For each prime that appears in any factorization, take the larger (or largest) exponent
- Multiply these together
Example 5: LCM by Prime Factorization β LCM of 12 and 18
Prime factorizations:
Take the larger exponent for each prime:
- : larger exponent is (from )
- : larger exponent is (from )
Example 6: LCM of Three Numbers
Find the LCM of 8, 12, and 15.
Take the largest exponent for each prime:
- : largest is (from )
- : largest is (from or )
- : largest is (from )
GCF vs LCM: When to Use Which
Choosing between GCF and LCM depends on the type of problem.
| Situation | Use | Why |
|---|---|---|
| Splitting into equal groups | GCF | You need the largest group size that works for all quantities |
| Simplifying a fraction | GCF | Divide numerator and denominator by their GCF |
| Finding a common denominator | LCM | The LCD is the LCM of the denominators |
| Scheduling events that repeat | LCM | You need the first time all cycles align |
| Cutting materials to equal size | GCF | Largest piece size that divides all lengths evenly |
The GCF-LCM Relationship
For any two positive integers and :
This means if you know one, you can find the other:
Example 7: Using the Relationship
Find the LCM of and using their GCF.
(both share ).
Word Problems
Example 8: GCF Word Problem
A florist has roses and carnations. She wants to make identical bouquets using all the flowers, with no flowers left over. What is the greatest number of bouquets she can make?
The number of bouquets must divide evenly into both and , so we need the GCF.
She can make 12 bouquets, each with roses and carnations.
Example 9: LCM Word Problem
Two buses depart from the same station. Bus A departs every minutes and Bus B departs every minutes. If both leave at 8:00 AM, when will they next depart at the same time?
We need the LCM of and β the first time both schedules align.
They will next depart together in 60 minutes, at 9:00 AM.
Real-World Application: Carpentry β Tile Layout
A carpenter is tiling a floor that measures inches by inches with square tiles. What is the largest square tile that fits perfectly with no cutting?
The tile side length must divide evenly into both and :
The largest square tile is inches by inches. The floor will need tiles.
Real-World Application: Retail β Reorder Scheduling
A store reorders paper towels every days and cleaning spray every days. The manager wants to schedule deliveries so that both products arrive on the same day whenever possible. How often do the orders coincide?
Both orders will arrive on the same day every 24 days. The manager can arrange a single combined delivery on those days to reduce shipping costs.
Common Mistakes to Avoid
- Mixing up GCF and LCM. GCF is always smaller than or equal to the smaller number. LCM is always larger than or equal to the larger number. If your GCF is bigger than one of the inputs, you computed the LCM by mistake (or vice versa).
- Taking the wrong exponent. For GCF, take the smaller exponent of shared primes. For LCM, take the larger exponent of all primes. Swapping these is the most common error.
- Forgetting unshared primes in LCM. When computing LCM, include every prime that appears in any factorization β not just the shared ones.
- Not fully factoring. If you write and stop, you have not reached prime factors (). Always break down to primes.
- Using GCF when the problem calls for LCM. βWhen will two events coincide?β is an LCM problem. βWhat is the largest group size?β is a GCF problem.
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Find the GCF of and .
, .
Shared prime: , smaller exponent is .
Answer:
Problem 2: Find the LCM of and .
, .
Largest exponents: and .
Answer:
Problem 3: Simplify using the GCF.
, .
.
Answer:
Problem 4: Find the LCM of , , and .
, , .
Largest exponents: , , .
Answer:
Problem 5: A gardener has red tulips and yellow tulips. She wants to make identical bunches with no flowers left over. What is the maximum number of bunches?
:
, .
Shared primes: .
Answer: She can make 18 bunches (each with red and yellow tulips).
Problem 6: Light A flashes every seconds, Light B every seconds, and Light C every seconds. All three flash at the same moment. How many seconds until they all flash together again?
:
, , .
Largest exponents: , , .
Answer: They all flash together again in 120 seconds (2 minutes).
Key Takeaways
- The GCF is the largest number that divides evenly into all given numbers β use the smaller exponent of shared primes
- The LCM is the smallest number that is a multiple of all given numbers β use the larger exponent of all primes
- Listing method works well for small numbers; prime factorization is more efficient for larger numbers
- Use GCF for splitting into equal groups, simplifying fractions, and finding the largest equal piece size
- Use LCM for finding common denominators, scheduling repeating events, and synchronizing cycles
- The relationship connects the two concepts and provides a shortcut
Return to Pre-Algebra for more topics in this section.
Next Up in Pre Algebra
Last updated: March 29, 2026