Prime Factorization of 158
Updated · exact integer math
158 = 2 × 79
The prime factorization of 158 is 2 × 79: the only way to write 158 as a product of prime numbers. Its prime factors are 2 and 79.
How to find the prime factorization of 158
Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:
| Step | Division | Why this prime |
|---|---|---|
| 1 | 158 ÷ 2 = 79 | 158 is even |
| 2 | 79 ÷ 79 = 1 | 79 is prime, so it divides only by itself |
The primes you divided by, 2 × 79, multiply back to 158. Grouping repeats with exponents gives 2 × 79.
Factor tree for 158
A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:
- 158 → 2 × 79
The branch ends at 2 and 79, both prime. Every leaf of the tree is a prime factor.
All factors of 158
158 has 4 factors: 1, 2, 79, 158. As factor pairs:
| 1 × 158 = 158 |
| 2 × 79 = 158 |
You can count them from the exponents: add 1 to each exponent in 2 × 79 and multiply, (1 + 1) × (1 + 1) = 4. The factors add up to 240.
Prime factorization of nearby numbers
| Number | Prime factorization |
|---|---|
| 148 | 2² × 37 |
| 150 | 2 × 3 × 5² |
| 152 | 2³ × 19 |
| 153 | 3² × 17 |
| 154 | 2 × 7 × 11 |
| 155 | 5 × 31 |
| 156 | 2² × 3 × 13 |
| 159 | 3 × 53 |
| 160 | 2⁵ × 5 |
| 161 | 7 × 23 |
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 158?
158 = 2 × 79.
What are the prime factors of 158?
2 and 79.
How many factors does 158 have?
4: 1, 2, 79, 158.