Skip to content
Prime Checker
Menu

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:

StepDivisionWhy this prime
1138 ÷ 2 = 69138 is even
269 ÷ 3 = 2369's digits add to a multiple of 3
323 ÷ 23 = 123 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:

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

NumberPrime factorization
1282⁷
1293 × 43
1302 × 5 × 13
1322² × 3 × 11
1337 × 19
1342 × 67
1353³ × 5
1362³ × 17
1402² × 5 × 7
1413 × 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.

Sources

More prime number tools