A prime number is an integer greater than 1 with exactly two positive divisors: 1 and itself. A composite integer is greater than 1 and has another factor. Zero and one are neither prime nor composite, and 2 is the only even prime.
The Prime Number Calculator classifies one whole number from 0 through 2,147,483,647. For a composite input it shows the smallest nontrivial factor and a factor pair. It also reports a trial-division bound, helping you understand why factors only need to be considered through the square root.