Skip to content

About the Prime Checker

Test whether a number is prime and, for numbers up to 10¹², list its prime factors.

How to use it

Examples

Questions

How is it calculated?
deterministic Miller–Rabin test; trial division for the factorization
What does it assume?
Miller–Rabin with the first twelve prime bases is deterministic below 3.2 × 10²³; this tool accepts numbers up to 9.0 × 10¹⁵, so the answer is exact. 0 and 1 are not prime.
Is my input uploaded?
No. Everything is calculated in your browser tab and nothing is uploaded or stored.

Free and runs in your browser. Sign in only if you want to save your work.