Skip to content
Prime Checker
Menu

Prime Factorization of 24

Updated · exact integer math

24 = 2³ × 3

2 × 2 × 2 × 3

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

How to find the prime factorization of 24

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

StepDivisionWhy this prime
124 ÷ 2 = 1224 is even
212 ÷ 2 = 612 is even
36 ÷ 2 = 36 is even
43 ÷ 3 = 13 is prime, so it divides only by itself

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

Factor tree for 24

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

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

All factors of 24

24 has 8 factors: 1, 2, 3, 4, 6, 8, 12, 24. As factor pairs:

1 × 24 = 24
2 × 12 = 24
3 × 8 = 24
4 × 6 = 24

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

Prime factorization of nearby numbers

NumberPrime factorization
142 × 7
153 × 5
162⁴
182 × 3²
202² × 5
213 × 7
222 × 11
255²
262 × 13
273³

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 24?

24 = 2³ × 3, or 2 × 2 × 2 × 3.

What are the prime factors of 24?

2 and 3.

How many factors does 24 have?

8: 1, 2, 3, 4, 6, 8, 12, 24.

Sources

More prime number tools