Prime number checker
Check whether a number is prime and find its smallest divisor.
Related tools
All Numbers & arithmetic tools →Enter Number and the Prime number checker works out Prime?, Smallest divisor straight away. For instance, with Number = 97 it returns Prime? = yes and Smallest divisor = 97.
How to use it
- Enter your values: Number.
- Read the result instantly: Prime?, Smallest divisor.
Frequently asked questions
What does the Prime number checker actually compute?
It takes Number and derives Prime? and Smallest divisor from them. The calculation is live as you type, so the result updates on every change.
What information do I need to provide?
A single value: Number. Nothing else is required — no account, no file upload.
Can you show a worked example?
With Number = 97, the calculator returns Prime? = yes and Smallest divisor = 97. Those figures come from running this exact tool, so you can reproduce them by entering the same values.
When would I actually use this?
Reading a number written another way: a Roman numeral on a monument, a hexadecimal colour, a binary byte, or a fraction that needs reducing.
What is the most common mistake?
Assuming a decimal fraction survives a change of base. A tenth is exact in decimal and infinitely repeating in binary, which is why 0.1 + 0.2 is not 0.3 in most programming languages.
What is the difference between the Prime number checker and the Prime factorization calculator?
This one returns Prime? and Smallest divisor; the Prime factorization calculator returns Prime factorization and Number of prime factors. That is the whole difference — open the one whose figure you need.
Is there a tool for the next step?
First n prime numbers is the closest one after this: List the first n prime numbers — the building blocks of arithmetic that have no divisors but 1 and themselves. Enter how many you want (up to 10,000) and it returns the sequence, the nth prime itself and the sum of them all.
What else is worth having open alongside it?
List of prime numbers and Twin prime finder — they come up in the same task often enough to be worth a second tab.
Where do the figures come from, and how current are they?
Base conversion and number-theory results are exact. Roman numerals follow the standard subtractive form used since the Middle Ages, which is not the only one the Romans themselves used.