Prime Number Checker
Enter an integer to instantly test whether it is a prime number.
Calculator
Prime Number Checker
Result
—
Formula
trial division up to √n
Step-by-step
- 1
Enter the number
Any integer greater than 1 can be tested.
- 2
Read the verdict
The result shows whether the number is prime.
Worked example
Example input: n: 97
Result: 97 is prime
Related tools
- Prime Factorization
Break a number into primes.