Is 30 a prime number?

Prime Number Checker
Number

Is 30 a prime or composite number?

Answer

Number 30 is not a Prime

30 = 2 × 3 × 5

30 has 8 divisors — 1, 2, 3, 5, 6, 10, 15 and 30; a prime has exactly two: 1 and itself.

Primes up to √30

5² = 25 ≤ 30 < 36 = 6², so it is enough to try primes up to 5

  • ÷2 divides

30 ÷ 2 = 15 — 2 divides 30, so 30 is composite

See Also

FAQ

Is 30 a prime or composite number?

Number 30 is not a Prime

How many factors are in a number 30?

8

How to check if 30 is prime?

Divide 30 by the primes in order: 5² = 25 ≤ 30 < 36 = 6², so it is enough to try primes up to 5. The first one that divides it is 2: 30 ÷ 2 = 15, so 30 is composite.