Skip to content
TabKiwiTabKiwi

Prime Number Checker

Check whether a number is prime, see its prime factorization, and find the next and previous primes.

UtilitiesRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Enter a whole number of up to 200 digits to find out instantly whether it is prime. Composite numbers are broken into their prime factors, and the nearest primes on either side are listed along with the number of divisors. All of this runs in your browser with big-integer arithmetic.

How to use Prime Number Checker

  1. Type or paste a whole number.
  2. Read whether it is prime or composite.
  3. Check the factorization and neighbouring primes below.

Frequently asked questions

Is 1 a prime number?

No. A prime has exactly two divisors, 1 and itself, so 1 is neither prime nor composite.

How reliable is the result for huge numbers?

Below about 3.3 × 10²⁴ the Miller–Rabin test used here is exact. Above that it is probabilistic, but a wrong answer is astronomically unlikely.

Why is a factor sometimes left unsplit?

Factoring very large numbers is hard. If a factor can't be split within a short time limit, it is shown as a remaining composite factor.

More Utilities tools

View all 78 →