Greatest Common Factor and Least Common Multiple (GCF and LCM)
How to find the GCF and LCM by listing and by prime factors, a Venn diagram way to see both at once, and where each one turns up: simplifying fractions and finding common denominators.
Two numbers usually share some factors and some multiples. The GCF is the biggest factor they share. The LCM is the smallest multiple they share. One looks down into the numbers; the other looks up from them.
By listing
For small numbers, listing works well. Take and .
The largest shared factor is , so .
The first shared multiple is , so .
By prime factors
Write both numbers as prime factorisations.
Picture a Venn diagram of prime factors. has and has . The overlap holds : multiply those for the GCF. Everything in the diagram, , multiplies to the LCM.
A neat check
For and : .
This works because the GCF and LCM between them use every prime factor of and exactly once.
Where they are used
The GCF simplifies. Dividing the top and bottom of by their GCF, , gives in one step. In algebra, factoring out the GCF is the first move in factorising an expression.
The LCM combines. To add you need a common denominator, and the LCM, , is the smallest one.
Buses leave a station every minutes and trains every minutes. Both leave at 9:00. When do they next leave together?
- 1
They coincide at shared multiples of and .
Do not mix them up. If the answer is smaller than both numbers, it is a factor (GCF). If it is bigger than both, it is a multiple (LCM).
Common questions
- Are GCF, HCF and GCD the same thing?
Yes. Greatest common factor, highest common factor and greatest common divisor are three names for the same number.
- What is the GCF of two primes?
If the primes are different, their only shared factor is , so the GCF is and the LCM is their product.
The GCF & LCM lesson has worked examples and unlimited practice that adapts to you.