Factors & Multiples

Prime Factorization Explained (with Factor Trees)

Prime Factorization Explained (with Factor Trees) - featured image
Quick answerPrime factorization writes a whole number as a product of prime numbers. Repeatedly divide by the smallest prime that fits until you reach 1. For example, 360 = 2 × 2 × 2 × 3 × 3 × 5, which is 2³ × 3² × 5 in exponent form.

Skip the manual work: use the Prime Factorization to check any answer with full steps.

Facts about 360Facts about 3602³ × 3² × 5prime factorization24number of factors6prime factorscounted withrepeats1,170sum of all factors

What is a prime number?

A prime has exactly two factors: 1 and itself. The primes up to 100 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89 and 97. The number 1 is not prime.

Method: repeated division

Divide by the smallest prime that goes in, then repeat on the answer.

Prime factors of 360

  • 360 ÷ 2 = 180
  • 180 ÷ 2 = 90
  • 90 ÷ 2 = 45
  • 45 ÷ 3 = 15
  • 15 ÷ 3 = 5
  • 5 is prime.

So 360 = 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5.

Method: factor tree

Split the number into any two factors, then split each composite factor again. Stop when every branch ends in a prime. Every tree for the same number ends with the same primes.

Divisibility tricks

  • 2: the last digit is even.
  • 3: the digit sum is a multiple of 3.
  • 5: the last digit is 0 or 5.
  • 11: the alternating digit sum is 0 or a multiple of 11 (for example 1001 gives 1 − 0 + 0 − 1 = 0, and 1001 = 7 × 11 × 13).

Using prime factors

  • GCF: multiply the shared primes at their lowest power.
  • LCM: multiply every prime at its highest power.
  • Simplifying fractions: cancel shared primes.

Try the prime factorization calculator to see the factor tree for any number.

Frequently asked questions

Is every number a product of primes?

Every whole number above 1 is, and in only one way (apart from order). That is the Fundamental Theorem of Arithmetic.

How many factors does a number have?

Add 1 to each exponent and multiply. 360 = 2³ × 3² × 5¹ has (3+1)(2+1)(1+1) = 24 factors.

Try it yourself

Prime Factorization

Break any whole number into prime factors. Shows the factor tree, the exponent form and all factors of the number.

Keep learning

John J. Porche
Writes and checks the worked examples on this site. See how we check our work.