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.
Step by step
Reference
Prime factorizations of common numbers
| Number | Prime factorization | Divisors |
|---|---|---|
| 12 | 2² × 3 | 6 |
| 18 | 2 × 3² | 6 |
| 24 | 2³ × 3 | 8 |
| 36 | 2² × 3² | 9 |
| 48 | 2⁴ × 3 | 10 |
| 60 | 2² × 3 × 5 | 12 |
| 72 | 2³ × 3² | 12 |
| 84 | 2² × 3 × 7 | 12 |
| 90 | 2 × 3² × 5 | 12 |
| 96 | 2⁵ × 3 | 12 |
| 100 | 2² × 5² | 9 |
| 120 | 2³ × 3 × 5 | 16 |
| 144 | 2⁴ × 3² | 15 |
| 180 | 2² × 3² × 5 | 18 |
| 210 | 2 × 3 × 5 × 7 | 16 |
| 360 | 2³ × 3² × 5 | 24 |
| 1000 | 2³ × 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
- Scientific CalculatorTrig, logs, powers, n!, nCr with history and exact answers
- Fraction CalculatorAdd, subtract, multiply and divide fractions with steps
- Matrix CalculatorDeterminant, inverse, multiply and RREF with steps
- Statistics CalculatorMean, median, mode, standard deviation and regression
- Binary ConverterBinary, decimal, hex and octal with steps
- Complex Number Calculatora + bi, polar form, powers and roots with steps
- Normal Distribution CalculatorNormal curve probabilities, z-scores and inverse normal
- Binomial Distribution CalculatorP(X = k), P(X ≤ k) and more for n trials
- Poisson Distribution CalculatorProbabilities of counts with average rate λ
- GCD and LCM CalculatorGreatest common factor and least common multiple with steps
- Permutation and Combination CalculatorPermutations and combinations, exact, with steps
- Significant Figures CalculatorCount, round and calculate with significant figures
- Equation SolverQuadratic, cubic and simultaneous equations with steps
- Graphing CalculatorPlot functions, circles, polar and parametric curves
- Derivative CalculatorDerivatives with every step shown
- Integral CalculatorIntegrals with steps, definite and indefinite
- Ohm’s Law CalculatorVolts, amps, ohms and watts
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.