Prime Factorization Calculator
Find the complete prime factorization of any number. Shows all divisors, a factor tree, and identifies if the number is prime.
360
โโโ 2 (prime)
โโโ 180
โโโ 2 (prime)
โโโ 90
โโโ 2 (prime)
โโโ 45
โโโ 3 (prime)
โโโ 15
โโโ 3 (prime)
โโโ 5 (prime)How to Use
Enter any positive integer. The calculator shows its prime factorization in exponential notation, lists all divisors, and draws a factor tree for numbers up to 10,000.
The Extended Calculator adds an interactive factor tree SVG, prime range finder (Sieve), and a divisor table. The Professional Calculator includes the Sieve of Eratosthenes visualization, prime counting function ฯ(x) chart, and twin prime tables.
All Divisors (24)
Prime Factorization Method
Trial division: Divide by 2, then 3, then 5, 7, 11... until you reach โn.
Result format: n = pโ^aโ ร pโ^aโ ร pโ^aโ ร ...
Number of divisors: (aโ+1)(aโ+1)(aโ+1)...
Fundamental Theorem: Every integer > 1 has a unique prime factorization.
Worked Example
Factorize 360:
360 รท 2 = 180; รท 2 = 90; รท 2 = 45; รท 3 = 15; รท 3 = 5
360 = 2ยณ ร 3ยฒ ร 5
Divisors: (3+1)(2+1)(1+1) = 24 divisors
Is 97 prime? โ97 โ 9.8; test 2,3,5,7 โ none divide โ Prime