Actual widget output
Check primes in the browser

See whether a number is prime, and why not.

Each example below is the actual published output of the Prime number checker widget. Type a whole number; the answer updates as you type, and nothing you enter is sent anywhere.

This calculator needs JavaScript.

Default settings with 91: not prime, smallest factor 7 because 91 = 7 × 13, with the nearest primes 89 and 97.