Prime Factorization of 4
Updated · exact integer math
4 = 2²
2 × 2
The prime factorization of 4 is 2²: the only way to write 4 as a product of prime numbers. Its prime factor is 2. Because it has factors other than 1 and itself, 4 is composite; see is 4 a prime number.
How to find the prime factorization of 4
Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:
| Step | Division | Why this prime |
|---|---|---|
| 1 | 4 ÷ 2 = 2 | 4 is even |
| 2 | 2 ÷ 2 = 1 | 2 is prime, so it divides only by itself |
The primes you divided by, 2 × 2, multiply back to 4. Grouping repeats with exponents gives 2².
Factor tree for 4
A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:
- 4 → 2 × 2
The branch ends at 2 and 2, both prime. Every leaf of the tree is a prime factor.
All factors of 4
4 has 3 factors: 1, 2, 4. As factor pairs:
| 1 × 4 = 4 |
| 2 × 2 = 4 |
You can count them from the exponents: add 1 to each exponent in 2² and multiply, (2 + 1) = 3. The factors add up to 7.
4 is a perfect square
Every exponent in 2² is even, so 4 is a perfect square: halve the exponents to get √4 = 2.
Prime factorization of nearby numbers
| Number | Prime factorization |
|---|---|
| 6 | 2 × 3 |
| 8 | 2³ |
| 9 | 3² |
| 10 | 2 × 5 |
| 12 | 2² × 3 |
| 14 | 2 × 7 |
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 4?
4 = 2², or 2 × 2.
What are the prime factors of 4?
Just 2.
How many factors does 4 have?
3: 1, 2, 4.