Prime Factorization Calculator
Break a whole number of any size into prime factors and check whether it is prime.
Type a whole number, or an expression such as 2^64 + 1 or 100!, to see its prime factors with their powers and whether it is a prime number. Numbers up to 1,000 digits are handled; small and medium factors are found in moments. It all runs in your browser, so what you type never leaves your device; it's free and needs no sign-up.
How to find prime factors
- Type the number or an expression that gives a whole number.
- Read whether it is prime and its prime factors, such as 2³ × 3² × 5, and copy them.
Features
- Numbers up to 1,000 digits, or expressions such as 2^64 + 1
- A prime test that is proven up to 24 digits
Is it private?
Yes. The factoring runs in your browser; nothing you type is uploaded or stored.
Frequently asked questions
Can it factor any number?
Any number whose factors are not all huge. Factors of up to about 12 digits are found in seconds; a product of two very large primes (as used in cryptography) can't be split quickly by anyone, so that part is shown as not split.
What does "almost certainly prime" mean?
The number passed every primality test used, and no number is known that passes them all without being prime, but above 24 digits the tests are not a formal proof.