Factorial Notes

Published on: November 26, 2026

These Factorial Notes explain how to find n factorial, written n!, with the working shown line by line. The method writes out every whole number from n down to 1 and multiplies them together. Factorials count the number of ways to put things in order, which is why they appear in the permutations and combinations formulas. 0! and 1! are both 1 by definition, so the pattern only needs the multiplication when n is 2 or more.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Write out the whole numbers from n down to 1.
  4. Multiply them together.

Formula: Factorial Formula

This formula multiplies every whole number from n down to 1. By definition 0! is 1.

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Useful Tips to Remember

A factorial multiplies a whole number by every positive whole number below it, so \(5! = 120\). By definition, \(0! = 1\), not 0. Factorials grow very quickly, so large values are easier to handle by cancelling in fractions, as in \(\frac{10!}{8!} = 10 \times 9\). Factorials are only defined for non-negative whole numbers.

Required knowledge

  • No prerequisite knowledge is needed.

Where Are Factorials Used?

A factorial multiplies a whole number by every smaller positive whole number, so \(5! = 5 \times 4 \times 3 \times 2 \times 1\). It counts how many ways a set of different objects can be arranged in order, such as books on a shelf or runners finishing a race. Factorials are the building blocks of permutations, combinations and the binomial distribution. They also show how quickly possibilities grow, which is why a deck of 52 cards has more possible orders than there are atoms on Earth.

  • Counting the ways to arrange books, people or tasks in order
  • Working out every possible finishing order in a race
  • Calculating permutations and combinations
  • Understanding the huge number of possible card shuffles
  • Appearing in probability formulas and series in calculus

Factorial Practice Problems

Example 1 works out \(5!\), and Example 2 works out \(7!\). Examples 3 and 4 give you two more of the same kind to try, \(0!\) and \(10!\). Try multiplying the numbers down to 1 yourself before opening each example.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(5!\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Write out the whole numbers from n down to 1.
  4. Multiply them together.

Formula

Formula: Factorial Formula

This formula multiplies every whole number from n down to 1. By definition 0! is 1.

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding \(5!\), the whole numbers from \(5\) down to \(1\) multiplied together.

\(5!\)

Step 2

Step 2 - Write the formula.

In this problem: A factorial multiplies every whole number from n down to 1. By definition \(0! = 1\).

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 3

Step 3 - Write out the whole numbers from n down to 1.

In this problem: Counting down from \(5\) gives \(5 \times 4 \times 3 \times 2 \times 1\).

\(5! = 5 \times 4 \times 3 \times 2 \times 1\)

Step 4

Step 4 - Multiply them together.

In this problem: Multiplying them gives \(5 \times 4 \times 3 \times 2 \times 1 = 120\).

\(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\)

Final Answer

\(5! = 120\)
See Example 2 Hide Example 2

Problem

\(7!\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Write out the whole numbers from n down to 1.
  4. Multiply them together.

Formula

Formula: Factorial Formula

This formula multiplies every whole number from n down to 1. By definition 0! is 1.

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding \(7!\), the whole numbers from \(7\) down to \(1\) multiplied together.

\(7!\)

Step 2

Step 2 - Write the formula.

In this problem: A factorial multiplies every whole number from n down to 1. By definition \(0! = 1\).

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 3

Step 3 - Write out the whole numbers from n down to 1.

In this problem: Counting down from \(7\) gives \(7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1\).

\(7! = 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1\)

Step 4

Step 4 - Multiply them together.

In this problem: Multiplying them gives \(7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 5040\).

\(7! = 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 5040\)

Final Answer

\(7! = 5040\)
See Example 3 Hide Example 3

Problem

\(0!\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Write out the whole numbers from n down to 1.
  4. Multiply them together.

Formula

Formula: Factorial Formula

This formula multiplies every whole number from n down to 1. By definition 0! is 1.

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding \(0!\), the whole numbers from \(0\) down to \(1\) multiplied together.

\(0!\)

Step 2

Step 2 - Write the formula.

In this problem: A factorial multiplies every whole number from n down to 1. By definition \(0! = 1\).

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 3

Step 3 - Use the definition.

In this problem: There is nothing to multiply below \(0\), so \(0! = 1\).

\(0! = 1\)

Final Answer

\(0! = 1\)
See Example 4 Hide Example 4

Problem

\(10!\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Write out the whole numbers from n down to 1.
  4. Multiply them together.

Formula

Formula: Factorial Formula

This formula multiplies every whole number from n down to 1. By definition 0! is 1.

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding \(10!\), the whole numbers from \(10\) down to \(1\) multiplied together.

\(10!\)

Step 2

Step 2 - Write the formula.

In this problem: A factorial multiplies every whole number from n down to 1. By definition \(0! = 1\).

\(n! = n \times (n - 1) \times (n - 2) \times \cdots \times 1\)

Step 3

Step 3 - Write out the whole numbers from n down to 1.

In this problem: Counting down from \(10\) gives \(10 \times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1\).

\(10! = 10 \times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1\)

Step 4

Step 4 - Multiply them together.

In this problem: Multiplying them gives \(10 \times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 3628800\).

\(10! = 10 \times 9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 3628800\)

Final Answer

\(10! = 3628800\)

Calculator and Practice Mode