Prime Number Calculator
Test a whole number for primality and meet its neighbouring primes.
A whole number from 1 to 1 000 000 000 000
Try
Result
You entered
Next prime
Show the work
Definition of a prime number
A prime has exactly two different factors, and itself. The number has only one factor, so it is not prime (and it is not composite either).
Result
So is not prime.