Skip to content
Prime Checker
Menu

Prime Factorization of 8

Updated · exact integer math

8 = 2³

2 × 2 × 2

The prime factorization of 8 is 2³: the only way to write 8 as a product of prime numbers. Its prime factor is 2. Because it has factors other than 1 and itself, 8 is composite; see is 8 a prime number.

How to find the prime factorization of 8

Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:

StepDivisionWhy this prime
18 ÷ 2 = 48 is even
24 ÷ 2 = 24 is even
32 ÷ 2 = 12 is prime, so it divides only by itself

The primes you divided by, 2 × 2 × 2, multiply back to 8. Grouping repeats with exponents gives 2³.

Factor tree for 8

A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:

The branch ends at 2 and 2, both prime. Every leaf of the tree is a prime factor.

All factors of 8

8 has 4 factors: 1, 2, 4, 8. As factor pairs:

1 × 8 = 8
2 × 4 = 8

You can count them from the exponents: add 1 to each exponent in 2³ and multiply, (3 + 1) = 4. The factors add up to 15.

8 is a perfect cube

Every exponent is a multiple of 3, so 8 is a perfect cube: ∛8 = 2.

Prime factorization of nearby numbers

NumberPrime factorization
42²
62 × 3
93²
102 × 5
122² × 3
142 × 7
153 × 5
162⁴
182 × 3²

For any other number, the prime number checker shows the full factorization of numbers up to 24 digits, and the divisibility rules make the first steps quick by hand.

Questions people ask

What is the prime factorization of 8?

8 = 2³, or 2 × 2 × 2.

What are the prime factors of 8?

Just 2.

How many factors does 8 have?

4: 1, 2, 4, 8.

Sources

More prime number tools