Is 27 a Prime Number?
Updated · exact integer math
No, 27 is not a prime number. It's composite.
27 = 3³
Why 27 is not prime
Its digits add up to 9, which is divisible by 3, so 27 is too: 27 ÷ 3 = 9.
Its prime factorization is 3³, and it has 4 divisors: 1, 3, 9, 27.
The nearest primes are 23 (below) and 29 (above).
Numbers around 27
| Number | Prime? | Factorization |
|---|---|---|
| 22 | Composite | 2 × 11 |
| 23 | Prime | 23 |
| 24 | Composite | 2³ × 3 |
| 25 | Composite | 5² |
| 26 | Composite | 2 × 13 |
| 27 | Composite | 3³ |
| 28 | Composite | 2² × 7 |
| 29 | Prime | 29 |
| 30 | Composite | 2 × 3 × 5 |
| 31 | Prime | 31 |
| 32 | Composite | 2⁵ |
Check another number
Any whole number up to 24 digits. Commas are fine.
Try 1,000,003 or 561. Want a list instead? See the list of prime numbers.
Is 29 prime?
Yes, prime
Number of divisors
2
Previous prime
23
Next prime
31
Divisors: 1, 29
Its only divisors are 1 and 29, so it's prime.
See where 27 sits among the first hundred numbers on the prime numbers chart, or browse every number from 1 to 1,000.
Questions people ask
Is 27 a prime number?
No, 27 is not a prime number. It's composite.
What are the factors of 27?
4 factors: 1, 3, 9, 27.
Is 27 prime or composite?
Composite: 27 = 3³.