Prime Factorization With Factor Tree
This prime factorization calculator breaks a whole number into its prime factors and writes them in exponent form, such as 360 = 2³ × 3² × 5. It shows the steps like a factor tree, which helps with GCF, LCM and simplifying fractions. To solve, simplify and factor algebraic expressions, open the Algebra Calculator.
Prime Factorization Calculator
-
-
-
This prime factorization calculator breaks any whole number up to one trillion into prime factors and shows the factor tree steps used to get there. You see the answer in exponent form and expanded form, plus how many distinct primes it has.
How to use the Prime Factorization Calculator
- Enter a whole number of 2 or more in Positive Integer (n).
- Press Factorize.
- Read Prime Powers (such as 360 = 2^3 * 3^2 * 5) and Expanded Form (2 * 2 * 2 * 3 * 3 * 5).
- Follow the Factor tree steps, one division per line, and check the Number of Distinct Primes. The chart shows each prime's exponent.
Method
n ÷ p₁ = q₁, q₁ ÷ p₂ = q₂, … until the last quotient is prime
n = p₁^a × p₂^b × …
The tool tries divisors in order from 2 and stops at the square root of what remains. Whatever is left above 1 at the end must be prime, so it appears as the final Prime line.
Example
Factor 1,260: 1260 ÷ 2 = 630, 630 ÷ 2 = 315, 315 ÷ 3 = 105, 105 ÷ 3 = 35, 35 ÷ 5 = 7, and 7 is prime. So 1260 = 2^2 × 3^2 × 5 × 7, or 2 × 2 × 3 × 3 × 5 × 7 in expanded form, with 4 distinct primes.
Frequently asked questions
What is prime factorization?
Writing a number as a product of prime numbers. 60 = 2 × 2 × 3 × 5 = 2² × 3 × 5. By the fundamental theorem of arithmetic, every whole number above 1 has exactly one prime factorization, apart from the order of the factors.
How do you make a factor tree?
Split the number into any two factors, then keep splitting each branch until every end is prime. For 1,260 you might start with 2 × 630. The tool always divides by the smallest prime first, which leads to the same final primes.
How is prime factorization used?
It helps you find the GCF and LCM, simplify fractions and square roots, and test divisibility. For example, 72 = 2³ × 3², so √72 = 6√2.
What is the largest number I can factor here?
Up to 1,000,000,000,000 (one trillion). Large numbers that are prime or have big prime factors may take a moment, since the tool checks divisors up to the square root.
To list every factor as well, use the Prime Factors & All Factors Finder.
Prime factors with steps and exponents
How to use it
- Type a whole number greater than 1.
- Read the prime factors from smallest to largest.
- See the exponent form for repeated factors.
- Follow the steps to build your own factor tree.
More questions
What is the prime factorization of 60?
60 = 2² × 3 × 5.
What is the prime factorization of 100?
100 = 2² × 5².
Is 1 a prime number?
No. A prime number has exactly two factors, 1 and itself, and 1 has only one.
Related tools: Prime Number Checker, Factor Calculator, Greatest Common Factor Calculator.
Factoring 1,001 into 7, 11 and 13
Enter a whole number and read its prime factors, the exponent form, the count of distinct primes and the step-by-step factor tree. To simplify fractions like 84/126 automatically, use the Fraction Calculator.
Worked example: 1,001 ÷ 7 = 143, 143 ÷ 11 = 13, and 13 is prime. So 1,001 = 7 × 11 × 13, with 3 distinct primes. Because 1,001 splits this way, any six-digit number like 345,345 (that is 345 × 1,001) is divisible by 7, 11 and 13.
More answers
How do I reduce 84/126 using prime factors?
Factor both: 84 = 2² × 3 × 7 and 126 = 2 × 3² × 7. Cancel the shared 2 × 3 × 7 = 42 and you get 2/3.
Why does a number like 345,345 divide by 7, 11 and 13?
Repeating a three-digit block multiplies it by 1,001, and 1,001 = 7 × 11 × 13. So 345,345 = 345 × 1,001 is a multiple of all three primes.