Write a whole number as a product of prime numbers. The answer is shown in exponent form like 23 ร 32 ร 5, and the working as a factor ladder that divides by the smallest prime each time.
๐ณ Find the prime factorization
๐งญ How to use it
- Type a whole number (2 or more, up to 18 digits) and press Factorize, or tap an example.
- Read the answer in exponent form, e.g. 360 = 23 ร 32 ร 5, with the list of prime factors and the number of factors.
- Follow the factor ladder and the steps to see how it was found, and the smallest number to multiply by to get a perfect square.
๐ What is prime factorization?
- A prime number is a whole number greater than 1 whose only factors are 1 and itself (2, 3, 5, 7, 11, โฆ). A composite number is a whole number greater than 1 that is not prime. 1 is neither.
- Prime factorization writes a composite number as a product of primes only. By the fundamental theorem of arithmetic, every whole number greater than 1 has exactly one prime factorization (apart from the order of the factors).
- Repeated factors are written with exponents: 2 ร 2 ร 2 = 23.
Ladder (division) method
Divide by 2 as long as the number is even, then try 3, 5, 7, 11 โฆ in turn. Stop when the quotient is 1; the primes you divided by are the prime factors. You only need to try primes up to the square root of what is left โ if none divides it, what is left is prime.
Example: 360 รท 2 = 180, รท 2 = 90, รท 2 = 45, รท 3 = 15, รท 3 = 5, รท 5 = 1 โ 360 = 23 ร 32 ร 5
Number of factors from the exponents
Add 1 to each exponent and multiply: 360 = 23 ร 32 ร 51 has (3 + 1)(2 + 1)(1 + 1) = 24 factors.
Prime factorizations of common numbers
| Number | Prime factorization | Number | Prime factorization |
|---|---|---|---|
| 12 | 22 ร 3 | 84 | 22 ร 3 ร 7 |
| 18 | 2 ร 32 | 90 | 2 ร 32 ร 5 |
| 24 | 23 ร 3 | 100 | 22 ร 52 |
| 36 | 22 ร 32 | 120 | 23 ร 3 ร 5 |
| 48 | 24 ร 3 | 144 | 24 ร 32 |
| 60 | 22 ร 3 ร 5 | 180 | 22 ร 32 ร 5 |
| 64 | 26 | 360 | 23 ร 32 ร 5 |
| 72 | 23 ร 32 | 1000 | 23 ร 53 |
โ Frequently asked questions
How do you find the prime factorization of a number?
Start with the smallest prime, 2, and divide as long as it goes in evenly; then move on to 3, 5, 7 and so on. When the quotient reaches 1, write all the primes you divided by as a product. 360 divides by 2 three times, by 3 twice and by 5 once, so 360 = 2ยณ ร 3ยฒ ร 5.
Why write the prime factorization with exponents?
Writing 2 ร 2 ร 2 as 2ยณ is shorter and easier to read, and the factors are usually listed from smallest to largest. The exponents also give the number of factors and make the GCF and LCM easy to find.
Can 1 or a prime number be prime factorized?
1 is neither prime nor composite, so it has no prime factorization. A prime numberโs only factors are 1 and itself, so its prime factorization is the number itself โ for example, the prime factorization of 97 is 97.
Does it work for very large numbers?
Yes, up to 18 digits. Small primes are tried in order, and large factors are found with Pollardโs rho method and the MillerโRabin primality test, all with exact BigInt arithmetic. If a number has a large prime factor, the ladder is short.
What do I multiply by to get a perfect square?
A number is a perfect square when every exponent in its prime factorization is even. Multiply once by each prime that has an odd exponent: 360 = 2ยณ ร 3ยฒ ร 5, so multiplying by 2 ร 5 = 10 gives 3600 = 60ยฒ.
๐ More math calculators
Practice more: Math Worksheet Generator ยท Multiplication Chart ยท Percentage Calculator ยท Unit Converter
5 uses today ยท Everything is calculated in your browser โ the numbers you enter are never sent to a server.