Prime Factorization Calculator

Every whole number above 1 is a unique product of primes. Prime factorization is the basis for finding HCF, LCM, square roots and the number of divisors.

Results update as you type.

Prime factorization

2³ × 3² × 5

All prime factors
2 × 2 × 2 × 3 × 3 × 5
Number of divisors
24
Sum of divisors
1,170

About this calculator

Enter a whole number to see its prime factors.

How to use it

  1. Enter a whole number.
  2. Read its prime factors.

The formula

Divide by the smallest prime repeatedly until 1 is left
number of divisors
product of (power + 1) for each prime

Worked example

360

  1. 360 = 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5.
  2. It has (3+1)(2+1)(1+1) = 24 divisors, which add up to 1,170.

What the result means

Prime factors make HCF and LCM easy: take the lowest or highest power of each prime.

Prime factorisations of common numbers

Factorisation and number of divisors
NumberPrime factorisationDivisors
122² × 36
362² × 3²9
482⁴ × 310
602² × 3 × 512
722³ × 3²12
1002² × 5²9
1202³ × 3 × 516
1442⁴ × 3²15
1802² × 3² × 518
3602³ × 3² × 524
1,0002³ × 5³16

The division ladder method

Divide by the smallest prime that goes in and carry on with the quotient until you reach 1. A factor tree gives the same primes, because factorisation is unique. For 840:

  • 840 ÷ 2 = 420
  • 420 ÷ 2 = 210
  • 210 ÷ 2 = 105
  • 105 ÷ 3 = 35
  • 35 ÷ 5 = 7
  • 7 ÷ 7 = 1
  • So 840 = 2³ × 3 × 5 × 7, with (3 + 1)(1 + 1)(1 + 1)(1 + 1) = 32 divisors.

What the factorisation tells you

  • Perfect square: every power is even. 1,764 = 2² × 3² × 7², so √1,764 = 2 × 3 × 7 = 42.
  • Perfect cube: every power is a multiple of 3, as in 1,000 = 2³ × 5³.
  • HCF and LCM: 48 = 2⁴ × 3 and 180 = 2² × 3² × 5, so the HCF is 2² × 3 = 12 and the LCM is 2⁴ × 3² × 5 = 720.

Assumptions

  • Whole numbers from 2 to 10¹².

Limitations

  • Very large numbers take longer to factor.

Frequently asked questions

What are the prime factors of 100?

2² × 5².

How many divisors does 360 have?

24.

Why is factorization unique?

By the fundamental theorem of arithmetic.

What is the prime factorisation of 72?

2³ × 3², that is 2 × 2 × 2 × 3 × 3. It has 12 divisors.

How many factors does 100 have?

9: 1, 2, 4, 5, 10, 20, 25, 50 and 100.

What is the prime factorisation of a prime number?

Just the number itself. For 97 the calculator shows 97, marks it as prime and gives 2 divisors.

Last reviewed on 12 October 2026. How we calculate and check. Found a mistake? Tell us.