Free Prime Number Checker

Check whether any number is prime, find its prime factorization, and explore properties like divisors and digit sum. A fast, educational tool for students and math enthusiasts.

Prime Checker

97 is prime
Prime Factors97
Number of Divisors2
Digit Sum16
Is EvenNo

How to Use

Enter any whole number greater than 1 and click Check. The calculator will tell you if it's prime and provide a complete prime factorization. You'll also see the number of divisors, digit sum, and whether it's even or odd.

A prime number is a whole number greater than 1 that can only be divided evenly by 1 and itself. The first few primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, and 29.

How It Works

The calculator uses trial division up to the square root of the number. If the number has no divisors other than 1 and itself, it's prime. For factorization, it repeatedly divides by the smallest possible prime factor until the result is 1.

Check divisors up to √n
97 → no divisors found → prime

Frequently Asked Questions

No. A prime number must have exactly two distinct divisors (1 and itself). The number 1 has only one divisor (itself), so it is neither prime nor composite. It's called a unit.
As of 2025, the largest known prime is 2^136,279,841 − 1, a Mersenne prime with over 41 million digits. It was discovered by the Great Internet Mersenne Prime Search (GIMPS).
Primes are the building blocks of all numbers (every number has a unique prime factorization). They're essential in cryptography (RSA encryption), random number generation, and many areas of mathematics and computer science.