Skip to content

Prime Factorization Calculator

Type a whole number to split it into primes, one division at a time, and see it written as a product of prime powers.

Any whole number up to 20 digits.

Try

Prime factors of 360

2³ × 3² × 5

360 = 2³ × 3² × 5, a product of 6 primes (3 different).

360
2×180
2×90
2×45
3×15
3×5
5×1
Expanded
2 × 2 × 2 × 3 × 3 × 5
Distinct primes
3
Number of factors
24

How to find the prime factorization

Divide by the smallest prime that goes in exactly, write it down, and repeat with the quotient until you reach 1. For 360: 360 ÷ 2 = 180, ÷ 2 = 90, ÷ 2 = 45; 2 no longer divides, so try 3: 45 ÷ 3 = 15, ÷ 3 = 5; then 5 ÷ 5 = 1. The primes you divided by are the factorization: 360 = 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5.

A factor tree does the same thing with any split you like: 360 = 36 × 10 = (6 × 6) × (2 × 5) = (2 × 3 × 2 × 3) × 2 × 5. Whichever path you take, you end at the same primes, because every whole number above 1 has exactly one prime factorization (the fundamental theorem of arithmetic).

The factorization is the key to many other answers: the number of factors (multiply each exponent plus one), whether it is a perfect square (all exponents even), the GCF and LCM of several numbers, and simplifying fractions and square roots (√360 = √(2² × 3² × 10) = 6√10).

n = p₁^a₁ × p₂^a₂ × … × pₖ^aₖ, unique apart from order

Prime factorizations of common numbers

Each number as a product of prime powers, with how many factors that gives it.

Each number as a product of prime powers, with how many factors that gives it.
NumberPrime factorizationExpandedFactors
122² × 32 × 2 × 36
182 × 3²2 × 3 × 36
242³ × 32 × 2 × 2 × 38
302 × 3 × 52 × 3 × 58
362² × 3²2 × 2 × 3 × 39
482⁴ × 32 × 2 × 2 × 2 × 310
602² × 3 × 52 × 2 × 3 × 512
722³ × 3²2 × 2 × 2 × 3 × 312
842² × 3 × 72 × 2 × 3 × 712
902 × 3² × 52 × 3 × 3 × 512
Show all 21 rows
962⁵ × 32 × 2 × 2 × 2 × 2 × 312
1002² × 5²2 × 2 × 5 × 59
1442⁴ × 3²2 × 2 × 2 × 2 × 3 × 315
1802² × 3² × 52 × 2 × 3 × 3 × 518
2102 × 3 × 5 × 72 × 3 × 5 × 716
2562⁸2 × 2 × 2 × 2 × 2 × 2 × 2 × 29
3602³ × 3² × 52 × 2 × 2 × 3 × 3 × 524
1,0002³ × 5³2 × 2 × 2 × 5 × 5 × 516
1,0017 × 11 × 137 × 11 × 138
2,3102 × 3 × 5 × 7 × 112 × 3 × 5 × 7 × 1132
9,9993² × 11 × 1013 × 3 × 11 × 10112

Frequently Asked Questions

What is the prime factorization of 100?

100 = 2 × 2 × 5 × 5 = 2² × 5². Both exponents are even, which is why 100 is a perfect square (10²).

What is the prime factorization of a prime number?

Just the number itself: 97 = 97. A prime cannot be split further, so its factor tree has a single leaf.

Why is 1001 interesting?

1001 = 7 × 11 × 13. That is why writing a three-digit number twice (such as 123123) always gives a multiple of 7, 11 and 13: 123123 = 123 × 1001.