Animated factor tree
Each composite splits into a small prime and the rest until only primes remain.
Break any whole number into its prime factors. See the division steps, the tidy exponent form, an animated factor-tree diagram, and an AI explanation of why the factorization is unique.
Prime factorization expresses a number as a product of prime numbers. For example, 360 = 2³ × 3² × 5. Every integer greater than 1 has exactly one prime factorization (the Fundamental Theorem of Arithmetic), which is why it is the foundation of fractions, GCD/LCM and cryptography.
Designed so students actually see how a factor tree forms and why each branch ends on a prime.
Each composite splits into a small prime and the rest until only primes remain.
Repeated primes are grouped automatically, e.g. 2 × 2 × 2 → 2³.
If the number is already prime, the tool tells you instantly and explains why.
Type any whole number from 2 upward, e.g. 360.
We divide by the smallest prime that fits, again and again.
Get the factor tree, exponent form, divisor count and an AI explanation.
Tap any row to load it into the calculator.
To factorize a number, divide it by the smallest prime that goes in evenly, then keep dividing the result the same way until you are left with 1. The primes you divided by — listed with their powers — are the prime factorization.
360 ÷ 2 = 180, ÷ 2 = 90, ÷ 2 = 45, ÷ 3 = 15, ÷ 3 = 5, ÷ 5 = 1. Collecting the primes gives 360 = 2³ × 3² × 5.
The Fundamental Theorem of Arithmetic guarantees every integer above 1 has one and only one prime factorization (ignoring order). That uniqueness is what makes primes the "atoms" of arithmetic.
Tip: the number of divisors equals the product of (each exponent + 1). For 360 = 2³×3²×5¹, that's (3+1)(2+1)(1+1) = 24 divisors.
It is the number written as a product of prime numbers, such as 360 = 2³ × 3² × 5. Each integer above 1 has exactly one prime factorization.
Split the number into any two factors, then keep splitting each composite branch until every leaf is a prime. The leaves, multiplied together, are the prime factorization.
No. 1 is a unit, not a prime, so it has no prime factorization. Primes start at 2.
If trial division by every integer up to its square root finds no divisor, the number is prime. This calculator detects that automatically.
It comfortably factorizes numbers up to around 18 digits quickly using trial division. Extremely large semiprimes (as used in cryptography) are intentionally hard to factor.
Least common multiple with 4 methods.
Open toolGreatest common divisor & HCF.
Open toolList every divisor & factor pair.
Open toolIs a number prime or composite?.
Open toolReduce fractions to lowest terms.
Open tool