Is 3 a Prime Number?
Updated · exact integer math
Yes, 3 is a prime number.
Divisors: 1 and 3
Why 3 is prime
To prove 3 is prime, it's enough to test every prime up to its square root, √3 ≈ 1.73.
There are no primes that small to test, so 3 is prime.
3 is the 2nd prime number. With 5 it forms a twin-prime pair (primes 2 apart).
The nearest primes are 2 (below) and 5 (above).
Numbers around 3
| Number | Prime? | Factorization |
|---|---|---|
| 0 | Neither | - |
| 1 | Neither | - |
| 2 | Prime | 2 |
| 3 | Prime | 3 |
| 4 | Composite | 2² |
| 5 | Prime | 5 |
| 6 | Composite | 2 × 3 |
| 7 | Prime | 7 |
| 8 | Composite | 2³ |
Check another number
Any whole number up to 24 digits. Commas are fine.
Try 1,000,003 or 561. Want a list instead? See the list of prime numbers.
Is 5 prime?
Yes, prime
Number of divisors
2
Previous prime
3
Next prime
7
Divisors: 1, 5
Its only divisors are 1 and 5, so it's prime.
See where 3 sits among the first hundred numbers on the prime numbers chart, or browse every number from 1 to 1,000.
Questions people ask
Is 3 a prime number?
Yes, 3 is a prime number.
What are the factors of 3?
2 factors: 1, 3.
Is 3 prime or composite?
Prime.