Is 128 a Prime Number?

No — 128 is a composite number: 128 = 27. It has 8 factors (1, 2, 4, 8, 16, 32, 64, 128), more than the two a prime needs. Its smallest prime factor is 2.

Is 128 prime?No — composite
Previous prime127
Next prime131
Prime factorization27

Step by step

  1. Smallest divisor: 2 (128 ÷ 2 = 64).
  2. So 128 is composite: 128 = 27

The √128 test

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

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

Nearby primes

Previous prime: 127. Next prime: 131.

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

Is 128 prime: questions

Is 128 a prime number?

No — 128 is a composite number: 128 = 2^7.

What are the factors of 128?

1, 2, 4, 8, 16, 32, 64, 128.

What is the next prime after 128?

131.