Math · Statistics & Probability · Grade 9-12 · 5 min read

Factorial

⚡ In one breath

The factorial $n!

📐 The formula

n!=n×(n1)×(n2)××2×1n! = n \times (n - 1) \times (n - 2) \times \cdots \times 2 \times 1

Orient

The one-line idea, why it matters, and the intuition.

Section 1

Quick Answer

The factorial n!n! is the product of all positive integers from 11 to nn, and it counts the orderings of nn distinct items. Use it when arranging a full set in a row, or as the building block inside permutation and combination formulas. The cue is 'how many ways to order everything,' and remember 0!=10!=1. Before calculating, ask: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?

Section 2

Why This Matters

Factorial is the atom of counting — every permutation and combination formula is built from factorials, and it explains the explosive growth of arrangements (10!10! is over 3 million). Misremembering 0!=10!=1 quietly breaks those formulas. Recognizing it by "Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?" — rather than by familiar numbers — is what lets a student tell it apart from permutation and exponent and combination in a mixed problem set.

Section 3

Intuitive Explanation

Three books on a shelf can be ordered 3!=3×2×1=63!=3\times2\times1=6 ways — pick any of 3 for the left slot, any of the remaining 2 for the middle, the last for the right. This is the clean version of the idea because the visible structure matches the concept before any formula or procedure is chosen.

Do not set 0!=00!=0 — by convention 0!=10!=1 (there is exactly one way to arrange nothing), and this is essential so P(n,n)=n!0!=n!P(n,n)=\frac{n!}{0!}=n! works. That contrast matters because many wrong answers come from recognizing a surface feature, such as a familiar number or word, instead of the actual task.

A useful way to slow down is to name the signal words and then test them. Words like **arrange in a row**, **order all of them**, **n!n!**, **ways to line up**, **all permutations of a set** are helpful clues, but they are not enough by themselves. They must point to the same structure as the mental model: n!n! is the product of every whole number from nn down to 11, and it counts how many ways to arrange nn things in a row.

The recognition test is simple: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11? If yes, factorial is probably the right tool; if not, compare with Permutation or Exponent or Combination before calculating.

Core idea

n!n! is the product of every whole number from nn down to 11, and it counts how many ways to arrange nn things in a row.

Recognize

The cues that signal this concept and how to distinguish it from look-alikes.

Section 4

When to Use

Use Factorial when you are arranging an entire set of distinct items in order, or you need a building block for permutation/combination formulas. Strong signals include **arrange in a row**, **order all of them**, **n!n!**, **ways to line up**, **all permutations of a set**. The safest workflow is to read the final question first, identify what kind of answer it wants, and then test the structure. Do not use factorial just because familiar numbers appear; first decide whether the situation answers "Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?" with yes.

✨ Pro tip

Ask: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?

Section 5

How to Recognize It

Before using Factorial, check the structure of the problem, not just the vocabulary. These questions force the same recognition move from several angles: the task, the signal words, the nearest confusion, and the thing that would make the concept fail.

  1. Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?

    If yes, the problem matches factorial. If no, pause before applying the procedure, because the same numbers may belong to a different idea.

  2. Which words signal the structure?

    Look for arrange in a row, order all of them, n!n!, ways to line up. These words are useful only after the situation matches them; a keyword without structure is not proof.

  3. What is the nearest confusion?

    Permutation is the common trap here: Arranges only rr of nn items, using factorials as parts. Compare the desired final answer before choosing a method.

  4. What answer form should I expect?

    The answer should fit this mental model: n!n! is the product of every whole number from nn down to 11, and it counts how many ways to arrange nn things in a row. If the expected answer sounds more like permutation, use the comparison table before solving.

  5. What would make this NOT Factorial?

    Do not set 0!=00!=0 — by convention 0!=10!=1 (there is exactly one way to arrange nothing), and this is essential so P(n,n)=n!0!=n!P(n,n)=\frac{n!}{0!}=n! works. This tells you when to switch tools instead of forcing the concept.

Section 6

Factorial vs Common Confusions

The hard part is recognizing when the task is really about factorial instead of a nearby idea. Read the final answer the problem wants, then ask which row describes the structure before you start calculating.

Factorial

Meaning
Use this when you are arranging an entire set of distinct items in order, or you need a building block for permutation/combination formulas. The deciding question is: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?
Key test
Am I counting the ways to arrange all $n$ distinct items, multiplying $n$ down to $1$?
Formula
n!=n×(n1)×(n2)××2×1n! = n \times (n - 1) \times (n - 2) \times \cdots \times 2 \times 1
Example
In how many orders can the 4 distinct letters A, B, C, D be lined up?

Permutation

Meaning
Arranges only rr of nn items, using factorials as parts.
Key test
Use when you order a subset, not the whole set.
Formula
P(n,r)=n!(nr)!P(n,r)=\frac{n!}{(n-r)!}
Example
Top 3 of 8 finishers

Exponent

Meaning
Repeated multiplication of the same base, not descending integers.
Key test
Use for repeated equal factors, like growth or area.
Formula
nkn^k
Example
25=322^5=32

Combination

Meaning
Selects rr items unordered, dividing factorials.
Key test
Use when picking a group where order is irrelevant.
Formula
C(n,r)=n!r!(nr)!C(n,r)=\frac{n!}{r!(n-r)!}
Example
Choosing 2 from 5

Apply

Worked examples and the mistakes most students make.

Section 7

Formula & Notation

n!=n×(n1)×(n2)××2×1n! = n \times (n - 1) \times (n - 2) \times \cdots \times 2 \times 1
n!=k=1nkn! = \prod_{k=1}^{n} k for n1n \geq 1, with 0!=10! = 1 by convention; equivalently n!=n(n1)!n! = n \cdot (n-1)!

How to read it: n!n! reads 'nn factorial'; by convention 0!=10! = 1

Section 8

Worked Examples

Example 1 — Arrange the letters

Easy

Problem

In how many orders can the 4 distinct letters A, B, C, D be lined up?

Solution

  1. All four items are arranged in order, so count full orderings.

    Name the structure before touching arithmetic — that is what makes the right method obvious.

  2. Ask the recognition question: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?

    If the answer is yes, the concept applies; the cue, not a keyword, decides the method.

  3. Compute 4!4! by multiplying down to 1.

    The rule is chosen only after the structure matches, so the steps mean something.

  4. 4!=4×3×2×1=244!=4\times3\times2\times1=24.

    Keep units, shape, or answer form tied to the story so the work does not become symbol pushing.

  5. Check the answer against the original question.

    It should fit the mental model — multiply all the way down to 1. If it does not, revisit the recognition step before changing the arithmetic.

Answer

2424

Takeaway: n!n! counts the arrangements of all nn distinct items.

Example 2 — Only some, not all

Standard

Problem

From 4 letters, how many ways to fill just 2 ordered slots?

Solution

  1. Notice why this looks like the same concept.

    Nearby language or numbers can tempt you toward multiply all the way down to 1.

  2. Only 2 of the 4 are arranged, not the whole set.

    Spotting what actually changed is what separates this from the concept it resembles.

  3. Use a permutation P(4,2)P(4,2), not the full factorial.

    The nearby idea may share numbers but answers a different question, so it needs a different move.

  4. State the result in the language of the actual task.

    P(4,2)=4!2!=12P(4,2)=\frac{4!}{2!}=12. Name it for what the problem really asked, not the concept you first expected.

  5. Say the contrast in one sentence.

    Factorial arranges the whole set; arranging a subset is a permutation.

Answer

P(4,2)=4!2!=12P(4,2)=\frac{4!}{2!}=12

Takeaway: Factorial arranges the whole set; arranging a subset is a permutation.

Example 3 — Spot the trap: Multiply all the way down to 1

Application

Problem

A student starts with this idea: "Setting 0!=00!=0" What should they check before accepting that reasoning?

Solution

  1. Pause before the first move.

    The first move is a decision, not a calculation — does the situation really match multiply all the way down to 1.

  2. Run the recognition test: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?

    This is the single check that the trap skips.

  3. by definition 0!=10!=1, which keeps the permutation/combination formulas consistent.

    Stating the safer rule turns the mistake into a checkable step instead of a vague "be careful."

  4. Compare with the nearest confusion, Permutation.

    Arranges only rr of nn items, using factorials as parts.

  5. State the corrected decision and reuse it.

    Using the concept only when the structure matches leaves a process the student can repeat on a new problem.

Answer

by definition 0!=10!=1, which keeps the permutation/combination formulas consistent.

Takeaway: The recognition step prevents the common trap: Setting 0!=00!=0

Section 9

Common Mistakes

Common slip-up

Setting 0!=00!=0

The right idea

by definition 0!=10!=1, which keeps the permutation/combination formulas consistent.

Common slip-up

Multiplying only down to a wrong stopping point

The right idea

go all the way to 11 (e.g. 4!=43214!=4\cdot3\cdot2\cdot1, not 4324\cdot3\cdot2).

Common slip-up

Confusing n!n! with n2n^2 or 2n2n

The right idea

factorial multiplies a descending run, not a square or a double.

Practice

Try it, then see where this concept fits in the path.

Section 10

Mini Practice

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

  1. What clue tells you this is a Factorial situation: In how many orders can the 4 distinct letters A, B, C, D be lined up?

    Hint: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?

  2. In how many orders can the 4 distinct letters A, B, C, D be lined up?

    Hint: Compute 4!4! by multiplying down to 1.

  3. Why is this a contrast case instead of Factorial: From 4 letters, how many ways to fill just 2 ordered slots?

    Hint: Only 2 of the 4 are arranged, not the whole set.

  4. Fix this thinking: Setting 0!=00!=0

    Hint: Name the recognition cue before choosing a rule.

  5. Which is the better fit here: Factorial or Permutation? Explain the deciding difference.

    Hint: For Factorial, ask: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?

  6. Write one sentence that would remind a classmate how to recognize Factorial.

    Hint: Use the mental model "Multiply all the way down to 1." and one signal word.

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.

Section 11

Frequently Asked Questions

How do I know when to use Factorial?

Use Factorial when you are arranging an entire set of distinct items in order, or you need a building block for permutation/combination formulas. Do not start from the numbers alone; first name the structure of the situation. The fastest check is: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11? If the answer is yes and the wording matches cues like arrange in a row, order all of them, n!n!, then factorial is probably the right tool.

What is Factorial most often confused with?

Factorial is often confused with Permutation. Permutation means Arranges only rr of nn items, using factorials as parts. The difference is not just vocabulary; it changes the action you take. For factorial, the key test is "Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11?" For permutation, the better cue is: Use when you order a subset, not the whole set.

What is the fastest recognition cue for Factorial?

Look for arrange in a row, order all of them, n!n!, ways to line up, but treat those words as clues, not proof. A word problem can contain a familiar keyword and still ask for a different idea. After noticing the cue, ask the recognition question: Am I counting the ways to arrange all nn distinct items, multiplying nn down to 11? That question protects you from using a memorized procedure in the wrong place.

What mistake should I avoid with Factorial?

Avoid this thinking: "Setting 0!=00!=0" That mistake usually happens when the student jumps to a rule before checking the situation. The safer version is: by definition 0!=10!=1, which keeps the permutation/combination formulas consistent. A good habit is to say the mental model out loud first: "Multiply all the way down to 1." Then choose the calculation or representation.

How can I tell this apart from Exponent?

Exponent is the better fit when the task is about this: Repeated multiplication of the same base, not descending integers. Factorial is the better fit when you are arranging an entire set of distinct items in order, or you need a building block for permutation/combination formulas. If both ideas seem possible, compare what the problem wants as the final answer. The desired output often reveals whether you should use factorial or switch to the nearby concept.

Why does Factorial matter?

Factorial is the atom of counting — every permutation and combination formula is built from factorials, and it explains the explosive growth of arrangements (10!10! is over 3 million). Misremembering 0!=10!=1 quietly breaks those formulas. The practical value is recognition: once you can spot factorial, you can choose a method before calculating. That makes later topics easier because you are not memorizing isolated tricks; you are recognizing the same structure when it appears in a new representation.

Section 12

Learning Path

← Before

Multiplication
Factorial

You are here

Before this, students should be comfortable with Multiplication. This page focuses on the recognition cue: Am I counting the ways to arrange all $n$ distinct items, multiplying $n$ down to $1$? That cue is the bridge between earlier skills and later problem solving: students first learn to identify the structure, then they learn which calculation, diagram, graph, or proof move belongs to it. After this, Permutation and Combination become easier to recognize.

Section 13

See Also