Prime Number Checker & Prime List Generator

Find out whether a number is prime and what it is made of. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified

How to use it

  1. Choose to check a number or list a range.
  2. Enter the number, or the start and end.
  3. Read the answer, factors and neighbouring primes, or copy the list.

How it works

A number n is tested by trying divisors of the form 6k ± 1 up to √n (trial division), which gives an exact answer. Ranges are listed with the Sieve of Eratosthenes. 1 is not prime; 2 is the only even prime.

Examples

  • 91 = 7 × 13 is not prime. There are 25 primes below 100 and 168 below 1,000.

Limitations

  • Numbers up to 10^15 are checked exactly; very large numbers (such as those used in cryptography) are beyond this tool.
  • Lists show the first 2,000 primes of a range, with the total count.

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.