๐Ÿ’ฐ Financial Calculators โค๏ธ Health & Fitness Calculators ๐Ÿ“ Math Calculators ๐Ÿ”„ Conversion Calculators ๐Ÿ“Š Business Calculators ๐Ÿ—๏ธ Construction Calculators ๐Ÿ“… Date & Time Calculators ๐ŸŽ“ Education Calculators ๐Ÿš— Automotive Calculators ๐Ÿงฎ Everyday Calculators

Prime Factorization Calculator

Find the complete prime factorization of any number. Shows all divisors, a factor tree, and identifies if the number is prime.

โšก Quick Calculator Get a fast estimate
360
2^3 ร— 3^2 ร— 5
Prime factors
2 ร— 2 ร— 2 ร— 3 ร— 3 ร— 5
Unique prime factors
2, 3, 5
Number of prime factors
6
Number of divisors
24
All Divisors (24)
1234568910121518202430364045607290120180360
Highlighted in colour = prime divisors
Factor Tree
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.

Need more detail?
๐Ÿ“Š Extended Calculator More options, charts, and scenario comparison
Prime Factorization of 360
2^3 ร— 3^2 ร— 5
All prime factors
2 ร— 2 ร— 2 ร— 3 ร— 3 ร— 5
Number of divisors
24
Sum of divisors
1170
Is prime?
No
Factor Tree
360218029024531535
Blue circles = prime factors
All Divisors (24)
1234568910121518202430364045607290120180360

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

Need full precision?
๐Ÿ”ฌ Professional Calculator Complete parameters, sensitivity analysis, and detailed breakdown
Primes up to 100
25
Largest prime
97
Currently eliminating
Multiples of 2
23456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
Blue= primeYellow= being eliminated nowRed= composite

Frequently Asked Questions

A prime number is a whole number greater than 1 with exactly two divisors: 1 and itself. The first primes are 2, 3, 5, 7, 11, 13... Note that 2 is the only even prime; 1 is neither prime nor composite.
The Fundamental Theorem of Arithmetic: every integer greater than 1 can be written as a product of prime numbers in exactly one way (ignoring order). 12 = 2ยฒ ร— 3 โ€” there is no other way.
If n = pโ‚^aโ‚ ร— pโ‚‚^aโ‚‚ ร— ..., the number of divisors is (aโ‚+1)(aโ‚‚+1)... Each divisor is formed by choosing any exponent from 0 to aแตข for each prime.
No. 1 is neither prime nor composite. If 1 were prime, the Fundamental Theorem would fail because 12 could be written as 2ยฒร—3 or 1ร—2ยฒร—3, destroying uniqueness.
RSA encryption relies on multiplying two large primes being easy, but factorizing the product back being computationally very hard. Your secure bank connection uses keys based on primes with hundreds of digits.

Related Calculators