Prime Number Checker

Find out if a number is prime and see its prime factorization.

Loading tool...

How to use Prime Number Checker

  1. Enter a whole number.
  2. Read whether it is prime.
  3. See the prime factors and the next and previous prime.

About this tool

A prime number has exactly two divisors: 1 and itself. The checker tests divisibility up to the square root of the number, which is fast enough for values up to about 10^15. Composite numbers are broken into prime factors, such as 360 = 2^3 x 3^2 x 5.

The number 1 is not prime, and 2 is the only even prime.

Frequently Asked Questions

Is 1 a prime number?
No. Primes must have exactly two distinct divisors, and 1 has only one.
What is the largest number I can check?
This tool accepts values up to 1,000,000,000,000,000 (10^15).

Related tools