Prime Factorization Calculator

Prime Factorization Calculator

Find the prime factors of a positive integer and review the expanded and exponential forms.

Last updated: March 2026 | By ForgeCalc Engineering

Prime Factorization Solver

Number decomposition

Calculation Steps

1.Number: 120
2.Prime factorization: 2 x 2 x 2 x 3 x 5
3.Exponential form: 2^3 x 3 x 5
Prime Factors
2^3 x 3 x 5

Expanded: 2 x 2 x 2 x 3 x 5

What Prime Factorization Means

Prime factorization breaks a positive integer into the prime numbers that multiply together to make it.

How to Find Prime Factors

  1. Start dividing by the smallest prime number, 2.
  2. Keep dividing while the number is divisible.
  3. Move to the next prime number and continue.
  4. Write the result in expanded or exponential form.
prime factors = product of primes

Worked Example

Example: 120 = 2^3 x 3 x 5.

120 = 2 x 2 x 2 x 3 x 5

Frequently Asked Questions

Can 1 be factored?

No. The number 1 has no prime factorization in the usual sense.

Does the order of factors matter?

No. Prime factors may be written in any order, though ascending order is common.

Can this handle large integers?

Yes, within the limits of JavaScript number precision.

What if the number is prime?

Then the factorization is just the number itself.

Related Tools