About the Prime Factorization Calculator
Break any whole number (up to 18 digits) into its prime factors, shown in exponent form with a factor tree and divisor count.
Also known as: prime factors, factor tree, prime decomposition, factorise number.
How to use this calculator
- Enter whole number.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Open “Step-by-step” to see how the answer was worked out.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
n = p₁^a₁ × p₂^a₂ × … × pₖ^aₖ
Worked example
Using the values pre-filled in the calculator above:
- Whole number: 360
the calculator returns:
- Prime factorization: 2^3 × 3^2 × 5
- Expanded: 2 × 2 × 2 × 3 × 3 × 5
- Distinct primes: 3
- Number of divisors: 24
Working
360 ÷ 2 = 180180 ÷ 2 = 9090 ÷ 2 = 4545 ÷ 3 = 1515 ÷ 3 = 55 ÷ 5 = 1