Is 18 a Prime Number?
No — 18 is a composite number: 18 = 2 × 32. It has 6 factors (1, 2, 3, 6, 9, 18), more than the two a prime needs. Its smallest prime factor is 2.
Is 18 prime?No — composite
Previous prime17
Next prime19
Prime factorization2 × 32
Step by step
- Smallest divisor: 2 (18 ÷ 2 = 9).
- So 18 is composite: 18 = 2 × 32
The √18 test
To check 18, divide it by each prime up to √18 ≈ 4.24. If none goes in evenly, the number is prime.
| Test | Result | Verdict |
|---|---|---|
| 18 ÷ 2 | no remainder | ✓ factor — so 18 is composite |
Nearby primes
Previous prime: 17. Next prime: 19.
Full details: factors of 18 · all primes up to 1,000.
Is 18 prime: questions
Is 18 a prime number?
No — 18 is a composite number: 18 = 2 × 3^2.
What are the factors of 18?
1, 2, 3, 6, 9, 18.
What is the next prime after 18?
19.