Skip to content
Prime Checker
Menu

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:

StepDivisionWhy this prime
1540 ÷ 2 = 270540 is even
2270 ÷ 2 = 135270 is even
3135 ÷ 3 = 45135's digits add to a multiple of 3
445 ÷ 3 = 1545's digits add to a multiple of 3
515 ÷ 3 = 515's digits add to a multiple of 3
65 ÷ 5 = 15 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:

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

NumberPrime 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.

Sources

More prime number tools