Prime Factorization of 540
Updated · exact integer math
540 = 2² × 3³ × 5
2 × 2 × 3 × 3 × 3 × 5
The prime factorization of 540 is 2² × 3³ × 5: the only way to write 540 as a product of prime numbers. Its prime factors are 2, 3 and 5.
How to find the prime factorization of 540
Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:
| Step | Division | Why this prime |
|---|---|---|
| 1 | 540 ÷ 2 = 270 | 540 is even |
| 2 | 270 ÷ 2 = 135 | 270 is even |
| 3 | 135 ÷ 3 = 45 | 135's digits add to a multiple of 3 |
| 4 | 45 ÷ 3 = 15 | 45's digits add to a multiple of 3 |
| 5 | 15 ÷ 3 = 5 | 15's digits add to a multiple of 3 |
| 6 | 5 ÷ 5 = 1 | 5 is prime, so it divides only by itself |
The primes you divided by, 2 × 2 × 3 × 3 × 3 × 5, multiply back to 540. Grouping repeats with exponents gives 2² × 3³ × 5.
Factor tree for 540
A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:
- 540 → 2 × 270
- 270 → 2 × 135
- 135 → 3 × 45
- 45 → 3 × 15
- 15 → 3 × 5
The branch ends at 3 and 5, both prime. Every leaf of the tree is a prime factor.
All factors of 540
540 has 24 factors: 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 45, 54, 60, 90, 108, 135, 180, 270, 540. As factor pairs:
| 1 × 540 = 540 |
| 2 × 270 = 540 |
| 3 × 180 = 540 |
| 4 × 135 = 540 |
| 5 × 108 = 540 |
| 6 × 90 = 540 |
| 9 × 60 = 540 |
| 10 × 54 = 540 |
| 12 × 45 = 540 |
| 15 × 36 = 540 |
| 18 × 30 = 540 |
| 20 × 27 = 540 |
You can count them from the exponents: add 1 to each exponent in 2² × 3³ × 5 and multiply, (2 + 1) × (3 + 1) × (1 + 1) = 24. The factors add up to 1680.
Prime factorization of nearby numbers
| Number | Prime factorization |
|---|
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 540?
540 = 2² × 3³ × 5, or 2 × 2 × 3 × 3 × 3 × 5.
What are the prime factors of 540?
2, 3 and 5.
How many factors does 540 have?
24: 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 45, 54, 60, 90, 108, 135, 180, 270, 540.