Websink Prep UKKS2 MathsYear 5 chaptersMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
Primary Maths · Year 5Chapter 3 · Multiples, factors, primes, squares and cubes
Year 5 · Prime Numbers, Factors, Squares and Cubes · Lesson 3.5

Year 5: Prime factors and factor trees

Part of the Year 5 prime numbers, factors, squares and cubes chapter. Chapter overview · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
3.5

Prime factors and factor trees

Year 5
Prime factors, Writing a number as a product of prime factors, Factor trees (numbers up to 100)

The factors of 12 are 1, 2, 3, 4, 6 and 12. Two of them are prime: 2 and 3. They are the prime factors of 12. Every number bigger than 1 can be built by multiplying prime numbers. For example 12 = 2 × 2 × 3. This is called writing the number as a product of prime factors.

A factor tree helps you find them. Write the number at the top. Split it into any factor pair. Each branch that ends in a prime is finished (we circle it in gold). Any branch that is not prime is split again. Stop when every branch ends in a prime.

322412
A factor tree for 12. 12 = 3 × 4, then 4 = 2 × 2. The primes at the bottom are 3, 2 and 2, so 12 = 2 × 2 × 3.

Do different trees give different answers? No! You can start with any factor pair. These two trees start differently, but the primes at the bottom are the same: 2, 2, 3 and 3. Every number has only one set of prime factors.

22433936
23623636
Two trees for 36. Left: 36 = 4 × 9. Right: 36 = 6 × 6. Both end in 2, 2, 3, 3.

When you write the answer, put the primes in order, smallest first, with × between them: 36 = 2 × 2 × 3 × 3. For numbers up to 100 the only primes you will need are 2, 3, 5 and 7. You can check the answer by multiplying the primes back together.

A short way. Instead of 2 × 2 × 3 × 3 you can write 2² × 3². The little number says how many times the prime is used. You will meet this a lot in secondary school.

Key ideas

  • A prime factor is a factor that is a prime number.
  • A factor tree splits a number into factor pairs. Stop on primes. Circle every prime at the bottom.
  • You can start with any factor pair. The primes at the bottom are always the same.
  • Write the answer with the primes in order: 60 = 2 × 2 × 3 × 5.
  • Check by multiplying the primes together. You should get the number you started with.
Worked example 3.5.1
Write 12 as a product of prime factors. Use a factor tree.

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Split the number into factors with a factor tree. Keep going until every branch ends in a prime number. The primes at the ends are the prime factors.

  1. Split the number into a factor pair. Pick any factor pair you know from the times tables.
    12 = 3 × 4
    322412
  2. Keep splitting every number that is not prime. A number that is not prime can be split again. Stop on a prime: it cannot be split.
    4 = 2 × 2
  3. Circle the primes at the ends of the branches. These are the prime factors.
    3, 2, 2
  4. Write them in order, joined with ×. The smallest prime goes first.
    12 = 2 × 2 × 3

Check. Multiply the primes back together: 2 × 2 = 4, 4 × 3 = 12. ✓

Watch out. Every branch must end in a prime. 9 is not prime (3 × 3), and 1 is never used. You can start with any factor pair: the primes at the end are always the same.

Worked example 3.5.2
Write 30 as a product of prime factors.

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Split the number into factors with a factor tree. Keep going until every branch ends in a prime number. The primes at the ends are the prime factors.

  1. Split the number into a factor pair. Pick any factor pair you know from the times tables.
    30 = 2 × 15
    2351530
  2. Keep splitting every number that is not prime. A number that is not prime can be split again. Stop on a prime: it cannot be split.
    15 = 3 × 5
  3. Circle the primes at the ends of the branches. These are the prime factors.
    2, 3, 5
  4. Write them in order, joined with ×. The smallest prime goes first.
    30 = 2 × 3 × 5

Check. Multiply the primes back together: 2 × 3 = 6, 6 × 5 = 30. ✓

Watch out. Every branch must end in a prime. 9 is not prime (3 × 3), and 1 is never used. You can start with any factor pair: the primes at the end are always the same.

Worked example 3.5.3
Write 36 as a product of prime factors. Start the tree with 36 = 4 × 9.

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Split the number into factors with a factor tree. Keep going until every branch ends in a prime number. The primes at the ends are the prime factors.

  1. Split the number into a factor pair. Pick any factor pair you know from the times tables.
    36 = 4 × 9
  2. Keep splitting every number that is not prime. A number that is not prime can be split again. Stop on a prime: it cannot be split.
    4 = 2 × 2
    9 = 3 × 3
  3. Circle the primes at the ends of the branches. These are the prime factors.
    2, 2, 3, 3
  4. Write them in order, joined with ×. The smallest prime goes first.
    36 = 2 × 2 × 3 × 3

Check. Multiply the primes back together: 2 × 2 = 4, 4 × 3 = 12, 12 × 3 = 36. ✓

Watch out. Every branch must end in a prime. 9 is not prime (3 × 3), and 1 is never used. You can start with any factor pair: the primes at the end are always the same.

Worked example 3.5.4
Write 90 as a product of prime factors.

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Split the number into factors with a factor tree. Keep going until every branch ends in a prime number. The primes at the ends are the prime factors.

  1. Split the number into a factor pair. Pick any factor pair you know from the times tables.
    90 = 2 × 45
    2335154590
  2. Keep splitting every number that is not prime. A number that is not prime can be split again. Stop on a prime: it cannot be split.
    45 = 3 × 15
    15 = 3 × 5
  3. Circle the primes at the ends of the branches. These are the prime factors.
    2, 3, 3, 5
  4. Write them in order, joined with ×. The smallest prime goes first.
    90 = 2 × 3 × 3 × 5

Check. Multiply the primes back together: 2 × 3 = 6, 6 × 3 = 18, 18 × 5 = 90. ✓

Watch out. Every branch must end in a prime. 9 is not prime (3 × 3), and 1 is never used. You can start with any factor pair: the primes at the end are always the same.

Worked example 3.5.5
Write 48 as a product of prime factors. Start the tree with 48 = 6 × 8.

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Split the number into factors with a factor tree. Keep going until every branch ends in a prime number. The primes at the ends are the prime factors.

  1. Split the number into a factor pair. Pick any factor pair you know from the times tables.
    48 = 6 × 8
  2. Keep splitting every number that is not prime. A number that is not prime can be split again. Stop on a prime: it cannot be split.
    6 = 2 × 3
    8 = 2 × 4
    4 = 2 × 2
  3. Circle the primes at the ends of the branches. These are the prime factors.
    2, 3, 2, 2, 2
  4. Write them in order, joined with ×. The smallest prime goes first.
    48 = 2 × 2 × 2 × 2 × 3

Check. Multiply the primes back together: 2 × 2 = 4, 4 × 2 = 8, 8 × 2 = 16, 16 × 3 = 48. ✓

Watch out. Every branch must end in a prime. 9 is not prime (3 × 3), and 1 is never used. You can start with any factor pair: the primes at the end are always the same.

Worked example 3.5.6
Write 84 as a product of prime factors. Start the tree with 84 = 7 × 12.

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Split the number into factors with a factor tree. Keep going until every branch ends in a prime number. The primes at the ends are the prime factors.

  1. Split the number into a factor pair. Pick any factor pair you know from the times tables.
    84 = 7 × 12
  2. Keep splitting every number that is not prime. A number that is not prime can be split again. Stop on a prime: it cannot be split.
    12 = 2 × 6
    6 = 2 × 3
  3. Circle the primes at the ends of the branches. These are the prime factors.
    7, 2, 2, 3
  4. Write them in order, joined with ×. The smallest prime goes first.
    84 = 2 × 2 × 3 × 7

Check. Multiply the primes back together: 2 × 2 = 4, 4 × 3 = 12, 12 × 7 = 84. ✓

Watch out. Every branch must end in a prime. 9 is not prime (3 × 3), and 1 is never used. You can start with any factor pair: the primes at the end are always the same.

Worked example 3.5.7
Find the missing numbers in the factor tree for 60.
2??2?1060

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. In a factor tree, the two numbers on the branches multiply to make the number above them. Use this to find each missing number: multiply the two numbers below, or divide the number above.

  1. Look at what each branch shows. Each number is split into a factor pair.
    Number above = number on the left × number on the right
  2. Find the missing numbers. Use multiplying or dividing, whichever you can do.
    The top number 60 is split into ? × 10. So ? = 60 ÷ 10 = 6.
    The top number 6 is split into ? × 2. So ? = 6 ÷ 2 = 3.
    The top number 10 is split into ? × 2. So ? = 10 ÷ 2 = 5.
  3. Write the missing numbers. List them in the order of the boxes (top to bottom, left to right).
    6, 3, 5

Check. Multiply the circled primes at the bottom: 2 × 2 × 3 × 5 = 60. ✓

Watch out. Every number at the end of a branch must be prime.

Worked example 3.5.8
A number is 2 × 2 × 5 × 5. What is the number?

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Multiply the prime factors together, two at a time, from left to right.

  1. Write the product. These are the prime factors of the number.
    2 × 2 × 5 × 5
  2. Multiply two at a time. Use the answer to each step in the next step.
    2 × 2 = 4
    4 × 5 = 20
    20 × 5 = 100
  3. Write the number.
    2 × 2 × 5 × 5 = 100

Check. Go backwards and divide 100 by each prime in turn: 100 ÷ 2 = 50, 50 ÷ 2 = 25, 25 ÷ 5 = 5, 5 ÷ 5 = 1. We reach 1. ✓

Watch out. Multiply the numbers. Do not add them.

Worked example 3.5.9
What are the prime factors of 72? Write each different prime once.

Key words. A prime factor is a factor that is a prime number. A factor tree splits a number into smaller and smaller factors until every branch ends in a prime. Writing a number as a product of its prime factors is called prime factorisation.

Method. Split the number into factors with a factor tree. Keep going until every branch ends in a prime number. The primes at the ends are the prime factors.

  1. Split the number into a factor pair. Pick any factor pair you know from the times tables.
    72 = 2 × 36
  2. Keep splitting every number that is not prime. A number that is not prime can be split again. Stop on a prime: it cannot be split.
    36 = 2 × 18
    18 = 2 × 9
    9 = 3 × 3
  3. Circle the primes at the ends of the branches. These are the prime factors.
    2, 2, 2, 3, 3
  4. List each different prime once. The question asks for the prime factors, not the whole product.
    72 = 2 × 2 × 2 × 3 × 3, so the prime factors are 2 and 3

Check. Multiply the primes back together: 2 × 2 = 4, 4 × 2 = 8, 8 × 3 = 24, 24 × 3 = 72. ✓

Watch out. Every branch must end in a prime. 9 is not prime (3 × 3), and 1 is never used. You can start with any factor pair: the primes at the end are always the same.

Watch out

Check that every number at the end of a branch is prime. 4, 6, 8, 9 and 10 are not prime, so they must be split again. Never use 1 in a factor tree (1 × 12 does not help). And do not leave out repeats: 12 = 2 × 2 × 3, not 2 × 3.

Exercise 3F  Prime factors and factor trees

Non-calculator
1
FWrite the missing numbers in each factor tree.
(a)
22?520
(b)
32??18
(c)
53??45
2
FUse a factor tree to write each number as a product of two prime numbers.
(a)14
(b)21
(c)35
(d)15
3
FWrite each number as a product of prime factors. Draw a factor tree to help.
(a)24
(b)40
(c)45
(d)50
4
FWrite each number as a product of prime factors.
(a)60
(b)63
(c)72
(d)80
5
FWrite each number as a product of prime factors. Take care: there are more than three primes in each.
(a)90
(b)96
(c)98
6
FEach number is written as a product of prime factors. Work out the number.
(a)2 × 2 × 3
(b)2 × 3 × 5
(c)3 × 3 × 5
(d)2 × 2 × 2 × 7
7
FWhat are the prime factors of each number? Write each different prime once.
(a)36
(b)100
(c)75
(d)84
8
PSSam and Mia each draw a factor tree for 48. Sam starts with 6 × 8. Mia starts with 4 × 12.
2362224848
22422361248
(a)Write the prime factors from Sam's tree as a product.
(b)Write the prime factors from Mia's tree as a product.
(c)What do you notice?
9
PSA number is 2 × 2 × 3 × 3. Is each of these a factor of the number?   Write Yes or No.
(a)12
(b)8
(c)18
(d)10
10
RNoah writes, “36 = 4 × 9, so the prime factors of 36 are 4 and 9.” Is Noah right? Explain.
11
RWhich number does not have 3 as a prime factor?   18    27    45    50
12
RAlways, sometimes or never?
(a)If a number is even, then 2 is one of its prime factors.
(b)If 3 is a prime factor of a number, then the number is odd.
13
RChallenge!   I am an odd number less than 100. I am made by multiplying exactly four prime numbers (they can be the same). What number am I?

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings