Prime Factorization Calculator
Break any number into its prime factors, with divisor counts and sums.
The formula behind it
n = p₁^a₁ × p₂^a₂ × … × pₖ^aₖ- pᵢ
- distinct primes, ascending
- aᵢ
- how many times each prime divides n
Repeated division strips prime factors one at a time. The Fundamental Theorem of Arithmetic guarantees this representation is unique, making it the fingerprint of a number.
How to use this calculator
- 1
Enter a whole number of 1 or more.
- 2
Press Calculate.
- 3
Use the divisor list for divisor-counting questions (e.g. perfect squares have an odd divisor count).
Worked examples
Factor a product
360 = 2³ × 3² × 5 — three 2s, two 3s and one 5.
Perfect square check
144 = 2⁴ × 3²; every exponent is even, so 144 is a perfect square.