Prime factors, HCF and LCM

▶ Watch the 1-minute version first, then work through the lesson.

Every whole number is built from prime numbers, like a word is built from letters. Once you can see the primes inside a number, HCF and LCM questions become quick.

Practise this lesson free (7 questions)

More tools

What is a prime?

A prime number has exactly two factors: 1 and itself.
The first few primes are 2, 3, 5, 7, 11, 13, 17, 19.
1 is not prime, because it only has one factor.

Break a number into primes

Split the number into any two factors. Keep splitting until every branch ends in a prime. Circle the primes.
Then write them as a product, using powers for repeats.
60 = 2 × 2 × 3 × 5 = 22 × 3 × 5
  • 60 = 6 × 10
    • 6 = 2 × 3
      • 2 (prime)
      • 3 (prime)
    • 10 = 2 × 5
      • 2 (prime)
      • 5 (prime)

HCF and LCM

HCF (highest common factor) is the biggest number that divides into both numbers.
LCM (lowest common multiple) is the smallest number that both numbers divide into.
Put the prime factors in a Venn diagram. Shared primes go in the middle.
HCF = multiply the primes in the middle.
LCM = multiply every prime in the diagram.
Worked example

Find the HCF and LCM of 60 and 84.

  1. 60 = 22 × 3 × 5 and 84 = 22 × 3 × 7
  2. Shared primes: 2, 2 and 3. These go in the middle.
  3. HCF = 2 × 2 × 3 = 12
  4. LCM = 5 × (2 × 2 × 3) × 7 = 420
  5. Quick check: 60 × 84 = 5040 and 12 × 420 = 5040. They match.

Answer: HCF = 12, LCM = 420

Key idea

Break both numbers into primes. HCF = product of the shared primes. LCM = product of all the primes in the Venn diagram.

Key words
Product
The result of multiplying.
Venn diagram
Overlapping circles inside a rectangle that show sets and how they overlap.
Prime number
A whole number with exactly two factors: 1 and itself. 1 is not prime.

All GCSE and International GCSE Mathematics key terms and definitions →

Common mistakes
Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. Which number in this list is prime?

    1. 27
    2. 1
    3. 39
    4. 29
    Show the answer

    Answer: 29

    29 has exactly two factors, 1 and 29, so it is prime.

  2. Find the HCF of 60 and 75.

    Show the answer

    Answer: 15

    60 = 22 × 3 × 5 and 75 = 3 × 52. Multiply the primes they share (lowest powers): HCF = 15.

Check you have got it

Answer 7 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.

Related lessons