GCF and LCM
You should be comfortable with:
The Greatest Common Factor (GCF) is the largest number that divides evenly into two or more numbers. The Least Common Multiple (LCM) is the smallest number that is a multiple of two or more numbers. You use the GCF to simplify fractions and the LCM to find common denominators — two of the most frequent tasks in arithmetic.
Greatest Common Factor (GCF)
The GCF is also called the Greatest Common Divisor (GCD) or Highest Common Factor (HCF).
Method 1: List the Factors
List all factors of each number, then find the largest one they share.
Example 1: Find the GCF of 18 and 24
- Factors of 18: 1, 2, 3, 6, 9, 18
- Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24
- Common factors: 1, 2, 3, 6
GCF = 6
Method 2: Prime Factorization
Find the prime factorization of each number. The GCF is the product of the shared prime factors, each taken to the lowest power it appears.
Example 2: Find the GCF of 36 and 60
Shared primes: 2 and 3.
- : lowest power is
- : lowest power is
Example 3: Find the GCF of 45, 60, and 75
Shared primes: 3 and 5.
- : lowest power is
- : lowest power is
Least Common Multiple (LCM)
Method 1: List the Multiples
List multiples of each number until you find the first one they share.
Example 4: Find the LCM of 4 and 6
- Multiples of 4: 4, 8, 12, 16, 20, 24…
- Multiples of 6: 6, 12, 18, 24…
LCM = 12
Method 2: Prime Factorization
Find the prime factorization of each number. The LCM is the product of all prime factors, each taken to the highest power it appears.
Example 5: Find the LCM of 12 and 18
All primes: 2 and 3.
- : highest power is
- : highest power is
Example 6: Find the LCM of 8, 12, and 15
All primes: 2, 3, 5.
- : highest power is
- : highest power is
- : highest power is
GCF and LCM Relationship
For any two numbers and :
Example 7: Verify with 12 and 18
and
This formula is a quick way to find the LCM if you already know the GCF:
When to Use GCF vs. LCM
| Task | Use |
|---|---|
| Simplifying fractions | GCF — divide both parts by the GCF |
| Finding common denominators | LCM — the LCD is the LCM of the denominators |
| Splitting items into equal groups | GCF — the GCF tells you the largest group size |
| Finding when events coincide | LCM — when cycles sync up |
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Find the GCF of 28 and 42
Shared primes: 2 (lowest: ) and 7 (lowest: )
GCF =
Problem 2: Find the LCM of 6 and 10
LCM =
LCM = 30
Problem 3: Find the GCF of 54 and 81
Shared prime: 3 (lowest: )
GCF =
Problem 4: Find the LCM of 9, 12, and 15
, ,
LCM =
LCM = 180
Problem 5: Simplify using the GCF
Answer:
Key Takeaways
- GCF: largest factor shared by two or more numbers — use lowest powers of shared primes
- LCM: smallest multiple shared by two or more numbers — use highest powers of all primes
- GCF simplifies fractions; LCM finds common denominators
- The relationship:
- Both the listing method and prime factorization method work — use whichever is faster for the numbers
Return to Arithmetic for more foundational math topics.
Next Up in Arithmetic
Last updated: March 29, 2026