How to Use the Prime Factorization Calculator
This calculator allows you to find the prime factors of a whole number using the factor tree and the division(ladder) method.
To find the prime factors of a number using the factor tree method using this calculator:
- Enter the whole number you want to factorize.
- Select Factor Tree as the factorization method.
- Click Calculate.
The calculator will instantly return the prime factorization in exponent and expanded forms. It will also provide a clear, step-by-step solution, showing you how the factor tree is constructed.
However, if you prefer the ladder method,
- Enter the number you want to factorize.
- Select Division (Ladder) Method.
- Click Calculate.
The calculator will display the prime factors in expanded and exponent forms and provide you with a step-by-step solution, showing you exactly how each division was performed using the traditional ladder format.
You can switch between the two methods to see how they produce the same prime factorization.
What Is Prime Factorization?
Prime factorization is the process of expressing a whole number as a product of prime numbers. It is also known as prime decomposition.
A prime number is a whole number greater than 1 that has exactly two positive factors: 1 and itself. Examples of prime numbers include 2, 3, 5, 7, 11, and 13.
To understand prime factorization, consider the number 24. We can express 24 as a product of two factors in several ways, such as:
24 = 4 × 6
However, 4 and 6 are not prime numbers because each has more than two positive factors. Therefore, we need to break them down further.
Since 4 = 2 × 2 and 6 = 2 × 3, we can write: 24 = 2 × 2 × 2 × 3
Notice that all the factors are prime numbers. Therefore, the prime factorization of 24 is 2 × 2 × 2 × 3.
We can also express the answer in exponent form as: 24 = 23 × 3
Every whole number greater than 1 has a unique prime factorization, apart from the order in which the prime factors are written. This property is known as the Fundamental Theorem of Arithmetic.
How to do Prime Factorization
There are two common methods for finding the prime factorization of whole numbers:
- Factor Tree
- Ladder/division method
Each of these methods is discussed below.
Method 1. Factor Tree
A factor tree is a branching diagram used in math to find the prime factorization of a number by breaking it down into factor pairs until every branch ends in a prime number.
To find the prime factorization of a number using the factor tree method:
- Write the given number at the top of the tree and divide it by its smallest prime factor, starting with 2.
- Draw two branches below the number, showing the prime factor and the quotient.
- If the quotient is not prime, divide it by its smallest prime factor.
- Repeat the process until all the branches end in prime numbers.
- Multiply the prime factors together to obtain the prime factorization. You can also express the prime factorization in exponent form if necessary.
Example 1. Find the Prime Factorization of 72
To find the prime factorization of 72 using the factor tree, follow the steps:
Step 1. Divide the whole number by the smallest prime factor.
Start by determining whether 72 is divisible by the smallest prime factor. In this case, 72 is divisible by 2 since 72 ÷ 2 = 36
Therefore, we split 72 into two factors, 2 and 36, and place 72 at the top of the tree, as shown below.

Step 2. Factor the quotient.
Since 36 is not prime and is divisible by 2, we divide it by 2. That is, 36 ÷ 2 = 18
We then draw two branches below 36, showing 2 and 18, as shown below.

Step 3. Continue until all factors are prime.
The quotient, 18, is still divisible by 2 because 18 ÷ 2 = 9. Therefore, the tree becomes:

Since 9 is not prime, we divide it by the next smallest prime factor, which is 3.
9 ÷ 3 = 3
All the branches now end in prime numbers, as shown below.

Step 4. Write the prime factorization.
From the factor tree, the prime factors of 72 are 2, 2, 2, 3, and 3.
Therefore, the prime factorization of 72 is: 2 × 2 × 2 × 3 × 3
In exponent form, 72 = 23 × 32
Note: A factor tree does not have to begin with the smallest prime factor. For example, you could start with 72 = 2 × 36 or 72 = 6 × 12 and still obtain the same prime factorization. What matters is that all the final factors are prime numbers.
Method 2. Division (Ladder) Method
The division method, also known as the ladder method, involves dividing a number by prime numbers until the quotient becomes 1. It is sometimes called the cake method because of the arrangement of the divisions.
Unlike the factor tree method, which uses branches to show how a number is broken down, the division method arranges the prime divisors and quotients in a ladder format.
Therefore, to find the prime factorization using the division method:
- Write the given number on the right side of the division ladder.
- Divide it by the smallest prime number that divides it exactly.
- Write the prime divisor on the left and the quotient underneath the number being divided.
- Repeat the process with the quotient until you obtain 1.
- Multiply all the prime divisors to obtain the prime factorization.
Example 2. Find the Prime Factorization of 48
To find the prime factorization of 48 using the division (ladder) method, follow the steps:
Step 1. Divide the number by the smallest prime factor.
Start by checking whether 48 is divisible by 2. Since 48 is even, we divide it by 2 to get 24.
We write 48 on the right side of the ladder, 2 on the left, and the quotient, 24, below 48, as shown below.

Step 2. Divide the quotient by its smallest prime factor.
Since 24 is still divisible by 2, we divide it by 2 to obtain 12.
We then write 2 as the next divisor on the left side of the ladder and place 12 below 24, as shown below.

Step 3. Continue dividing until the quotient becomes 1.
The quotient, 12, is also divisible by 2 because 12 ÷ 2 = 6. Therefore, the ladder becomes:

Since 6 is still divisible by 2, we divide it by 2 to get 3. Therefore, the ladder becomes:

The next quotient is 3, which is a prime number. Since 3 is not divisible by 2, we divide it by the next prime number (3) to get 1.
Since the quotient is now 1, the division is complete. Therefore, the complete ladder becomes.

Step 4. Write the prime factorization.
From the final ladder, the prime factors of 48 are 2, 2, 2, 2, and 3.
Therefore, the prime factorization of 48 is: 2 × 2 × 2 × 2 × 3
In exponent form, 48 = 24 × 3.
Tip. Both the factor tree and division methods produce the same prime factors. You can use either method depending on which one you find easier to follow.
What If the Number Is Already Prime?
If the given number is already prime, it cannot be broken down into smaller positive prime factors. For example, consider the number 13. Its only positive factors are 1 and 13. Therefore, 13 is a prime number, and its prime factorization is simply 13.
However, the number 1 has no prime factorization because it is neither prime nor composite. Our prime factorization calculator identifies these special cases and displays an appropriate explanation.
Where Is Prime Factorization Used?
Prime factorization is useful when solving mathematical problems involving factors, multiples, fractions, and divisibility.
Some common applications include:
- Finding the greatest common factor (GCF). Express each number as a product of prime factors, identify the common prime factors, and multiply them using their lowest powers. You can also use the Greatest Common Factor Calculator to find the GCF, GCD, or HCF of two or more numbers.
- Finding the least common multiple (LCM). Prime factorization helps determine the LCM by identifying the highest power of each prime factor appearing in the given numbers. The LCM Calculator demonstrates this process using factor trees.
- Simplifying fractions. Finding the prime factors of the numerator and denominator helps identify factors that can be canceled to obtain an equivalent fraction in its simplest form.
- Simplifying square roots. Prime factorization helps identify pairs of equal prime factors that can be taken outside a square root.
- Checking divisibility. Prime factors can help determine whether one number divides another exactly. You can use the Remainder Calculator to check whether a division leaves a remainder.
Frequently Asked Questions
A prime factorization calculator is an online tool used to express a whole number as a product of prime numbers. It also shows the prime factors in exponent and expanded forms, together with a step-by-step solution using a factor tree or the division method.
Divide the number by its smallest prime factor, then continue dividing the quotient by prime numbers until you reach 1. The prime divisors obtained are the prime factors of the original number. Alternatively, use a factor tree to break the number into factors until all the final factors are prime.
The prime factorization of 100 is 2 × 2 × 5 × 5. Since both 2 and 5 appear twice, we can write the answer in exponent form as 100 = 22 × 52.
No. A prime number must have exactly two distinct positive factors: 1 and itself. However, 1 has only one positive factor, which is 1. Therefore, 1 is neither prime nor composite and has no prime factorization.
No. The factor tree method breaks a number into smaller factors using branches, while the ladder method uses repeated division by prime numbers. However, both methods give the same prime factorization.
No. The order does not matter because multiplication is commutative. For example, 2 × 3 × 5 and 5 × 2 × 3 both equal 30. The prime factors remain the same regardless of their order.
