Enter a number and get its prime factor tree diagram, the prime factorisation in index form and the number of factors.
Loading the simulation…
How to use
- Enter a whole number up to 1 000 000.
- Press “Draw the tree”.
- The green leaves are the prime factors.
Formula
$n = p_1^{a_1} p_2^{a_2}\cdots \Rightarrow \text{number of factors} = (a_1+1)(a_2+1)\cdots$
Level: School (Classes 5–10) · Topic: Number theory
Frequently asked questions
What is a factor tree?
A diagram that splits a number into factors repeatedly until only primes remain.
Is the prime factorisation unique?
Yes — the Fundamental Theorem of Arithmetic.
Related tools
Number theoryPrime factorisationFactorise numbers up to 10¹² with division steps.Number theoryHCF & LCM calculatorHCF and LCM of several numbers with Euclid’s steps.ArithmeticPercentage calculatorPercent of a number, what percent, percentage change and increase/decrease — with working.ArithmeticFraction calculatorExact fraction and mixed-number arithmetic with simplest, mixed and decimal forms.ArithmeticRatio & proportion calculatorSimplify ratios, solve a : b = c : x and divide an amount in a ratio.AlgebraLinear equation solverSolve pairs of linear equations exactly (Cramer’s rule).