Skip to content
Prime Checker
Menu

Prime Factorization of 125

Updated · exact integer math

125 = 5³

5 × 5 × 5

The prime factorization of 125 is 5³: the only way to write 125 as a product of prime numbers. Its prime factor is 5.

How to find the prime factorization of 125

Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:

StepDivisionWhy this prime
1125 ÷ 5 = 25125 ends in 5
225 ÷ 5 = 525 ends in 5
35 ÷ 5 = 15 is prime, so it divides only by itself

The primes you divided by, 5 × 5 × 5, multiply back to 125. Grouping repeats with exponents gives 5³.

Factor tree for 125

A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:

The branch ends at 5 and 5, both prime. Every leaf of the tree is a prime factor.

All factors of 125

125 has 4 factors: 1, 5, 25, 125. As factor pairs:

1 × 125 = 125
5 × 25 = 125

You can count them from the exponents: add 1 to each exponent in 5³ and multiply, (3 + 1) = 4. The factors add up to 156.

125 is a perfect cube

Every exponent is a multiple of 3, so 125 is a perfect cube: ∛125 = 5.

Prime factorization of nearby numbers

NumberPrime factorization
1155 × 23
1162² × 29
1173² × 13
1182 × 59
1197 × 17
1202³ × 3 × 5
12111²
1222 × 61
1233 × 41
1242² × 31

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 125?

125 = 5³, or 5 × 5 × 5.

What are the prime factors of 125?

Just 5.

How many factors does 125 have?

4: 1, 5, 25, 125.

Sources

More prime number tools