Is 40 a Prime Number?
Is 40 prime?
No
40 = 2³ × 5 (divisible by 2).
Why
40 is composite because it is divisible by 2 (40 = 2³ × 5), so it has factors other than 1 and itself.
A prime number is a whole number greater than 1 whose only factors are 1 and itself. To check 40, test whether any prime up to √40 divides it evenly — if none do, it is prime.
Check another number
The prime factorization calculator tests any number and shows its prime factors and all divisors.
Nearby numbers
Frequently asked questions
Is 40 a prime number?+
No, 40 is composite because it is divisible by 2 (40 = 2³ × 5), so it has factors other than 1 and itself.
What is 40 divisible by?+
40 is divisible by more than just 1 and itself. Its prime factorization is 40 = 2³ × 5.