Math · free · step by step

Prime Factorization Calculator

Find the prime factors of any whole number up to 40 digits, with the division ladder, a factor tree, every divisor and whether it is prime.

Answer

Step by step

Reference

Prime factorizations of common numbers

NumberPrime factorizationDivisors
122² × 36
182 × 3²6
242³ × 38
362² × 3²9
482⁴ × 310
602² × 3 × 512
722³ × 3²12
842² × 3 × 712
902 × 3² × 512
962⁵ × 312
1002² × 5²9
1202³ × 3 × 516
1442⁴ × 3²15
1802² × 3² × 518
2102 × 3 × 5 × 716
3602³ × 3² × 524
10002³ × 5³16

Prime numbers up to 100

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

More math

Other math tools

Questions

Prime Factorization Calculator FAQ

Free, private and works offline: everything is worked out in your browser.

How do you find the prime factorization of a number?

Divide by the smallest prime that goes in (2, then 3, 5, 7…) and repeat with the result until you reach 1. The primes you divided by are the prime factors: 360 ÷ 2 = 180, ÷ 2 = 90, ÷ 2 = 45, ÷ 3 = 15, ÷ 3 = 5, ÷ 5 = 1, so 360 = 2³ × 3² × 5.

What is a factor tree?

A factor tree splits a number into two factors, then splits each factor again until every branch ends in a prime. However you split it, you always end with the same primes: 60 = 2 × 30 = 2 × 2 × 15 = 2² × 3 × 5.

How do I know if a number is prime?

A prime has exactly two divisors, 1 and itself. To check n, try dividing by primes up to √n; if none divide it, it is prime. The primes below 100 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97. This calculator checks numbers up to 40 digits.

How do you count the divisors of a number?

Write it as prime powers, add 1 to each power and multiply. 360 = 2³ × 3² × 5¹, so it has (3 + 1)(2 + 1)(1 + 1) = 24 divisors.

Is 1 a prime number?

No. A prime needs exactly two different divisors, and 1 has only one. That is also why every whole number above 1 has exactly one prime factorization.

Is it free and private?

Yes. Everything is worked out in your browser, nothing you type is sent anywhere, and big numbers (up to 40 digits) are factored with exact whole-number arithmetic.

Built and maintained by Zubaer Ahammed · Updated · Runs on your device; nothing you add is uploaded