HCF Using Prime Factors
Introduction
Welcome back to Finding the Highest Common Factor! You are now on Lesson 3 of 4 in this course, which means you have already built a solid foundation. In the first two lessons, we identified common factors by listing and comparing factor lists, then selected the greatest one to find the HCF. That approach is reliable, but it can get slow when numbers grow larger.
In this lesson, we will learn a more efficient route: finding the HCF directly from the prime factorizations of the numbers involved. If you completed the earlier course on breaking numbers into primes, those skills are about to pay off in a big way.
From Factor Lists to Prime Factors
Listing every factor of a number works well for small values like or . But imagine finding all the factors of or — the lists get long, and mistakes become easy to make.
Prime factorization gives us a shortcut because it breaks each number down to its basic building blocks. As you may recall from a previous course, every whole number greater than has a unique prime factorization. Comparing those building blocks tells us exactly what two numbers have in common, without writing out every single factor. The core idea is simple: if a prime appears in both factorizations, it contributes to the HCF; if it appears in only one, it does not.
The Method: Shared Primes at Their Lowest Powers
Here is the step-by-step process for finding the HCF using prime factorization:
- Find the prime factorization of each number.
- Identify the primes that appear in every factorization (the shared primes).
- For each shared prime, take the lowest power that appears across the factorizations.
- Multiply these together to get the HCF.
If no prime is shared at all, the HCF is simply . As we saw in the previous lesson, that just means the numbers are coprime.

Worked Example: HCF of 36 and 48
Let's see the method in action. First, we write the prime factorizations:
Now we compare prime by prime:
| Prime | Power in | Power in | Lowest power |
|---|---|---|---|
Both factorizations contain and , so both primes are shared. We take at its lowest power () and at its lowest power (), then multiply:
You can verify this with factor lists if you like: the factors common to and are , and the greatest is indeed .

