Prime Factorization Calculator

Find the prime factorization of any integer, with divisor count and sum of divisors.

Calculated in your browser. No data sent to servers.

Formula reviewed Nov 2026

Try an example

Up to 99,999,999. Factorisation uses trial division.

Prime factorization

-

-

Is prime?

-

Prime factors

-

Divisor count

-

Sum of divisors

-

How to use this calculator

Enter a positive integer. The calculator factors it into primes, tells you whether it's prime, and shows the number of divisors and their sum.

The formula behind this result

Prime factorization uses trial division up to √n. If n = p₁^a₁ × p₂^a₂ × …, then the number of divisors = (a₁+1)(a₂+1)… and the sum of divisors = ∏(p^(a+1) − 1)/(p − 1). A number is prime iff it has exactly two divisors.

Frequently asked questions

What's the largest number supported?

99,999,999 (about 10⁸). Larger numbers would need advanced algorithms (Pollard's rho) for reasonable performance.

How do I know if a number is prime?

It has exactly two divisors: 1 and itself. 1 is not prime. 2 is the only even prime.

Explore more