Enter an integer to test primality; if composite, see the smallest prime factor and full factorization.

Examples

  • Is 97 prime? → Yes. Is 91 prime? No — 7 × 13.

Frequently asked questions

What is the smallest prime?

2 is the smallest and only even prime number.

Related calculators