Break a whole number into its prime factors.
Calculated locally in your browser.
How do you find the prime factorization of a number?
Divide the number by the smallest prime that fits, repeat with the quotient, and continue until you reach 1; the primes collected, with their exponents, are the factorization. Every integer above 1 has exactly one. For example, 360 factors as 2³ × 3² × 5 and has 24 divisors.
Understanding your result
By the fundamental theorem of arithmetic, every integer greater than 1 has exactly one prime factorization (apart from order). The number of divisors equals the product of each exponent plus one — for 2³ × 3² × 5 that is (3+1)(2+1)(1+1) = 24. A number with a single prime factor and exponent 1 is prime.
Formula and method
Divide the number by the smallest prime that fits, repeat with the quotient, and continue until you reach 1. The primes collected, with their exponents, are the factorization.
Worked example
360 factors as 2 × 2 × 2 × 3 × 3 × 5, written 2³ × 3² × 5, and has 24 divisors.
How to use this tool
- Enter a whole number of 2 or more.
- Press Factor.
- Read the prime factorization and divisor count.
Common mistakes to avoid
- Including 1 as a prime factor — 1 is not prime.
- Stopping before fully factoring a composite factor.
- Entering a decimal; only whole numbers can be factored.
About the Prime Factorization Calculator
The Prime Factorization Calculator breaks a whole number into the prime numbers that multiply to make it. It shows the factorization in exponent form, counts the divisors and tells you whether the number is prime.
Who should use this tool
Students, teachers and anyone working with factors, fractions or number theory.
Benefits
- Prime factorization in clear exponent form.
- Counts distinct primes and total divisors.
- Flags prime numbers.
- Private — calculated entirely in your browser.
Practical use cases
- Simplifying fractions or finding common factors.
- Working out the greatest common divisor or LCM.
- Checking number-theory homework.
Frequently asked questions
What is prime factorization?
It is expressing a whole number as a product of prime numbers, such as 360 = 2³ × 3² × 5.
How many divisors does a number have?
Multiply together each prime exponent plus one. For 2³ × 3² × 5 that is 4 × 3 × 2 = 24 divisors.
Is the factorization unique?
Yes. Every integer above 1 has exactly one prime factorization, apart from the order of the factors.