Prime Number Checker
Check whether a number is prime and show its smallest divisor.
Best for: Use it in cryptography, number theory, or to check a factor.
Input
How it's calculated & sources
Free & no sign-up · runs entirely in your browser. Results are estimates for general information, not professional advice — verify important decisions with a qualified expert. Last reviewed June 2026.
How it works
n is prime if it has no divisors other than 1 and itself. Check divisors up to √n.
Example
17 is prime. 21 = 3 × 7 is not.
Frequently asked questions
Is 1 prime?+
No — primes are defined as integers > 1 with exactly two divisors.
Continue your journey
Where people usually head next.