How prime number checker works
Tests divisibility by 2 and odd integers through the square root.
Try an example
97 is prime; 91 is divisible by 7.
Good to know
Integers 0–1,000,000,000,000. This deterministic tool is not a cryptographic prime generator.
Your privacy
Processing happens on this device. We do not upload your input, put it in share links or save it to your favourites. Closing this tab discards the working input; downloaded results remain wherever you save them.