On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Numbers & Quantities · Grade 3-5

Composite Numbers

A composite number is an integer greater than 1 that can be written as a product of two smaller positive integers, so it has more than two factors.

n is composite if n>1 and n=a×b for some integers 1<a,b<n

Quick Answer

A composite number is an integer greater than 1 that can be written as a product of two smaller positive integers, so it has more than two factors. Use the idea when you need to know whether a number can be split into equal groups or rows in more than one way, or before you break it into primes. To show a number is composite, find just one factor other than 1 and itself: 21=3×7. The smallest composite is 4. The number 1 is neither prime nor composite.

Why This Matters

Knowing a number is composite tells you it can be split: 24 students can work in groups of 2, 3, 4, 6, 8 or 12, while 23 students can only stay as one group or work alone. Composite numbers are the ones you factor to simplify fractions and build common denominators. Mistaking an odd composite such as 51 for a prime leaves a fraction like 5168 unsimplified, though both share the factor 17.

Intuitive Explanation

A composite number can be made by multiplying two smaller whole numbers. 6 is 2×3, 10 is 2×5, and 21 is 3×7. Picture 21 marbles set out as 3 rows of 7: a real rectangle with more than one row. A prime like 7 can only be one long row. So a composite number always has at least three factors: 1, itself, and at least one more.

To prove a number is composite, one extra factor is enough, and quick tests often find it. Any even number bigger than 2 is composite, because 2 divides it. Any number ending in 0 or 5, other than 5 itself, is composite, because 5 divides it. If the digits add up to a multiple of 3, then 3 divides it: 5+1=6, so 51=3×17 is composite, even though it looks like it might be prime.

Composite does not mean even, and it does not mean big. 2 is even but prime, since its only factors are 1 and 2. 9, 15 and 21 are odd and composite. Size doesn't decide it either: 4 is small and composite, while 101 is larger and prime. The number 1 belongs to neither group, because it has only one factor. Every whole number above 1 is exactly one of the two, prime or composite.

Think of it like this. A composite number is like a LEGO model that comes apart into smaller pieces: 12 comes apart as 3×4, and the 4 comes apart again as 2×2. Primes are the single bricks that won't come apart. Unlike LEGO, number pieces join by multiplying, so 3 and 4 make 12, not 7.

Core idea. A composite is a whole number bigger than 1 that factors into smaller whole numbers.


When to Use

Call a number composite once you find a factor other than 1 and itself: it is even and bigger than 2, ends in 0 or 5 (and isn't 5), has a digit sum that is a multiple of 3 (and isn't 3), or can be set out in a rectangle with more than one row. Composite numbers are the ones you can break down further. If no small prime divides the number, test whether it is prime instead. If you need the full breakdown, go on to prime factorization.

Tip. Ask: Does this number bigger than 1 have at least one factor other than 1 and itself?

How to Recognize It

Before you call a number composite, look for one factor pair that uses two numbers smaller than it.

  1. Can the objects be set out as a rectangle with at least 2 rows and at least 2 in each row, like 15 tiles in 3 rows of 5?

    Yes means the number is composite. If the only rectangle is one long row, as with 13 tiles, the number is prime.

  2. Did a quick test already find a factor, like 2 for an even number or 3 for a digit sum such as 5+1=6 for 51?

    One factor is enough proof: 51 is 3×17, so it is composite. You do not need the whole factor list unless the question asks for it.

  3. Is the number odd, so you might think it cannot be composite?

    Odd numbers can be composite too: 9, 21, 25, 27 and 35 all are. Being odd only rules out 2 as a factor, so test 3, 5 and 7 next.

  4. Does the question want all the prime pieces, not just a yes or no?

    Then go on to prime factorization: 36 is composite, and its full breakdown is 2×2×3×3.

Composite Numbers compared with Prime numbers, Even numbers, and Prime factorization

Composite numbers, prime numbers, even numbers and prime factorization are all about which numbers divide a whole number. Ask whether you need a yes or no about extra factors, a test only for 2, or the complete list of prime pieces.

Composite Numbers

Meaning
Use this when you must identify whole numbers that factor into smaller integers and have more than two factors.
Key test
Does this number bigger than 1 have at least one factor other than 1 and itself?
Formula
n is composite if n>1 and n=a×b for some integers 1<a,b<n
Example
Is 21 composite?

Prime numbers

Meaning
Numbers with EXACTLY two factors that cannot be broken down.
Key test
Use when a number resists factoring.
Example
7 has only factors 1,7

Even numbers

Meaning
Numbers divisible by 2, which is NOT the same as composite.
Key test
Use when classifying by parity.
Formula
2k
Example
2 is even but prime, not composite

Prime factorization

Meaning
WRITING a composite as a product of primes, not just labeling it composite.
Key test
Use when decomposing into prime factors.
Formula
n=p1a1⋯pkak
Example
12=22×3

Formula & Notation

n is composite if n>1 and n=a×b for some integers 1<a,b<n
n is composite   ⟺  n>1 and ∃ a,b∈Z with 1<a,b<n such that n=ab. Equivalently, n>1 and n is not prime.

How to read it: Composite numbers are expressed as products of primes: n=p1a1⋅p2a2⋯pkak (prime factorization)

Worked Examples

Example 1 — Test for composite

Easy

Is 21 composite?
Show the steps and the answer
  1. Try 2: 21 ends in 1, so it is odd and 2 is not a factor.

    The smallest prime is quickest to check, and the last digit settles it at once.

  2. Try 3: 2+1=3 is a multiple of 3, so 3 divides 21. Indeed 21÷3=7.

    One factor besides 1 and 21 is all it takes to show a number is composite.

  3. List all the factors: 1, 3, 7 and 21.

    Four factors is more than two, which confirms that 21 is composite.

Answer: Yes, 21 is composite

Takeaway: Finding one factor besides 1 and the number itself proves it is composite; you don't need the full list.

Example 2 — Even but prime

Standard

Is 2 composite because it is even?
Show the steps and the answer
  1. List the factors of 2: 2=1×2 is the only way to make it.

    There is no pair of whole numbers bigger than 1 that multiply to 2.

  2. Count them: two factors, 1 and 2, so 2 is prime.

    A composite number needs at least three factors, and 2 has only two.

  3. See why 'even' misleads: 4, 6 and 8 are composite because 2 is an extra factor of each, but for 2 itself, 2 is not extra.

    Every even number above 2 is composite; 2 is the single exception.

Answer: No — 2 is prime

Takeaway: Even numbers above 2 are composite, but 2 is prime: being even only says that 2 is a factor.

Example 3 — Find the mistake: judging by size and oddness

Application

Ava sorts 1, 4, 13 and 51 into prime and composite. She writes: "1 is composite because it isn't prime. 4 is prime because it is so small. 13 and 51 are odd, so they are both prime." Find the mistakes and correct them.
Show the steps and the answer
  1. Check 1: its only factor is 1.

    Composite needs at least three factors and prime needs exactly two, so 1 is neither.

  2. Check 4: 4=2×2, so its factors are 1, 2 and 4.

    Three factors make 4 composite; in fact it is the smallest composite number.

  3. Check 13 and 51: no number except 1 and 13 divides 13, but 5+1=6 is a multiple of 3, and 51=3×17.

    Odd numbers can be either kind, so each needs its own test: 13 is prime and 51 is composite.

Answer: 1 is neither prime nor composite; 4 and 51 are composite; 13 is prime.

Takeaway: Size and oddness don't decide whether a number is composite; finding an extra factor does.

Where You'll See It

  • Splitting a class into equal groups

    A class of 24 is composite, so it splits into equal groups of 2, 3, 4, 6, 8 or 12. A class of 23 is prime: any groups bigger than 1 student leave someone out, so the teacher has to plan groups of different sizes.

  • Egg cartons and muffin tins

    Egg cartons hold 12 and muffin tins often hold 12 or 24, composite numbers that make neat rectangles: 2 rows of 6, or 4 rows of 6. A carton for 13 eggs would have to be one long row of 13, which is awkward to pack and stack.

Common Mistakes

  1. The slip: Calling 1 composite

    Instead: 1 has no factorization into smaller integers above 1, so it is neither prime nor composite.

  2. The slip: Assuming even means composite

    Instead: 2 is even but prime; it has only two factors.

  3. The slip: Thinking composite means odd or large

    Instead: 4 is the smallest composite; size and parity are irrelevant.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Is 15 composite? Give a factor pair that shows it.

    Hint: Look for two numbers, both bigger than 1, that multiply to 15.

  2. List all the composite numbers between 10 and 20.

    Hint: Cross out the primes first.

  3. Is the number 91 prime or composite?

    Hint: It is odd and not divisible by 3 or 5. Try 7.

  4. What is the smallest composite number? List its factors.

    Hint: Check 2, 3 and 4 in turn.

  5. 24 chairs can be set out in equal rows in more than one rectangle shape. Is 24 prime or composite?

    Hint: How many rectangles can a prime number of chairs make?

  6. Kai says 1 is composite because it is not prime. Correct Kai.

    Hint: A composite number must be a product of two smaller numbers greater than 1.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Is every composite number made of primes?

Yes. Break a composite number into two smaller factors, and if either one is still composite, break it again. Each step makes the pieces smaller, so you must stop eventually, and the pieces you stop at are primes. For 72: 8×98\times9, then 2×2×2×3×32\times2\times2\times3\times3. No matter how you start, with 6×126\times12 or with 2×362\times36, you end with the same primes.

How long can a run of composite numbers in a row be?

As long as you like. Between the primes 23 and 29 you get 24, 25, 26, 27 and 28, five composites in a row. Between 113 and 127 there are 13 in a row. A run of 100 composites in a row also exists, but you have to go to big numbers to find it. Primes get rarer as numbers grow, so the gaps between them stretch out.

Why are so many things sold in 12s and not 13s?

Twelve is composite with many factors, so 12 eggs can sit in 2 rows of 6 or 3 rows of 4, which makes a neat box. Thirteen is prime, so 13 eggs could only sit in one long row. Twelve also splits evenly among 2, 3, 4 or 6 people. The 60 minutes in an hour share that useful habit: they split evenly into halves, thirds, quarters, fifths and sixths.

Can a composite number have only three factors?

Yes, and those numbers are special. 4 has the factors 1, 2 and 4; 9 has 1, 3 and 9; 25 has 1, 5 and 25. Each one is a prime times itself, so its middle factor pairs with itself and is counted once. Every other composite number has at least four factors. So three is the fewest factors a composite number can have.

Learning Path

Composite Numbers

You are here

You need Prime Numbers (exactly two factors) and Factors (factor pairs) first. Composite Numbers names every number above 1 that has an extra factor, so it splits into smaller whole-number factors. Next, Prime Factorization splits a composite all the way down to primes, and the Greatest Common Factor uses those pieces to find the largest factor two numbers share.

See Also