Homeโ€บ Math & Scienceโ€บ Prime Factorization Calculator

Prime Factorization Calculator

Find the prime factorization of any positive integer up to 10^15. Returns factors in ascending order with exponent notation.

Inputs

Prime factorization
โ€”
Exponent notation
โ€”
Is it prime?
โ€”
Distinct primes
โ€”
Total factors
โ€”

About Prime Factorization Calculator

Fundamental theorem of arithmetic

Every integer > 1 has a unique prime factorization (up to order). 360 = 2ยณ ร— 3ยฒ ร— 5 โ€” no other combination of primes multiplies to 360.

How long it takes

Trial division (used here) is fast for numbers up to ~10โน. Beyond that, advanced algorithms (Pollard rho, ECM, quadratic sieve) are needed. RSA security relies on the difficulty of factoring 2048+ bit numbers โ€” far beyond this calculator.

Uses

Simplifying fractions (divide by GCD). Cryptography (RSA, Diffie-Hellman). Number theory problems. Finding divisors (combinations of prime factors).