Calculators / Whole numbers

Prime Number Checker

Check whether a whole number is prime with a bounded, exact divisibility test.

Enter a whole number to check whether it is prime.

97 → prime
Prime Number Checker

Positive values up to 1,000,000,000 are supported.

Number formats and limits

Whole numbers only; a leading minus sign is allowed.

Positive inputs up to 1,000,000,000. Negative inputs, 0 and 1 are immediately classified as not prime.

Your result

Your answer will appear here.

Calculated in your browser. Your inputs stay on your device.