Prime factorization calculator

Find the prime factorization of an integer from 2 to 1 trillion. See the product of prime factors with their exponents and copy the result.

Your inputs stay herePUFFINMINT

Set your data

Set your data

Factor an integer from 2 to 10¹² into primes. Example: 360 = 2^3 × 3^2 × 5. Zero, one and decimals are not supported.

Result

Enter your data and run the tool. Your result will appear here.

The values you enter stay on this page. Reloading or closing it clears them.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use the tool

  1. Fill in these fields: Integer to factor (2–10¹²).
  2. Select “Calculate” to obtain the result.
  3. Factor an integer from 2 to 10¹² into primes.
  4. Example: 360 = 2^3 × 3^2 × 5.
  5. Zero, one and decimals are not supported.
  6. Open the branches one at a time to see how the number splits into factors.
  7. Show all steps · Copy steps

Method and principles

Formula

n = p 1 a 1 × p 2 a 2 × …

Prime factorization example

For 360, the result is 2³ × 3² × 5. Multiply the factors to get the original number back. An exponent shows how many times a factor appears. Entering a prime number returns just that number. The number 1 has no prime factorization and is outside the accepted input range.

Practical example

Input
  • Integer to factor (2–10¹²): 360
Result
360 = 2 3 × 3 2 × 5

Limits and checks

Limits and checks
ParameterValue
Integer to factor (2–10¹²)≥ 2; ≤ 1000000000000

Favorites