Prime Factorization of 138
Updated · exact integer math
138 = 2 × 3 × 23
The prime factorization of 138 is 2 × 3 × 23: the only way to write 138 as a product of prime numbers. Its prime factors are 2, 3 and 23.
How to find the prime factorization of 138
Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:
| Step | Division | Why this prime |
|---|---|---|
| 1 | 138 ÷ 2 = 69 | 138 is even |
| 2 | 69 ÷ 3 = 23 | 69's digits add to a multiple of 3 |
| 3 | 23 ÷ 23 = 1 | 23 is prime, so it divides only by itself |
The primes you divided by, 2 × 3 × 23, multiply back to 138. Grouping repeats with exponents gives 2 × 3 × 23.
Factor tree for 138
A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:
- 138 → 2 × 69
- 69 → 3 × 23
The branch ends at 3 and 23, both prime. Every leaf of the tree is a prime factor.
All factors of 138
138 has 8 factors: 1, 2, 3, 6, 23, 46, 69, 138. As factor pairs:
| 1 × 138 = 138 |
| 2 × 69 = 138 |
| 3 × 46 = 138 |
| 6 × 23 = 138 |
You can count them from the exponents: add 1 to each exponent in 2 × 3 × 23 and multiply, (1 + 1) × (1 + 1) × (1 + 1) = 8. The factors add up to 288.
Prime factorization of nearby numbers
| Number | Prime factorization |
|---|---|
| 128 | 2⁷ |
| 129 | 3 × 43 |
| 130 | 2 × 5 × 13 |
| 132 | 2² × 3 × 11 |
| 133 | 7 × 19 |
| 134 | 2 × 67 |
| 135 | 3³ × 5 |
| 136 | 2³ × 17 |
| 140 | 2² × 5 × 7 |
| 141 | 3 × 47 |
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 138?
138 = 2 × 3 × 23.
What are the prime factors of 138?
2, 3 and 23.
How many factors does 138 have?
8: 1, 2, 3, 6, 23, 46, 69, 138.