Prime Factorization Calculator

From 1 to 1,000,000,000,000,000.

Results

Prime factorization
—
Prime number?
—
Number of divisors
—
Previous prime
—
Next prime
—
Written out
—
All divisors
—

Every whole number above 1 is a product of prime numbers in exactly one way. Type a number to see that product, its divisors and whether it’s prime itself.

How to use it

  1. Type a whole number.
  2. Read its prime factorization, written with powers and written out in full.
  3. See whether it’s prime, its divisors, and the primes just below and above it.

Examples:

Questions and answers

What is a prime number?

A whole number greater than 1 whose only divisors are 1 and itself: 2, 3, 5, 7, 11, 13… 1 is not prime.

How is the number of divisors worked out?

Add 1 to each exponent in the factorization and multiply: 360 = 2³ × 3² × 5¹ has (3 + 1) × (2 + 1) × (1 + 1) = 24 divisors.

How big a number can it handle?

Up to 10¹⁵ (a quadrillion). The prime check is exact, and the factorization takes at most a fraction of a second in your browser.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
nWhole number to factorize.

Example: https://toolabelle.com/prime-factorization/#n=360

Related tools