Skip to main content
Online

Prime factorization practice

Write whole numbers as products of primes. Work through one problem at a time and get a new one on every click, or print a worksheet with an answer key.

Easy: Primes 2, 3, 5. Medium: Primes up to 11. Hard: Primes up to 19, larger numbers.

Loading your first problem…

How to solve prime factorization problems

  1. Divide by the smallest prime that goes in exactly: 2, then 3, 5, 7, 11 and so on.
  2. Keep dividing the quotient until you reach 1.
  3. Write the primes as a product, using powers for repeated factors.

Worked example

Write 360 as a product of primes.

  1. 360 ÷ 2 = 180, 180 ÷ 2 = 90, 90 ÷ 2 = 45.
  2. 45 ÷ 3 = 15, 15 ÷ 3 = 5.
  3. 5 ÷ 5 = 1.

Answer: 360 = 2³ × 3² × 5

Common mistakes

  • Stopping at a composite factor such as 9 or 15.
  • Including 1 as a prime factor.

How to use this page

  • Students: work each problem on paper, type your answer and press Check. Use Hint if you are stuck and open the worked solution only after you have tried. Three right answers in a row move you up a level.
  • Teachers: use Copy link to this problem to share a single question, or switch to Printable worksheet, press New worksheet until you like the set, and share its link. Everyone who opens it gets the same problems.
  • The full method for this topic is explained in the prime factorization solver, which also solves your own problems step by step.
  • More topics: all practice topics, or mix every topic in one session on the practice page.