Enter a number to check if it's prime or composite.
How It Works / Formula
A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers. In other words, a prime number is a number that has exactly two distinct positive divisors: 1 and itself.