What is a composite number?
A composite number is a whole number greater than 1 that has more than two factors. It can be divided evenly by a number other than 1 and itself: 12 is composite because 1, 2, 3, 4, 6 and 12 all divide it. Every whole number above 1 is either prime or composite; 1 is neither.
Composite Number in a picture
Formal definition and notation
A whole number n > 1 is composite if it can be written as n = a × b with whole numbers 1 < a ≤ b < n; equivalently, it has a factor other than 1 and n. A whole number greater than 1 that is not composite is a prime number. Every composite number has a prime factor no larger than √n, and it can be written as a product of primes in exactly one way, apart from order.
| Symbol | Read it as | Meaning |
|---|---|---|
| n = a × b | n equals a times b | a factor pair; if a and b are both greater than 1, n is composite |
| 22 × 3 | two squared times three | the prime factorization of the composite number 12 |
Key facts
- 4 is the smallest composite number. The composite numbers below 20 are 4, 6, 8, 9, 10, 12, 14, 15, 16 and 18.
- Every even number greater than 2 is composite, because 2 is a factor.
- Every number greater than 5 that ends in 0 or 5 is composite, because 5 is a factor.
- If the digits add up to a multiple of 3, the number is divisible by 3: 51 (5 + 1 = 6) is 3 × 17.
- Some odd composites look prime: 9, 15, 21, 27, 33, 49, 51, 57, 87 and 91.
Composite test: find one factor pair
- n
- the whole number greater than 1 you are testing
- a
- a small factor to look for: try 2, 3, 5, 7, … up to √n
- b
- the matching factor, n ÷ a
One factor pair is enough. 221 is not even and its digits sum to 5, but 221 = 13 × 17, so it is composite.
Try it: test a number
Type a whole number or press a sample. The tool lists its factors, says whether it is prime or composite, and builds its factor tree. Try 51 and 91, which look prime.
Composite Number examples, step by step
Example 1: List the factors
Is 27 composite?
- 27 is odd, so 2 is not a factor. Try 3: 27 ÷ 3 = 9.
- The factors of 27 are 1, 3, 9 and 27.
- That is more than two factors.
Answer: Yes. 27 is composite: its factors are 1, 3, 9 and 27.
Example 2: A number that looks prime
Is 91 prime or composite?
- √91 ≈ 9.5, so test the primes 2, 3, 5 and 7.
- 91 is odd (not 2), its digit sum is 10 (not 3), and it does not end in 0 or 5 (not 5).
- Try 7: 91 ÷ 7 = 13. So 91 = 7 × 13.
Answer: 91 is composite, because 91 = 7 × 13.
Example 3: Count composites in a range
How many composite numbers are there from 20 to 30, including 20 and 30?
- There are 11 whole numbers from 20 to 30.
- Find the primes among them: 23 and 29. (21 = 3 × 7, 25 = 5 × 5, 27 = 3 × 9, and the even ones have factor 2.)
- Every other number in the range is composite: 11 − 2 = 9.
Answer: There are 9 composite numbers from 20 to 30.
Common mistakes
The number 1 is neither prime nor composite. Composite numbers need more than two factors; 1 has just one.
Being odd only rules out the factor 2. Test 3, 5, 7 and the other primes too.
Even numbers greater than 2 are composite because they have the extra factor 2. For 2 itself, that factor is the number.
Not to be confused with
A prime has exactly two factors, 1 and itself, like 13. A composite number has more, like 14 (1, 2, 7, 14).
Even numbers are divisible by 2. Every even number above 2 is composite, but composite numbers can also be odd, like 9 or 35.
Quick check: 3 questions
Which number is composite?
Answer: C. 21 = 3 × 7, so it has the factors 1, 3, 7 and 21. 2 and 13 are prime, and 1 is neither prime nor composite.Show answer and explanation
Which statement is true?
Answer: D. 1 has only one factor, so it is neither. The smallest composite number is 4, odd numbers such as 9 are composite, and 2 is prime.Show answer and explanation
What is the smallest composite number?
Answer: A. 4 = 2 × 2 has the factors 1, 2 and 4. 1 is neither, 2 is prime, and 9 is composite but larger than 4.Show answer and explanation
Composite Number: frequently asked questions
Is 1 a composite number?
No. A composite number must be greater than 1 and have more than two factors. The number 1 has only one factor, itself, so it is neither prime nor composite. Leaving 1 out also keeps prime factorizations unique: 12 is 2 × 2 × 3, with no extra 1s to add.
How do you know if a number is composite?
Look for any factor other than 1 and the number itself. Use divisibility rules first: even numbers are divisible by 2, digit sums that are multiples of 3 mean divisible by 3, and endings of 0 or 5 mean divisible by 5. Then try 7, 11, 13 and so on up to the square root. One factor found proves the number is composite.
Can a composite number be odd?
Yes. Many composite numbers are odd: 9 = 3 × 3, 15 = 3 × 5, 35 = 5 × 7 and 91 = 7 × 13. An odd number just has no factor of 2; it can still have other factors. Only even numbers are automatically composite, and that is true only above 2.
Practice and tools
Sources
- Common Core State Standards, Grade 4 Operations and Algebraic Thinking (4.OA.B.4)
- OpenStax, Prealgebra 2e, 2.4 Find Multiples and Factors
- OpenStax, Prealgebra 2e, 2.5 Prime Factorization and the Least Common Multiple
Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS 4.OA.B.4
Cite this entry
Effortless Math Team. “Composite Number.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/composite-number/
Flashcard
Browse all terms in the Math Dictionary · More number system terms · Random term