CalcAxis/Math/Prime Number
MathUpdated · Aug 2026

Prime Number Calculator

Check whether a whole number is prime, list its factors, and show nearby prime numbers.

~30s to useFormula and inputs shown·1 FAQ
Start with your numbers

Prime Number Calculator

Change the inputs that matter to your decision. Optional assumptions stay collapsed until you need them.

Test a whole number

Check primality, list factors, show nearby primes, and explain the test.

Prime
Classification
Prime

97 is divisible only by 1 and itself.

Previous prime89
Next prime101
Factors1, 97
Prime factorization97

Test divisors only up to √97.

No divisor was found, so the number is prime.

Primality is tested by checking possible divisors up to the square root.

/ 01 · FAQ

Frequently asked questions

Practical notes about the inputs, assumptions, and result.

A prime number greater than 1 has exactly two positive factors: 1 and itself.

⌘K
esc to close · to open live tools