Math
Prime Number Calculator
Check whether a number is prime.
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
A prime number has exactly two divisors: 1 and itself.
The math behind it
Test divisibility by every number up to √n; if none divide it, it's prime.
Worked Example
97 is prime.
Frequently Asked Questions
Is 1 prime?
No — primes need exactly two distinct divisors.
Advertisement