Prime Number Reference Table

RangePrimesRangePrimes
1-92, 3, 5, 750-5953, 59
10-1911, 13, 17, 1960-6961, 67
20-2923, 2970-7971, 73, 79
30-3931, 3780-8983, 89
40-4941, 43, 4790-9997
NThe Nth primeNThe Nth prime
12100541
10295003,571
25971,0007,919
5022910,000104,729
Limit xPrimes below xx / ln(x) says
1044
1002522
1,000168145
10,0001,2291,086
100,0009,5928,686
1,000,00078,49872,382
–Nth prime vs estimate
Records and counts are tracked by the PrimePages at the University of Tennessee at Martin: t5k.org. Work the other direction with the primality checker and factorials.

Prime questions come in exactly three shapes: is this number prime, which prime is the Nth one, and how many primes live below some limit. Checkers answer the first; this table answers the other two with anchors you can cite without a computer.

Bottom line: the 25 primes below 100 are the working set for all by-hand factoring; the 100th prime is 541, the 1,000th is 7,919, and the 10,000th is 104,729. Below a million there are 78,498 primes - roughly one number in 13.

The honest part: primes thin out as numbers grow - the count below x hugs x divided by the natural log of x, so doubling the limit less than doubles the count. The table's approximation column shows the estimate is always a touch low; add about x divided by log-squared to tighten it.

How to use

  1. Scan the decade rows for the primes below 100 - the by-hand factoring toolkit.
  2. Use the Nth-prime anchors for benchmarks: quiz answers, hash sizing, or sanity checks.
  3. Enter N in the finder below to get any prime up to the 10,000th, with the estimate for comparison.

Frequently asked questions

What is the 100th prime number?

541. Nearby anchors: the 50th prime is 229, the 500th is 3,571, and the 1,000th is 7,919. Primes thin out, so the 100th prime sits well above the naive guess of 100 x log(100) - the anchors beat estimating once you need the exact value.

How many prime numbers are there below 1,000?

168. Below 100 there are 25, below 10,000 there are 1,229, below a million 78,498. The prime-count estimate x divided by ln(x) runs about 15% low at 1,000 (145 versus 168) - a better mental model is x divided by (ln x minus 1), which lands close at every scale in the table.

What is the largest known prime?

As of late 2024 the record is 2^136,279,841 - 1, a Mersenne prime with 41,024,320 digits found by GIMPS - the first discovered with GPU computing. Records grow fast; the PrimePages list at t5k.org is refreshed hourly with the current top 5,000.

Why is 1 not a prime number?

A prime needs exactly two distinct factors, and 1 has only itself. Excluding 1 is what makes the fundamental theorem unique: 12 = 2 x 2 x 3 and nothing else. Admitting 1 as prime would force every factorization to be padded with arbitrary 1s, and the whole Edifice of number theory rests on that uniqueness.

Related tools