Formula
n is prime if no divisor in 2..√n
Worked example
With these values
- Number
- 97
The calculator gives
- Is it prime?
- Yes
- Prime factorization
- 97
These values are only an illustration. Replace them with yours in the form above.
How to use this calculator
Change any value: results update as you type. Copy a result with one click, or share a link that keeps all your values.
Read the guide
Questions
How is the result calculated?
The calculator applies this rule: n is prime if no divisor in 2..√n
Is it free?
Yes. It is free, needs no account, and works on phone and desktop.
Are my numbers stored?
Everything runs in your browser. Nothing you type is sent to a server.