Prime factorization calculator
Break a positive integer into its prime factors.
Calculator
How to use this calculator
Factor a supported positive integer into primes and their multiplicities.
- Enter Integer (2 to 1,000,000,000,000). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Express a positive integer as a product of primes
Prime factorization writes an integer greater than one as a product of prime numbers, with repeated factors shown as powers.
Inputs and units
- Integer (2 to 1,000,000,000,000): Enter a whole number in the supported inclusive range.
Formula and method
Test prime divisors and divide repeatedly while each divides the remaining quotient. Stop when the remaining quotient is 1 or prime; group repeated factors as exponents.
Worked example
For 360: divide by 2 three times to get 45, by 3 twice to get 5, then stop. Thus 360 = 2³ × 3² × 5.
Interpreting the result
The exponents show how often each prime occurs. Multiplying the factors back together checks the result: 8 × 9 × 5 = 360.
Assumptions and limits
The input range is limited for runtime. A factorization does not by itself explain whether a number is prime or how a factorization is used in a particular application.
Frequently asked questions
Can a factorization contain the same prime more than once?
Yes. Repeated prime factors are grouped as powers, such as 2³.
What is the prime factorization of 1?
One has no prime factors; the calculator starts at 2.
How do I use the Prime factorization calculator?
Enter Integer (2 to 1,000,000,000,000). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Prime factorization?
For 360: divide by 2 three times to get 45, by 3 twice to get 5, then stop. Thus 360 = 2³ × 3² × 5.
What does the Prime factorization calculator calculate?
Factor a supported positive integer into primes and their multiplicities.
Good calculators show their work.
CalcWorldHub is built around clear inputs and visible assumptions. Results are estimates for planning; check official sources or your provider’s terms when exact figures matter.