MATH TOOL

Prime Number Checker

Check whether a number is prime and see its factors.

Result

Factors

About this tool

Enter a whole number to check whether it's prime — divisible only by 1 and itself — and see its full list of factors either way.

Frequently asked questions

Is 1 a prime number?
No — by definition, a prime number has exactly two distinct factors (1 and itself). Since 1 only has one factor, it's classified as neither prime nor composite.
What about negative numbers or zero?
Primality is defined for positive integers greater than 1, so 0, negative numbers, and 1 are all shown as not prime rather than being evaluated as such.
Is there a limit to how large a number I can check?
Very large numbers (many digits) may take noticeably longer to check since this uses straightforward trial division rather than an advanced primality test.