Skip to content

Paper Together: sit a paper in a room with your friends.See how it works

Prime factors, HCF & LCM – GCSE Maths

Foundation and Higher · Grade 4 · Non-calculator

Jump to the questions and answers · Download the worksheet (PDF)

Break numbers into prime factors, then use them to find the highest common factor and lowest common multiple. It is on Foundation and Higher, aimed at grade 4. Free questions with answers are on this page. Worked examples show each line before you try the questions.

A prime-factor tree (or repeated division) writes a number as a product of primes: . That unique fingerprint is how you find HCF and LCM of larger numbers without listing twenty factors. HCF: take each prime that appears in both, to the lowest power. LCM: take each prime that appears in either, to the highest power.

A Venn diagram of the primes makes the 'both / only A / only B' split visible. Product of HCF and LCM equals the product of the two numbers — a useful check. Worded HCF ('largest tiles that fit') and LCM ('first time they coincide') are this algebra in a sentence.

A factor tree (or repeated division) writes a number as a product of primes. HCF takes the primes in both lists, using the lowest power. LCM takes every prime that appears, using the highest power. Bus and alarm questions are LCMs; 'largest pack that divides both' is HCF.

Objectives

Key points

Worked examples

Example 1

What is the highest common factor of 8 and 20?

3 marks

  1. 8 = 2³ and 20 = 2² × 5.
  2. Take the lower power of each shared prime: 2² = 4.
  3. The highest common factor is 4.

Answer: 4

Common slips
  • Slip: Write 8 and 20 as products of primes, and use every prime from both lists. The HCF only uses primes that appear in both numbers.
  • Slip: Take the higher power of every prime: 2³ × 5 = 40. The HCF takes the lower power of each shared prime, not the higher power of every prime.
  • Slip: The highest common factor is 40. That is the lowest common multiple, not the highest common factor.

Example 2

What is the lowest common multiple of 8 and 20?

3 marks

  1. 8 = 2³ and 20 = 2² × 5.
  2. Take the higher power of every prime: 2³ × 5 = 40.
  3. The lowest common multiple is 40.

Answer: 40

Common slips
  • Slip: Write 8 and 20 as products of primes, and use only the shared primes. The LCM needs every prime from either number.
  • Slip: Take the lower power of each shared prime: 2² = 4. The LCM takes the higher power of every prime, not the lower power of the shared ones.
  • Slip: The lowest common multiple is 4. That is the highest common factor. The LCM is a multiple of both numbers, so it cannot be smaller than them.

Example 3

What is the highest common factor of 12 and 18?

3 marks

  1. 12 = 2² × 3 and 18 = 2 × 3².
  2. Take the lower power of each shared prime: 2 × 3 = 6.
  3. The highest common factor is 6.

Answer: 6

Common slips
  • Slip: Write 12 and 18 as products of primes, and use every prime from both lists. The HCF only uses primes that appear in both numbers.
  • Slip: Take the higher power of every prime: 2² × 3² = 36. The HCF takes the lower power of each shared prime, not the higher power of every prime.
  • Slip: The highest common factor is 36. That is the lowest common multiple, not the highest common factor.

Questions and answers

GCSE Maths prime factors, hcf & lcm questions and answers. Try each one, then open the answer. Easy questions come first.

Question 1 Easy2 marks

Find the highest common factor of 12 and 18.

Show answer

Answer: 6

  1. List the factors, or use prime factors.
  2. The highest one in both lists is the HCF.
  • M1 — List the factors, or use prime factors.
  • A1 — Answer 6

Question 2 Easy2 marks

Find the lowest common multiple of 6 and 8.

Show answer

Answer: 24

  1. The LCM is the smallest number both divide into.
  2. The value is 24.
  • M1 — The LCM is the smallest number both divide into.
  • A1 — Answer 24

Question 3 Medium2 marks

Bus A runs every 6 minutes and bus B every 8 minutes. They leave together. After how many minutes are they together again?

Show answer

Answer: 24

  1. This is the LCM of the two intervals.
  2. The value is 24.
  • M1 — This is the LCM of the two intervals.
  • A1 — Answer 24

Question 4 Medium2 marks

Two ropes are 24 cm and 36 cm. They are cut into equal pieces as long as possible, with none left over. How long is each piece?

Show answer

Answer: 12

  1. The piece length is the HCF.
  2. The value is 12.
  • M1 — The piece length is the HCF.
  • A1 — Answer 12

Question 5 Hard2 marks

Two whole numbers are in the ratio 2:3 and their highest common factor is 4. What is the larger number?

Show answer

Answer: 12

  1. The HCF is one part of the ratio.
  2. The larger number is 3 parts.
  • M1 — The HCF is one part of the ratio.
  • A1 — Answer 12

Question 6 Hard2 marks

A bell rings every 4 minutes and another every 6 minutes. How many times do they ring together in 60 minutes, not counting the start?

Show answer

Answer: 5

  1. They ring together every 12 minutes.
  2. 60 ÷ 12 is the number of times after the start.
  • M1 — They ring together every 12 minutes.
  • A1 — Answer 5

Question 7 Exam-style3 marks

Two whole numbers are in the ratio 2:3 and their highest common factor is 5. What is the larger number?

Show answer

Answer: 15

  1. The HCF is one part of the ratio.
  2. The larger number is 3 parts.
  • M1 — The HCF is one part of the ratio.
  • M1 — The larger number is 3 parts.
  • A1 — Answer 15

Common mistakes

Most lost marks on this topic are one slip.

  1. Including 1 as a prime.

    1 is not prime.

  2. Using the higher power in the HCF.

    The HCF takes the lower shared power.

  3. Multiplying the two numbers and calling that the LCM.

    That product is a common multiple, but not always the lowest.

Spot the slip

Which of these is prime?

  1. 2
  2. 1
  3. 9
Show the slip

2 2 has exactly two factors, 1 and itself.

Exam tips

Printable worksheet

The same questions are in a PDF you can print. Answers start on a later page.

Download worksheet (PDF)

Or use Print in your browser. Answers under each question are included when you print.

Questions students ask

Is Prime factors, HCF & LCM Foundation or Higher?

Prime factors, HCF & LCM is on Foundation and Higher, aimed at grade 4.

What is a common slip on Prime factors, HCF & LCM?

Including 1 as a prime. 1 is not prime.

Where can I get Prime factors, HCF & LCM questions and answers?

The questions on this page are free. Open Show answer under each one, or download the worksheet PDF. Start free to practise this topic in the app.

Related topics

More on Prime factors, HCF & LCM

Practise Prime factors, HCF & LCM free

Start free

AQA-style and Edexcel-style questions. Yumio is not affiliated with, endorsed by or connected to AQA, Pearson Edexcel or any other exam board.

Last updated 9 November 2026.

Next topicPractise free