Is 1 a Prime Number? Why Not, and Why 2 Is the Only Even Prime
Why 1 is not a prime number, why 2 is the only even prime, how 0 and negative numbers are classed, and how to check any number with a free prime checker.
The short answer
No, 1 is not a prime number. A prime is a whole number greater than 1 that has exactly two different factors: 1 and itself. The number 1 has only one factor, so it is neither prime nor composite. The smallest prime is 2, which is also the only even prime. You can check any number in the free Prime Number Checker, which says "1 is neither prime nor composite" when you enter 1.
The definition, carefully
A prime number is a whole number greater than 1 whose only factors are 1 and the number itself.
A composite number is a whole number greater than 1 that has at least one other factor.
The phrase "greater than 1" is there on purpose. Here is how the smallest numbers sort out:
| Number | Factors | Type |
|---|---|---|
| 0 | Every number divides 0 | Neither prime nor composite |
| 1 | 1 | Neither prime nor composite |
| 2 | 1, 2 | Prime |
| 3 | 1, 3 | Prime |
| 4 | 1, 2, 4 | Composite |
| 5 | 1, 5 | Prime |
| 6 | 1, 2, 3, 6 | Composite |
| 7 | 1, 7 | Prime |
| 8 | 1, 2, 4, 8 | Composite |
| 9 | 1, 3, 9 | Composite |
| 10 | 1, 2, 5, 10 | Composite |
Why mathematicians exclude 1
"It has only one factor" is the textbook reason. The deeper reason is about what primes are for.
Every whole number greater than 1 can be written as a product of primes in exactly one way, apart from the order. This is called the fundamental theorem of arithmetic. For example:
- 12 = 2 × 2 × 3
- 60 = 2 × 2 × 3 × 5
If 1 counted as prime, that "exactly one way" would break. You could write 12 as 2 × 2 × 3, or 1 × 2 × 2 × 3, or 1 × 1 × 2 × 2 × 3, and so on forever. Every statement about prime factorisation would need the phrase "primes other than 1". Leaving 1 out keeps the rules clean.
Historically, not everyone agreed. Some mathematicians in earlier centuries did list 1 as a prime. The modern convention, used in schools, exams and maths everywhere today, is that 1 is not prime.
Is 2 a prime number?
Yes. Its only factors are 1 and 2, so it fits the definition exactly. It is the smallest prime.
Why 2 is the only even prime
Every even number is divisible by 2. So any even number bigger than 2 has at least three factors: 1, 2 and itself. That makes it composite.
- 4 = 2 × 2
- 6 = 2 × 3
- 100 = 2 × 50
So 2 is the only even number that is prime. Every other prime is odd. That doesn't mean every odd number is prime: 9, 15 and 21 are odd but composite.
What about 0 and negative numbers?
- 0 is not prime and not composite. Every non-zero number divides 0, so it doesn't have "exactly two" factors.
- Negative numbers are not prime under the usual school definition, which only covers whole numbers greater than 1. In more advanced algebra, −7 is described as an "associate" of 7, but that is beyond what exams expect.
How the checker handles these cases
Open the Prime Number Checker and type a positive whole number.
- 1: "1 is NOT a prime number", with the note "1 is neither prime nor composite by definition".
- 2: "2 is a prime number".
- A composite number such as 60: "60 is NOT a prime number", with its prime factorisation,
60 = 2^2 × 3 × 5. - 0 or an empty box: no result is shown, because the checker only works with positive whole numbers.
The List Primes tab lists every prime up to a limit you choose, from 10 to 1,000. Up to 100 there are 25 primes, starting 2, 3, 5, 7, 11. The full list and the sieve method are in prime numbers 1 to 100.
The first 15 primes
| Position | Prime | Position | Prime | Position | Prime |
|---|---|---|---|---|---|
| 1st | 2 | 6th | 13 | 11th | 31 |
| 2nd | 3 | 7th | 17 | 12th | 37 |
| 3rd | 5 | 8th | 19 | 13th | 41 |
| 4th | 7 | 9th | 23 | 14th | 43 |
| 5th | 11 | 10th | 29 | 15th | 47 |
Apart from 2 and 3, every prime is one more or one less than a multiple of 6, such as 5, 7, 11 and 13. The reverse isn't true: 25 is one more than 24 but equals 5 × 5.
Quick test for small numbers
To check whether a number is prime by hand, you only need to try dividing by primes up to its square root.
Example: is 91 prime?
- √91 is a little over 9.5, so try 2, 3, 5 and 7.
- 91 ÷ 7 = 13 exactly.
- So 91 = 7 × 13 and is composite.
Example: is 97 prime?
- √97 is a little under 10, so try 2, 3, 5 and 7.
- None divides evenly.
- So 97 is prime.
For a step-by-step method with larger numbers, see how to check if a number is prime.
Common mistakes
- Saying 1 is prime because "it's only divisible by 1 and itself". For 1, "1 and itself" is the same number, so that is one factor, not two.
- Saying 2 isn't prime because it's even. Being even only rules out numbers above 2.
- Assuming all odd numbers are prime. 9, 15, 21, 25 and 27 are all odd composites.
- Calling 1 composite. It is neither.
Frequently asked questions
Is 1 a prime number?
No. A prime is a whole number greater than 1 with exactly two different factors, 1 and itself. The number 1 has only one factor, so it is neither prime nor composite.
Is 2 a prime number?
Yes. Its only factors are 1 and 2. It is the smallest prime and the only even prime.
Why is 2 the only even prime number?
Every even number is divisible by 2, so any even number above 2 has at least three factors: 1, 2 and itself. That makes it composite.
Is 0 a prime number?
No. Zero is neither prime nor composite, because every non-zero number divides it.
What is the smallest prime number?
2.
Put this guide into practice with our free online tool — no signup required.
Open tool