Prime Factorization Calculator
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
From 1 to 1,000,000,000,000,000.
Results
Use a whole number (1, 2, 3…).
- Prime factorization
- —
- Prime number?
- —
- Number of divisors
- —
- Previous prime
- —
- Next prime
- —
- Written out
- —
- All divisors
- —
Your input is too long to share as a link, so the page address no longer includes it.
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
- Type a whole number.
- Read its prime factorization, written with powers and written out in full.
- See whether it’s prime, its divisors, and the primes just below and above it.
Examples:
- 360 = 2³ × 3² × 5, and it has 24 divisors.
- 97 is prime: its only divisors are 1 and 97.
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.
| Parameter | What it sets |
|---|---|
n | Whole number to factorize. |
Example: https://toolabelle.com/prime-factorization/#n=360