How to Use the Prime Number Checker: Steps and a Worked Example
Check whether a number is prime and see its prime factorization and the nearest primes. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Prime Number Checker tool is free, needs no account and runs in your browser.
What you need
- Whole number, for example 97
Step by step
- Open the Prime Number Checker tool.
- Fill in Whole number.
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Whole number: 97
the tool returns:
97 is a prime number.
Next prime: 101
Previous prime: 89
A second example
Changing Whole number 97 to 194 gives:
194 is not prime (composite).
Prime factorization: 2 × 97
Next prime: 197
Previous prime: 193
Comparing two runs like this is a quick way to see how much each input moves the result.
How it works
The calculation is: Trial division up to √n. Enter a whole number up to one trillion. You see whether it is prime and, if it is not, its prime factors.
Things to keep in mind
Supports numbers up to 1,000,000,000,000.
Related tools
If this is not quite what you need, try Prime Factorization Calculator, LCM Calculator or GCF Calculator.