Prime Factorization Calculator
Enter a whole number and get its prime factorization instantly. The result shows the exponent form, a table of each prime and its power, and tells you whether the number is prime.
How to find a prime factorization
- Type a whole number that is 2 or greater.
- Read the factorization in exponent form, such as 2^3 x 3^2 x 5.
- Check the factor table for each prime and its power, and copy the result.
Examples
A composite number
360
360 = 2^3 x 3^2 x 5
A prime number
17
17 is prime, so its only factorization is 17.
A perfect square
100
100 = 2^2 x 5^2
Frequently asked questions
What is prime factorization?
Prime factorization writes a whole number as a product of prime numbers. For example 360 = 2 x 2 x 2 x 3 x 3 x 5, which is shortened to 2^3 x 3^2 x 5. Every integer above 1 has exactly one such factorization.
How does the calculator find the factors?
It uses trial division: it repeatedly divides the number by 2, then by each odd number, up to the square root of what remains. Any leftover value above 1 is itself a prime factor. This finds the complete factorization for everyday numbers.
What does the exponent notation mean?
When a prime appears more than once, it is written as a power. So 2^3 means 2 used three times (2 x 2 x 2) and 3^2 means 3 used twice. A prime that appears only once is written on its own, like the 5 in 2^3 x 3^2 x 5.
What happens if the number is prime?
A prime number has no factors other than 1 and itself, so its factorization is just the number. The calculator flags it as prime and shows a single entry in the factor table.
Why are 0, 1, decimals and negatives not allowed?
Prime factorization is defined for whole numbers that are 2 or greater. The numbers 0 and 1 have no prime factorization, and decimals and negatives fall outside the definition, so the tool asks for a counting number instead.
Is my input private?
Yes. The factorization runs entirely in your browser. Nothing you type is sent to a server, so your numbers stay on your device.
Related tools
Prime Number Checker
Check if a number is prime and see its full prime factorization and all divisors. Enter any whole number and get an instant answer.
GCD and LCM Calculator
Find the greatest common divisor and least common multiple of a list of integers. Enter two or more numbers separated by commas or spaces.
Scientific Notation Converter
Convert numbers to and from scientific notation and E notation. Enter a number or a value like 1.23 x 10^4 to see the standard decimal form. Free and private.
Area Calculator
Find the area of a circle, square, rectangle, triangle, trapezoid, parallelogram, ellipse, sector or rhombus. Free and runs in your browser.
Arithmetic Sequence Calculator
Find the nth term, the sum of n terms and the full term list for any arithmetic or geometric sequence. Enter the first term, step or ratio, and n.
Average Calculator
Find the mean, median, mode, range, sum, count, min and max of a list of numbers. Paste values separated by commas, spaces or new lines.