OneTool

Prime Factorization Calculator

Prime factors in exponent form, plus an is-it-prime check.

360 is composite.

  • Prime factorization

    2^3 × 3^2 × 5

  • Distinct prime factors

    2, 3, 5

What is this tool?

Every whole number greater than 1 is either prime or a unique product of primes. This calculator factors numbers up to one trillion using fast trial division, shows the factorization in exponent form (360 = 2³ × 3² × 5), lists the distinct prime factors, and tells you outright when the number is prime.

How to use it

  1. Enter a whole number from 2 to 1,000,000,000,000.
  2. Read whether it's prime or composite.
  3. See the full prime factorization and distinct prime factors.