Skip to the content

Prime Numbers up to 1000

All 168 prime numbers from 2 to 997 in one table, a hundred numbers to a row, with the count for every hundred.

168 primes from 2 to 997

NumbersPrimes among themHow many
1 to 1002, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 9725
101 to 200101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 19921
201 to 300211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 29316
301 to 400307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 39716
401 to 500401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 49917
501 to 600503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 59914
601 to 700601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 69116
701 to 800701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 79714
801 to 900809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 88715
901 to 1000907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 99714
1 to 1000168
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

168 primes below 1000

There are 25 primes below 100 and 168 below 1000. The smallest is 2, the only even prime, and the largest in the table is 997. The number 1 is missing on purpose: a prime has exactly two divisors, and 1 has only one.

Primes become rarer as numbers grow. The first hundred holds 25 of them, the last hundred in the table only 14. They never run out, though. Euclid proved more than two thousand years ago that there is no largest prime.

The longest stretch without a prime in the table runs from 887 to 907, with 19 composite numbers in between. At the other end of the scale, 35 pairs of primes lie only 2 apart, from 3 and 5 up to 881 and 883. Such pairs are called twin primes.

How a list like this is made

The table is produced with the sieve of Eratosthenes. Write down the numbers from 2 to 1000. Take the first number, 2, and strike out all its further multiples. Go to the next number that is still standing, 3, and strike out its multiples. Carry on with 5, 7, 11 and so on. After 31 you can stop, because the next prime is 37, and 37 × 37 is already more than 1000. Eleven rounds are enough, and every number left standing is prime.

To test a single number, small or very large, use the prime number checker.

The prime factorization page splits a number into its prime factors, lists its divisors and explains how the factors are found.

See all 9