Prime numbers up to 1000

A prime has exactly two divisors: 1 and itself. Below are all of them up to 1000, ten per row.

Prime numbers up to 1000

Table of the 168 prime numbers from 2 to 997
All 168 of them, ten per row
Download PNG
The table as text (to copy)
Prime numbers up to 1000
2357111317192329
31374143475359616771
7379838997101103107109113
127131137139149151157163167173
179181191193197199211223227229
233239241251257263269271277281
283293307311313317331337347349
353359367373379383389397401409
419421431433439443449457461463
467479487491499503509521523541
547557563569571577587593599601
607613617619631641643647653659
661673677683691701709719727733
739743751757761769773787797809
811821823827829839853857859863
877881883887907911919929937941
947953967971977983991997

Exact values for any input: GCD, LCM and prime factorisation

Embed on your site

Paste this code into your page’s HTML. The tool sets its own height, and the link to Kalkio has to stay visible.

Calculator by Kalkio · kalkio.app

Checking whether a number is prime

Only primes up to its square root need testing. For 899: √899 ≈ 29.98, so test 2, 3, 5, …, 29; 899 = 29 × 31, so it isn’t prime.

The table was made with the sieve of Eratosthenes: cross out the multiples of each prime in turn.

Facts

  • 2 is the only even prime.
  • 1 isn’t prime (it has only one divisor).
  • There are 25 primes below 100 and 168 below 1000.

Common questions

How many primes are there below 1000?

168. The largest is 997.