Is 4 a Prime Number?

No — 4 is a composite number: 4 = 22. It has 3 factors (1, 2, 4), more than the two a prime needs. Its smallest prime factor is 2.

Is 4 prime?No — composite
Previous prime3
Next prime5
Prime factorization22

Step by step

  1. Smallest divisor: 2 (4 ÷ 2 = 2).
  2. So 4 is composite: 4 = 22

The √4 test

To check 4, divide it by each prime up to √4 ≈ 2.00. If none goes in evenly, the number is prime.

TestResultVerdict
4 ÷ 2no remainder✓ factor — so 4 is composite

Nearby primes

Previous prime: 3. Next prime: 5.

Full details: factors of 4 · all primes up to 1,000.

Is 4 prime: questions

Is 4 a prime number?

No — 4 is a composite number: 4 = 2^2.

What are the factors of 4?

1, 2, 4.

What is the next prime after 4?

5.