Prime Factorization Calculator

Break a whole number into its prime factors, check if it’s prime, and list its divisors.

Updated . Free, no sign-up, calculated in your browser.

Prime factorization
2³ × 3² × 5
Is prime?No
Number of divisors24
Divisors1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360

Prime factors

Every whole number above 1 can be written as a product of primes in exactly one way, a fact known as the fundamental theorem of arithmetic. 360 = 2³ × 3² × 5.

The calculator uses trial division: divide by 2 as often as possible, then 3, and so on up to the square root of what remains.

Counting divisors

Add one to each exponent and multiply. For 360 that’s (3+1)(2+1)(1+1) = 24 divisors.

Example calculation

Example: with whole number 360, the result is Prime factorization: 2³ × 3² × 5.

Is prime?No
Number of divisors24
Divisors1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360

Frequently asked questions

What is prime factorization?

Writing a number as a product of primes. 360 = 2³ × 3² × 5. Every whole number above 1 has exactly one prime factorization.

Is 1 a prime number?

No. A prime has exactly two distinct divisors, 1 and itself, and 1 has only one.

How do I count a number’s divisors?

Add one to each exponent in its prime factorization and multiply. 360 has (3 + 1)(2 + 1)(1 + 1) = 24 divisors.

What is the smallest prime number?

2. It’s also the only even prime.

Results are calculated in your browser for general and educational use. Double-check figures before relying on them for graded work or important decisions.