Prime Factorization Calculator
Break any number into its prime factors — the prime numbers that multiply together to make it. Every whole number has exactly one prime factorization: 360 = 2 × 2 × 2 × 3 × 3 × 5, and 97 is prime, so it is just 97.
How to use this converter
Enter any whole number (1 or more). Its prime factors appear instantly as a multiplication.
Formula
Keep dividing by the smallest prime that divides the number until only 1 (or a prime) is left. Example: 360 ÷ 2 = 180 ÷ 2 = 90 ÷ 2 = 45 ÷ 3 = 15 ÷ 3 = 5. So 360 = 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5.
Prime factorization is the foundation of the LCM and GCF, of simplifying fractions, and of much of number theory. It is also how RSA encryption works — multiplying two large primes is easy, but factoring the result back is hard.
Example prime factorizations
| From | Equals |
|---|---|
| 360 | 2 × 2 × 2 × 3 × 3 × 5 |
| 97 | 97 (prime) |
| 100 | 2 × 2 × 5 × 5 |
| 1,000 | 2 × 2 × 2 × 5 × 5 × 5 |
Frequently asked questions
What is prime factorization?
Writing a number as a product of prime numbers. Every whole number bigger than 1 has exactly one prime factorization.
What is a prime number?
A whole number bigger than 1 that is divisible only by 1 and itself: 2, 3, 5, 7, 11, 13, 17, 19, 23… 1 is not prime.
How do I find prime factors?
Divide by 2 as many times as possible, then by 3, then by 5, then by 7, and so on, until the result is 1 or a prime. The divisors you used are the prime factors.
What is 1's prime factorization?
1 has no prime factors — it is the empty product. The calculator shows 1 = 1.