Factorials: Definition, Method and Examples
A factorial, written , is the product of all positive whole numbers from down to . For example, , and by definition .
What is a factorial?
A factorial is a mathematical operation that finds the product of a positive whole number and every positive whole number less than it. It represents the total number of ways to arrange a collection of distinct objects into a sequence.
The operation is written using an exclamation mark immediately following a positive whole number. This is known as the factorial function or exclamation mark notation. When you see an expression like , you read it aloud as " factorial".
Expand factorial notation
To evaluate a factorial, expand it by writing the chosen integer, followed by each descending positive integer down to . Then, multiply all of these factors together.
The general mathematical rule is .

Why 0 factorial equals 1
A common error is assuming that the value of is . By mathematical definition, equals . Conceptually, there is exactly one way to arrange an empty set of objects: doing nothing.
You can also observe this logic by following the pattern of mathematical division. Each factorial can be found by dividing the next higher factorial by its starting number. When you divide by , the logical mathematical result is .

Calculate factorial values
Factorial values start small but grow extremely quickly as the starting number increases. You can calculate each new value efficiently by multiplying the previous factorial by the next whole number.
Here is a reference table for the first seven non-negative integers.
Factorial Notation | Expansion | Value |
(Defined value) | ||
Use factorials to count arrangements
Factorials allow you to calculate how many different ways you can order or line up a specific number of distinct items. The factorial function is a direct application of the product rule for counting.
If you have different items, you have choices for the first position, choices for the second, and choice for the last position. The total number of arrangements is . This counting logic forms the foundation for calculating both permutations and combinations.

Worked examples
Here are three examples demonstrating how to evaluate and simplify factorial expressions.
Example 1: Expanding and evaluating a factorial
Question: What is the value of ?
Method:
- Expand the factorial into a product of descending integers down to .
- Multiply the numbers in sequence.
Answer: .
Check: Verify the arithmetic by dividing by , which correctly equals , confirming the known value of .
Example 2: Canceling factorials in a fraction
Question: Evaluate without a calculator.
Method:
- Expand the larger factorial in the numerator until its final term matches the smaller factorial in the denominator.
- Cancel the matching factorials from the top and bottom.
- Multiply the remaining whole numbers.

Answer: .
Check: Expand both factorials completely to confirm the cancellation leaves exactly .
Example 3: Counting arrangements
Question: How many different ways can students stand in a line for a photograph?
Method:
- Identify the number of distinct objects being arranged. There are students.
- Apply the factorial function to find the total number of orders.
- Calculate the product of .
Answer: There are different arrangements.
Check: The product equals , which matches the expected permutation calculation.
Common mistakes
Avoid these frequent errors when working with factorial notation.
- Misinterpreting the symbol: In mathematics, an exclamation mark represents the factorial operation. It is not punctuation or an instruction to read a number with ordinary emphasis.
- Assuming a zero value: Remember that a factorial evaluates to zero only if the sequence is multiplied by zero. By definition, .
- Distributing the operation: You cannot split a factorial across addition. The expression does not equal . For example, , but .
Frequently asked questions
Here are answers to common questions about the factorial function.
What does n factorial mean?
It means the product of the positive integer and every positive integer smaller than it, all the way down to .
Can factorials be negative or decimals?
The standard factorial function is defined only for non-negative integers. You cannot calculate the factorial of a negative number or a decimal fraction using basic factorial notation.
Does a factorial grow faster than an exponent?
Yes, for large starting numbers, factorials grow much faster than most standard exponents and powers. Because the values become immense so quickly, results for very large factorials are often expressed using scientific notation.
Practice questions

The model above shows the sequence for calculating . Which mathematical expression represents the total?
What is the value of ?
Why does equal ?
There is exactly one way to arrange zero objects.
Zero multiplied by one is zero.
All factorials must evaluate to zero.
It is a calculation mistake and should be zero.
There is exactly one way to arrange zero objects.
Evaluate .

Five different paintings are placed in a row on a wall, as shown above. How many different arrangements are possible?
