GCSE · Maths · OCR · Spec J560

Highest Common Factor (HCF) and Lowest Common Multiple (LCM)

List the multiples of 84 and 90 until they meet and you will be writing a while. One Venn diagram of their prime factors shows both answers.

Maths · Number

Where do the prime factors go?

HCF means highest common factor and LCM means lowest common multiple. Here are two numbers written as products of prime factors: 24 = 2 × 2 × 2 × 3 and 40 = 2 × 2 × 2 × 5. Place each prime factor in the diagram: tick both A and B if both numbers contain it, then check.

  • A 24
  • B 40
  1. 2
  2. 2
  3. 2
  4. 3
  5. 5

The listing method

Problem

Find the HCF of 24 and 60, then the LCM of 15 and 18, by listing.

Index form

Lowest powers for the HCF

60 = 2² × 3 × 5 and 102 = 2 × 3 × 17. Find the HCF and the LCM of 60 and 102 using their prime factors in index form.

  1. Step 1: Upper limit for the HCF
  2. Step 2: HCF
  3. Step 3: What is left of the first number
  4. Step 4: What is left of the second number
  5. Step 5: LCM
  6. Final question: On your own
What you are given
QuantityValue
First number60
Second number102
Power of 2 in the first number2
Power of 3 in the first number1
Power of 2 in the second number1
Power of 3 in the second number1
  1. Step 1 of 5: Upper limit for the HCF

    A factor can't be bigger than the number it divides into. So what is the biggest the HCF of these two numbers could possibly be?

    Give your answer to 0 decimal places.

  2. Step 2 of 5: HCFOpens when the step before it is right.
  3. Step 3 of 5: What is left of the first numberOpens when the step before it is right.
  4. Step 4 of 5: What is left of the second numberOpens when the step before it is right.
  5. Step 5 of 5: LCMOpens when the step before it is right.

Three numbers

Add a third circle

Three numbers now: 10 = 2 × 5, 12 = 2 × 2 × 3 and 28 = 2 × 2 × 7. Line the 2s up in order: the 1st 2 is the first 2 in each number and the 2nd 2 is the second 2 in each number. Tick every circle whose number contains each prime factor, then check.

  • A 10
  • B 12
  • C 28
  1. 1st 2
  2. 2nd 2
  3. 5
  4. 3
  5. 7

Which one?

HCF or LCM?

Each problem needs either the HCF or the LCM. Pick a problem, then pick the category it belongs in.

Still to sort

Needs the HCF (0)

The answer is a number that goes into every number given.

Where the line is: Largest equal teams or longest equal strips, with no waste, point to the HCF.

Needs the LCM (0)

The answer is a number that every number given goes into.

Where the line is: The smallest number that works, with nothing left over, points to the LCM.

6 of 6 still to sort.

Backwards

Find the hidden number

The LCM of x and 105 is 420 and the HCF of x and 105 is 15. Find x using a Venn diagram of prime factors.

  1. Write the known number as a product of prime factors: 105 = 3 × 5 × 7.
  2. The HCF is 15 = 3 × 5, and the HCF is the product of the overlap, so 3 and 5 go in the overlap.
  3. missing step
Which line is step 3?

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

One Venn diagram of prime factors gives you both answers.

What you need to know

  • HCF stands for highest common factor: the highest number that is a factor of every number you are given.
  • LCM stands for lowest common multiple: the lowest number that is a multiple of every number you are given.
  • For small numbers, list the factors (or multiples) and pick the highest (or lowest) number that is in every list.
  • Have a goSam says the HCF of 12 and 18 is 36, 'because both numbers go into it'. Sam has found something real, but it isn't the HCF. What is 36 called, and what is the HCF?

    36 is the LCM, the lowest number both go into. The HCF is 6.

    The HCF is the highest number that goes into both numbers. The factors in both lists are 1, 2, 3 and 6, and the highest is 6.

  • Listing gets slow for bigger numbers. Writing each number as a product of its prime factors is quicker.
  • Put the prime factors in a Venn diagram: shared primes go in the overlap, the rest go in their own number's region.
  • Multiply the overlap to get the HCF. Multiply every prime factor in the whole diagram to get the LCM.
  • Have a goA diagram of prime factors has 2 and 3 in the overlap, a 5 only in the left circle and a 7 only in the right circle. What are the HCF and the LCM?

    HCF = 2 × 3 = 6. LCM = 2 × 3 × 5 × 7 = 210.

    The overlap multiplies to the HCF. The LCM needs every prime factor in the diagram, overlap included.

  • In index form, the HCF takes each common prime with the lowest power that is common.
  • The HCF can never be bigger than any of the numbers, because a factor can't be bigger than its number.
  • Have a goA pupil says the HCF of 20 and 30 is 60. Without finding any prime factors, how can you tell that is wrong?

    60 is bigger than both 20 and 30, and an HCF can't be bigger than either number.

    A factor of a number can't be bigger than the number itself. (60 is the lowest number that both 20 and 30 go into, so it is the LCM.)

  • Largest equal teams or longest equal strips with no waste: HCF. Smallest number with nothing left over: LCM.
  • The same diagram works for three numbers, and run backwards it finds a missing number from a given HCF and LCM.

The big picture

The HCF is the highest number that is a factor of every number you are given, and the LCM is the lowest number that is a multiple of every number. Listing works for small numbers. For bigger ones, put the prime factors in a Venn diagram: the overlap multiplies to the HCF and everything in the diagram multiplies to the LCM.

Key points

1The HCF is the highest number that is a factor of every number, and the LCM is the lowest number that is a multiple of every number.
2In a Venn diagram of prime factors, the overlap multiplies to the HCF and everything in the diagram multiplies to the LCM.
3A number's own region multiplied by the overlap gives that number back, so the diagram checks itself.
4In index form, the HCF takes the lowest common power of each shared prime. The LCM is the common part multiplied by what is left of each number.
5The HCF can never be bigger than any of the numbers.
6Largest equal teams or longest equal strips with no waste means the HCF. The smallest number with nothing left over means the LCM.
7Given the HCF and LCM, work backwards: the HCF fills the overlap, complete the known number, divide the LCM by the product so far, then multiply the unknown's own region by the overlap.

Worked example

Problem

Find the HCF and the LCM of 84 and 90.

⚠ Watch out

Taking the highest power of a shared prime for the HCF. For 18 = 2 × 3² and 24 = 2³ × 3 that gives 2³ × 3² = 72, which is bigger than both numbers. The HCF needs the lowest common powers: 2 × 3 = 6.

🧠

Memory hook

Middle for the HCF, the whole picture for the LCM. The HCF goes into the numbers; the numbers go into the LCM.

✓

Check yourself

Explain how a Venn diagram of prime factors gives the HCF and LCM. Then try 28 = 2 × 2 × 7 and 42 = 2 × 3 × 7 (answers: 14, 84).

Flashcards

(13)
What do HCF and LCM stand for?
HCF is highest common factor. LCM is lowest common multiple.
How do you find an HCF by listing?
List the factors of each number (factor pairs help) and pick the highest number that is in every list.
How do you find an LCM by listing?
List the multiples of each number and pick the lowest number that is in every list.
Which prime factors go in the overlap of a Venn diagram?
The ones the numbers share. Every other prime factor goes only in its own number's region.
How do you read the HCF from the diagram?
Multiply the prime factors in the overlap.
How do you read the LCM from the diagram?
Multiply every prime factor in the whole diagram, overlap included.
How do you get one of the numbers back from the diagram?
Multiply the factors in its own region together with the factors in the overlap.
Working from index form, which power of a common prime goes into the HCF?
The lowest power that is common to the numbers.
What must a common multiple contain?
Every prime factor of each number. The LCM is the common part multiplied by the remaining factors of each number.
A problem wants the largest equal teams, or the longest equal strips, with no waste. HCF or LCM?
HCF. A problem that wants the smallest number so that nothing is left over needs the LCM.
What is the quick size check for an HCF?
It can't be bigger than any of the numbers, because a factor can't be bigger than the number itself.
You know the HCF and the LCM of x and a known number. How do you find x?
Put the HCF's prime factors in the overlap and complete the known number. Divide the LCM by the product so far to get x's remaining prime factors. Then x is those factors multiplied by the overlap.
How does the Venn diagram change for three numbers?
It gets three circles. Put each prime factor in every circle whose number contains it. The LCM is still the product of everything in the diagram.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More OCR GCSE Maths topics

See the full OCR Maths curriculum →

How this lesson was checked. This OCR GCSE Maths (specification J560)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 13 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.

Helpful guides for parents and students