🔍 Prime Number Checker

Works for integers up to 1015.

Loading calculator…

How it's calculated

Trial division by 2, 3 and 6k ± 1 up to √n.

Was this helpful?

Results are estimates for information only. Calculations run privately in your browser.