Skip to content

Prime Numbers from 1 to 100

The full list of the 25 prime numbers from 1 to 100, with a chart, counts and the sieve method.

  • Prime numbers
  • Checked 10 Oct 2026
Answer

There are 25 prime numbers from 1 to 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, 97.

Prime numbers 1 to 100: there are 25 of them. Here they are in order: 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.

A prime number has exactly two factors, 1 and itself. In the chart below the prime numbers are highlighted, and every other number from 2 to 100 is composite.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100

How many prime numbers are there between 1 and 100?

The total is 25. Of these, 15 lie between 1 and 50 and 10 lie between 51 and 100. Only one of them is even, the number 2, so there are 24 odd prime numbers from 1 to 100. The other 74 numbers from 2 to 100 are composite, and 1 is neither prime nor composite.

Prime numbers 1 to 100 in groups of ten

Primes get a little rarer as numbers grow. Look at how many fall in each row of ten:

RangePrime numbersCount
1 to 102, 3, 5, 74
11 to 2011, 13, 17, 194
21 to 3023, 292
31 to 4031, 372
41 to 5041, 43, 473
51 to 6053, 592
61 to 7061, 672
71 to 8071, 73, 793
81 to 9083, 892
91 to 100971

Prime numbers from 1 to 50

There are 15 prime numbers from 1 to 50: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47.

From 51 to 100 there are 10 primes: 53, 59, 61, 67, 71, 73, 79, 83, 89, 97. The largest prime number below 100 is 97. You can see how to write 97 in words and 97 in Roman numerals.

How to find prime numbers from 1 to 100: the sieve

The Sieve of Eratosthenes is the classic way to find every prime up to 100. It works like a filter.

  1. Write the numbers 1 to 100 in a 10 by 10 grid. Cross out 1, since it is not prime.
  2. Circle 2. Cross out every other multiple of 2: 4, 6, 8 and so on.
  3. Circle 3. Cross out every multiple of 3 that is still left: 9, 15, 21 and so on.
  4. Circle 5 and cross out its multiples. Then circle 7 and cross out its multiples. The first new one to go is 49, since 49 = 7 × 7.
  5. Stop here. The next prime is 11, and 11 × 11 = 121 is already more than 100. Every number still not crossed out is prime.

This works because any composite number up to 100 must have a prime factor of 7 or less. The trickiest ones to catch are 49 (7 × 7), 77 (7 × 11) and 91 (7 × 13). The table of 7 helps here.

The same idea is used when you print prime numbers from 1 to 100 in Python, Java or C. The program loops through each number and tries to divide it by smaller numbers up to its square root. If nothing divides it, the number is printed.

Quick facts about prime numbers 1 to 100

  • Sum of all prime numbers from 1 to 100: 1060.
  • Smallest prime: 2. Largest prime below 100: 97.
  • Odd prime numbers from 1 to 100: all 25 except 2, so 24.
  • Twin prime pairs from 1 to 100: (3, 5), (5, 7), (11, 13), (17, 19), (29, 31), (41, 43), (59, 61), (71, 73). That is 8 pairs.
  • Twin primes from 1 to 50: 6 pairs. From 51 to 100: (59, 61), (71, 73).
  • The decade from 91 to 100 has only one prime, 97.

Prime numbers beyond 100

Primes keep going. Here are the counts for bigger ranges:

RangeNumber of primes
1 to 5015
1 to 10025
1 to 20046
1 to 50095
1 to 1000168
1 to 100001229

For the full list up to 1000, see prime numbers 1 to 1000. For the meaning of primes and how they differ from composite numbers, read our guide to prime numbers. Numbers like 8 and 15 are not prime but still have no common factor; those are co-prime numbers.

Check any number yourself with the prime checker:

Questions people ask

How many prime numbers are there between 1 and 100?

There are 25 prime numbers between 1 and 100. Fifteen of them are from 1 to 50 and ten are from 51 to 100. The smallest is 2 and the largest is 97.

What are the prime numbers from 1 to 50?

The prime numbers from 1 to 50 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47. That makes 15 primes in total.

What is the sum of prime numbers from 1 to 100?

The sum of all 25 prime numbers from 1 to 100 is 1060. You get it by adding 2 + 3 + 5 + 7 and so on up to 97.

What are the twin prime numbers from 1 to 100?

The twin prime pairs from 1 to 100 are (3, 5), (5, 7), (11, 13), (17, 19), (29, 31), (41, 43), (59, 61), (71, 73). Each pair has two primes with a gap of 2. There are 8 such pairs.

How many prime numbers are there from 1 to 1000?

There are 168 prime numbers from 1 to 1000. Of these, 25 are below 100 and 95 are below 500. The largest prime below 1000 is 997.