Prime Factorization of 25
Updated · exact integer math
25 = 5²
5 × 5
The prime factorization of 25 is 5²: the only way to write 25 as a product of prime numbers. Its prime factor is 5. Because it has factors other than 1 and itself, 25 is composite; see is 25 a prime number.
How to find the prime factorization of 25
Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:
| Step | Division | Why this prime |
|---|---|---|
| 1 | 25 ÷ 5 = 5 | 25 ends in 5 |
| 2 | 5 ÷ 5 = 1 | 5 is prime, so it divides only by itself |
The primes you divided by, 5 × 5, multiply back to 25. Grouping repeats with exponents gives 5².
Factor tree for 25
A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:
- 25 → 5 × 5
The branch ends at 5 and 5, both prime. Every leaf of the tree is a prime factor.
All factors of 25
25 has 3 factors: 1, 5, 25. As factor pairs:
| 1 × 25 = 25 |
| 5 × 5 = 25 |
You can count them from the exponents: add 1 to each exponent in 5² and multiply, (2 + 1) = 3. The factors add up to 31.
25 is a perfect square
Every exponent in 5² is even, so 25 is a perfect square: halve the exponents to get √25 = 5.
Prime factorization of nearby numbers
| Number | Prime factorization |
|---|---|
| 15 | 3 × 5 |
| 16 | 2⁴ |
| 18 | 2 × 3² |
| 20 | 2² × 5 |
| 21 | 3 × 7 |
| 22 | 2 × 11 |
| 24 | 2³ × 3 |
| 26 | 2 × 13 |
| 27 | 3³ |
| 28 | 2² × 7 |
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 25?
25 = 5², or 5 × 5.
What are the prime factors of 25?
Just 5.
How many factors does 25 have?
3: 1, 5, 25.