Prime Factorization Calculator

Break a number into its prime factors with exponents. Enter a whole number above 1.

Prime Factorization
Into prime powers.

Usage Tip

Start dividing by 2, then 3, 5, 7, and so on — you only need primes up to the square root, with whatever is left being prime.

THE MATH
Repeatedly divide by the smallest prime until 1 remains
Divisor count = product of (each exponent + 1)
Every whole number above 1 has one unique set of prime factors (the fundamental theorem of arithmetic).
The factorization underlies GCF, LCM, and fraction reduction.
Exponents show repeated primes (360 = 2^3 x 3^2 x 5).
A prime number factors to just itself.
The total divisor count comes from the exponents.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.