List of Prime Numbers

Every prime up to 1,000 at a glance — and a tool to list the primes in any range you choose.

Primes found

—

Choose a range and press List primes.

Prime numbers from 1 to 1,000

There are 168 primes below 1,000. Here they are, grouped by hundreds:

RangeCountPrimes
1–100 25 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97
101–200 21 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199
201–300 16 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293
301–400 16 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397
401–500 17 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499
501–600 14 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599
601–700 16 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691
701–800 14 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797
801–900 15 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887
901–1000 14 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997

Primes under 100

The 25 primes below 100 are the ones most often needed in school:

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

How the list is made: the Sieve of Eratosthenes

Write down every number from 2 up to your limit. The first number, 2, is prime — cross out all its multiples. The next number left, 3, is prime too, so cross out its multiples. Repeat with 5, 7, 11… You only need to go up to the square root of the limit: every composite number below 1,000 has a factor smaller than √1000 ≈ 31.6.

The range tool above uses a segmented sieve, which applies the same idea to just the slice of numbers you ask for. That’s how it can list the primes between, say, 999,999,000,000 and 1,000,000,000,000 in a moment.

Interesting facts

  • Twin primes are pairs that differ by 2, like 11 and 13 or 821 and 823. Nobody has proved whether there are infinitely many.
  • Every even number above 2 appears to be the sum of two primes — Goldbach’s conjecture, still unproven after 280 years.
  • There are infinitely many primes; Euclid proved it around 300 BC.

Want to test one specific number, or break it into prime factors? Use the prime number checker.

Embed this calculator

Add the List of Prime Numbers to your school, class or blog page — free, no account needed, and calculations run locally in the browser. Paste this code where you want it to appear:

Preview

The iframe resizes itself if your site allows scripts; otherwise it uses a fixed height of 600px. Please keep the credit line — it helps other teachers find the tool.

Frequently asked questions

How many prime numbers are there between 1 and 100?

There are 25 primes below 100: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89 and 97.

How many primes are there below 1,000?

There are 168 prime numbers below 1,000. The largest is 997.

What is the smallest prime number?

2 is the smallest prime number — and the only even one. 1 is not prime, because a prime must have exactly two distinct divisors.

Is there a pattern to prime numbers?

No simple formula produces every prime, but they thin out predictably: around a number n, roughly 1 in every ln(n) numbers is prime. That is why there are 25 primes below 100 but only 168 below 1,000.

How do you find all primes in a range?

The classic method is the Sieve of Eratosthenes: write out the numbers, then cross out multiples of 2, 3, 5 and so on. Whatever is left is prime. The range tool on this page uses a fast segmented version of the same sieve.

Sources

See how we build and test our tools in our editorial policy.