Is 12 a prime number?

Prime Number Checker
Number

Is 12 a prime or composite number?

Answer

Number 12 is not a Prime

12 = 2² × 3

12 has 6 divisors — 1, 2, 3, 4, 6 and 12; a prime has exactly two: 1 and itself.

Primes up to √12

3² = 9 ≤ 12 < 16 = 4², so it is enough to try primes up to 3

  • ÷2 divides

12 ÷ 2 = 6 — 2 divides 12, so 12 is composite

See Also

FAQ

Is 12 a prime or composite number?

Number 12 is not a Prime

How many factors are in a number 12?

6

How to check if 12 is prime?

Divide 12 by the primes in order: 3² = 9 ≤ 12 < 16 = 4², so it is enough to try primes up to 3. The first one that divides it is 2: 12 ÷ 2 = 6, so 12 is composite.