Prime Factors, HCF and LCM

These three topics are closely linked, and once you understand prime factorisation, HCF and LCM become much easier.

Prime factors

A factor is a number that divides exactly into another number. A prime number is a number greater than 1 that has exactly two factors: 1 and itself.

Some prime numbers to learn are:

2, 3, 5, 7, 11, 13, 17, 19, 23, 29Prime factorisation means writing a number as a multiplication of prime numbers only.

Worked example: Write 60 as a product of prime factors

The easiest GCSE method is a factor tree.

The prime numbers at the ends are 2, 2, 3 and 5.

Therefore:

60=2×2×3×5Using index notation:

60=22×3×5The 22 means there are two factors of 2.

Exam tip: You must stop splitting a branch when you reach a prime number. For example, 9 is not prime because 9=3×3.

HCF — Highest Common Factor

The HCF is the biggest number that divides exactly into two or more numbers.
For example, the HCF of 12 and 18 is 6, because 6 is the largest number that divides into both.

Worked example: Find the HCF of 24 and 36

Step 1: Write both numbers as products of prime factors.

24=23×3

36=22×32Step 2: Find the prime factors they have in common.

  • Both have factors of 2.
  • Both have factors of 3.

Step 3: Choose the lowest power of each common prime.

For 2, choose 22, because the lower power is 2.

For 3, choose 31, because 36has 32, but 24only has 31.

Step 4: Multiply them together.

HCF=22×3

=4×3

HCF=12

The HCF rule

Choose only the common prime factors, using the lowest powers.
Think: What is the biggest number that goes into both numbers?

LCM — Lowest Common Multiple

The LCM is the smallest positive number that is a multiple of two or more numbers.
For example, the multiples of 4 are 4, 8, 12, 16, 20, 24…
The multiples of 6 are 6, 12, 18, 24…
The first multiple they share is 12, so the LCM is 12.

Worked example: Find the LCM of 24 and 36

We already know:

24=23×3

36=22×32

Step 1: List all the prime numbers needed.

We need 2 and 3.

Step 2: Choose the highest power of each prime.

  • For 2, choose 23.
  • For 3, choose 32.

Step 3: Multiply them together.

LCM=23×32

=8×9=8×9

LCM=72

The LCM rule

Choose every prime factor needed, using the highest power of each.

Think: What is the smallest number that both original numbers divide into exactly?Learn more

HCF vs LCM: How to remember the difference

HCFLCM
Highest Common FactorLowest Common Multiple
Use common prime factors onlyUse all prime factors needed
Choose the lowest powersChoose the highest powers
Example: HCF of 24 and 36 = 12Example: LCM of 24 and 36 = 72

A simple memory trick:

  • HCF = Highest, Common, Fewest factors — use only what is shared.
  • LCM = Lowest, Common, Multiple — include enough factors to cover both numbers.

Worded questions: an important GCSE skill

Sometimes the exam won’t directly say “find the LCM” or “find the HCF”. You need to work out which method to use.

  • HCF example: You have 24 red sweets and 36 blue sweets. You want to make the greatest possible number of identical bags, with no sweets left over. How many bags can you make? Use the HCF: 12 bags.
  • LCM example: One bus arrives every 12 minutes and another every 20 minutes. They arrive together now. When will they next arrive together? Use the LCM: 60 minutes.

Final revision checklist

Before your exam, make sure you can:

  • Identify prime numbers.
  • Draw a factor tree.
  • Write prime factorisations using index notation.
  • Find the HCF by choosing the lowest powers of common primes.
  • Find the LCM by choosing the highest powers of all required primes.
  • Recognise whether a worded question needs HCF or LCM.

The most important thing to remember: find the prime factorisation of each number first. Once you have those, HCF and LCM questions become much more straightforward.

Prime Factors, HCF and LCM

1 / 10

Light A flashes every 8 seconds.
Light B flashes every 20 seconds.
Both lights flash at the same time.
Work out how long it will take for both lights to flash at the same time again.

seconds

2 / 10

What is the Lowest Common Multiple (LCM) of 12, 15 and 18?

3 / 10

What is 240 as a product of its prime factors?

4 / 10

What is 72 as a product of its prime factors?

5 / 10

What is the Highest Common Factor (HCF) of 84 and 120?

6 / 10

Kenny is thinking of two numbers greater than 10.
He says:
”The highest common factor (HCF) of my two numbers is 7
The lowest common multiple (LCM) of my two numbers is 84”
Write down the two numbers that Kenny is thinking of.
 

7 / 10

Two buses, bus A and bus B, both use the same bus stop.
Bus A runs every 10 minutes.
Bus B runs every 14 minutes.
Both buses are at the bus stop at 11 am.
What time will both buses next both be at the bus stop?

8 / 10

Light A flashes every 5 seconds.
Light B flashes every 6 seconds.
Light C flashes every 7 seconds.

All three lights flash at the same time.

Work out how long it will take for all three lights to flash at the same time again.

seconds

9 / 10

What is the Highest Common Factor (HCF) of 60 and 114?

10 / 10

648 = 23 × 34                  540 = 22 × 33 × 5

(a) Write down the highest common factor (HCF) of 648 and 540.

(b) Find the lowest common multiple (LCM) of 648 and 540.

Your score is

The average score is 0%