Prime factorization calculator

Divide by the smallest prime that fits until you reach 1. 360 = 2³ × 3² × 5.

23 × 32 × 5
360 = 2^3 × 3^2 × 5
compositetype
24number of divisors
2, 3, 5distinct prime factors

Division ladder:

  1. 360 ÷ 2 = 180
  2. 180 ÷ 2 = 90
  3. 90 ÷ 2 = 45
  4. 45 ÷ 3 = 15
  5. 15 ÷ 3 = 5
  6. 5 ÷ 5 = 1

How to find the prime factorization

  1. Divide by 2 as long as the number is even.
  2. Then try 3, 5, 7, 11… only up to the square root of what is left.
  3. If what remains is above 1, it is prime and is the last factor.

number of divisors = (e₁ + 1)(e₂ + 1)… for n = p₁^e₁ × p₂^e₂ × …

360 = 2³ × 3² × 5¹ has (3+1)(2+1)(1+1) = 24 divisors.

Prime factorizations from 2 to 50

nPrime factorization
22
33
422
55
62 × 3
77
823
932
102 × 5
1111
1222 × 3
1313
142 × 7
153 × 5
1624
1717
182 × 32
1919
2022 × 5
213 × 7
222 × 11
2323
2423 × 3
2552
262 × 13
2733
2822 × 7
2929
302 × 3 × 5
3131
3225
333 × 11
342 × 17
355 × 7
3622 × 32
3737
382 × 19
393 × 13
4023 × 5
4141
422 × 3 × 7
4343
4422 × 11
4532 × 5
462 × 23
4747
4824 × 3
4972
502 × 52

Frequently asked questions

Is 1 a prime number?
No. A prime has exactly two divisors, 1 and itself; 1 has only one.
Is the factorization unique?
Yes. Every whole number above 1 has exactly one prime factorization (the fundamental theorem of arithmetic).