Prime Factorization of 189
Updated · exact integer math
189 = 3³ × 7
3 × 3 × 3 × 7
The prime factorization of 189 is 3³ × 7: the only way to write 189 as a product of prime numbers. Its prime factors are 3 and 7.
How to find the prime factorization of 189
Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:
| Step | Division | Why this prime |
|---|---|---|
| 1 | 189 ÷ 3 = 63 | 189's digits add to a multiple of 3 |
| 2 | 63 ÷ 3 = 21 | 63's digits add to a multiple of 3 |
| 3 | 21 ÷ 3 = 7 | 21's digits add to a multiple of 3 |
| 4 | 7 ÷ 7 = 1 | 7 is prime, so it divides only by itself |
The primes you divided by, 3 × 3 × 3 × 7, multiply back to 189. Grouping repeats with exponents gives 3³ × 7.
Factor tree for 189
A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:
- 189 → 3 × 63
- 63 → 3 × 21
- 21 → 3 × 7
The branch ends at 3 and 7, both prime. Every leaf of the tree is a prime factor.
All factors of 189
189 has 8 factors: 1, 3, 7, 9, 21, 27, 63, 189. As factor pairs:
| 1 × 189 = 189 |
| 3 × 63 = 189 |
| 7 × 27 = 189 |
| 9 × 21 = 189 |
You can count them from the exponents: add 1 to each exponent in 3³ × 7 and multiply, (3 + 1) × (1 + 1) = 8. The factors add up to 320.
Prime factorization of nearby numbers
| Number | Prime factorization |
|---|---|
| 180 | 2² × 3² × 5 |
| 182 | 2 × 7 × 13 |
| 183 | 3 × 61 |
| 184 | 2³ × 23 |
| 185 | 5 × 37 |
| 186 | 2 × 3 × 31 |
| 187 | 11 × 17 |
| 188 | 2² × 47 |
| 190 | 2 × 5 × 19 |
| 192 | 2⁶ × 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 189?
189 = 3³ × 7, or 3 × 3 × 3 × 7.
What are the prime factors of 189?
3 and 7.
How many factors does 189 have?
8: 1, 3, 7, 9, 21, 27, 63, 189.