Skip to main content

High School Math

Prime Factors, GCF and LCM worksheet with answers

Write numbers as products of prime factors, then find the GCF and LCM, ending with a timetable problem.

Grades 8–10 · About 20 minutes · 8 questions · Answer key included

Prime factorization is the reliable way to find a greatest common factor or least common multiple when the numbers are too large to spot the answer. This worksheet practices the method, then applies it to a typical worded problem.

What this worksheet covers

  • Write a number as a product of its prime factors
  • Find the greatest common factor (GCF) of two numbers
  • Find the least common multiple (LCM) of two numbers

Worked example

Prime Factors, GCF and LCM: practice questions

  1. 1.Write 36 as a product of its prime factors
  2. 2.Write 60 as a product of its prime factors
  3. 3.Write 84 as a product of its prime factors
  4. 4.Find the greatest common factor (GCF) of 18 and 24
  5. 5.Find the least common multiple (LCM) of 6 and 8
  6. 6.Find the GCF of 36 and 60
  7. 7.Find the LCM of 12 and 18
  8. 8.Bus A leaves the station every 12 minutes and bus B leaves every 15 minutes. Both leave at 9:00 am. At what time do they next leave together?

Answers are in the free PDF, on a separate page so the worksheet can be handed out without them. Get the PDF with answers.

Tutor tip

The GCF uses only the primes the numbers share. The LCM uses every prime, taking the highest power of each.

Written and checked by YFCampus tutors. Last reviewed 2026-11-24. Written for students aged 13 to 16 and suitable for Grades 8–10. Check your school’s curriculum for the exact order of topics. YFCampus is independent and is not affiliated with any exam board or education ministry.

Common questions

Quick answers about this Math topic.

What is the difference between GCF and LCM?

The GCF is the largest number that divides into both numbers. The LCM is the smallest number that both numbers divide into.

Is 1 a prime number?

No. A prime number has exactly two factors, 1 and itself. The number 1 has only one factor.

Stuck on a question?

Work through this worksheet live with a Math tutor. Book a free trial class.