
77.32% of parents see better grades in 3 months!
The factorial of a number n, written n!, is what you get when you multiply n by every positive whole number below it, all the way down to 1. For example, 4! = 4 × 3 × 2 × 1 = 24.
Factorials matter across algebra, probability, statistics, and permutations and combinations, because they count how many ways a set of objects can be arranged or chosen.
This guide explains what a factorial means, gives the factorial formula, shows how to work out values such as 5!, 10! and 100!, and explains why zero factorial is 1. You'll also find solved examples, practice questions and the main uses of factorials in maths.
What Is Factorial?
The factorial of a whole number is that number multiplied by each smaller positive whole number, stopping at 1.
It is shown with the symbol !, known as the factorial sign.
For example, the factorial of 4 is written 4! and works out as:
- 4! = 4 × 3 × 2 × 1 = 24
So 4! equals 24.
You'll meet factorials in many branches of maths, including:
- Number theory
- Algebra
- Probability
- Statistics
- Permutations and combinations
- Discrete mathematics
- Graph theory
Factorial Meaning and Notation
The notation n!, read "n factorial", stands for the product of every positive integer from 1 up to n.
In general:
n! = n × (n − 1) × (n − 2) × ... × 3 × 2 × 1
Here n is any non-negative integer.
Example: Work out 5 factorial.
- 5! = 5 × 4 × 3 × 2 × 1
- 5! = 120
So 5 factorial = 120.
Factorial Table: Building Each Value from the Last
You don't have to start from scratch each time. Any factorial can be found from the one before it.
For example:
- 6! = 6 × 5!
- Since 5! = 120, 6! = 6 × 120 = 720
In the same way:
- 7! = 7 × 6! = 7 × 720 = 5,040
Keep going like that and you get the whole table from 1! up to 15!. Each value is just the new number times the answer on the line above:
- 1! = 1
- 2! = 2 × 1! = 2
- 3! = 3 × 2! = 6
- 4! = 4 × 3! = 24
- 5! = 5 × 4! = 120
- 6! = 6 × 5! = 720
- 7! = 7 × 6! = 5,040
- 8! = 8 × 7! = 40,320
- 9! = 9 × 8! = 362,880
- 10! = 10 × 9! = 3,628,800
- 11! = 11 × 10! = 39,916,800
- 12! = 12 × 11! = 479,001,600
- 13! = 13 × 12! = 6,227,020,800
- 14! = 14 × 13! = 87,178,291,200
- 15! = 15 × 14! = 1,307,674,368,000
Spot the pattern in the last digit: from 5! onwards every value ends in 0, and from 10! onwards in at least two zeros. That's the 2 × 5 pairs piling up.
Factorial Formula
The factorial formula can be written in two useful ways.
1. Standard Factorial Formula
For any non-negative integer n:
n! = n(n − 1)(n − 2) ... 3 × 2 × 1
This is simply the definition of a factorial written as a formula.
2. Recursive Factorial Formula
You can also get a factorial by multiplying the number by the factorial just below it:
n! = n × (n − 1)!
For example:
- 8! = 8 × 7!
- 9! = 9 × 8!
- 10! = 10 × 9!
This saves you from multiplying the whole chain again every time.
Examples of Factorial Formula
Example 1: Find 5 factorial using the recursive formula.
- 5! = 5 × 4!
- = 5 × 24
- 5! = 120
Example 2: Find 8 factorial.
- 8! = 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1
- Or, using 7! = 5,040: 8! = 8 × 5,040
- 8! = 40,320
What Is 0 Factorial?
Zero factorial surprises a lot of students, because its value is:
0! = 1
It equals 1, not 0.
Why Is 0! Equal to 1?
Start from the recursive formula, n! = n × (n − 1)!, and put n = 1:
- 1! = 1 × 0!
- We know 1! = 1, so 1 = 1 × 0!
- Divide both sides by 1: 0! = 1
Another Way to Understand Zero Factorial
Factorials count the ways to arrange objects.
With one object, there's only one possible arrangement, so 1! = 1.
With no objects at all, there is still exactly one arrangement: the empty one, where you do nothing.
That's why 0! = 1.
Factorial of 100
The factorial of 100 means multiplying every whole number from 100 down to 1:
- 100! = 100 × 99 × 98 × ... × 3 × 2 × 1
Its value is roughly:
100! ≈ 9.332621544 × 10¹⁵⁷
That is far too big to work out by hand.
A few facts about 100!:
- It has 158 digits.
- It ends in 24 zeros.
- It is about 9.332621544 × 10¹⁵⁷.
A trailing zero is a zero at the very end of a number. Each one in 100! comes from a factor of 10 (that is, a 2 paired with a 5) in the product. There are 20 multiples of 5 up to 100, plus 4 extra 5s from 25, 50, 75 and 100, giving 24 zeros.
Factorial of Negative Numbers
Can you find (−1)!, (−2)! or (−3)!?
No. The standard factorial is only defined for non-negative integers, so negative integer factorials are undefined.
The recursive formula shows why. Work backwards from 3!:
- 3! = 3 × 2 × 1 = 6
- 2! = 3! ÷ 3 = 6 ÷ 3 = 2
- 1! = 2! ÷ 2 = 2 ÷ 2 = 1
- 0! = 1! ÷ 1 = 1
The next step would be:
- (−1)! = 0! ÷ 0 = 1 ÷ 0
Dividing by zero has no answer, so (−1)!, (−2)!, (−3)! and all other negative integer factorials are undefined.
Uses of Factorial in Mathematics
Factorials have many uses, and the most common is in permutations and combinations: counting how many ways you can arrange or choose items from a group.
1. Permutations
A permutation is an arrangement where order matters.
ⁿPᵣ = n! ÷ (n − r)!
Where:
- n = total number of objects available
- r = number of objects being arranged
Example 1:
Nine students enter a quiz. Prizes of AED 300, AED 200 and AED 100 go to the top three. In how many ways can the prizes be given out?
The prizes are different, so who gets which one matters. Use permutations.
- ⁹P₃ = 9! ÷ (9 − 3)!
- = 9! ÷ 6!
- = 9 × 8 × 7
- = 504 ways
2. Combinations
A combination is a selection where order does not matter.
ⁿCᵣ = n! ÷ [r!(n − r)!]
Where:
- n = total number of objects available
- r = number of objects being chosen
Example 2:
Three identical gift vouchers are to be given to 3 of the same 9 students. In how many ways can the winners be chosen?
The vouchers are all the same, so only who wins matters, not the order. Use combinations.
- ⁹C₃ = 9! ÷ [3!(9 − 3)!]
- = 9! ÷ (3! × 6!)
- = (9 × 8 × 7) ÷ (3 × 2 × 1)
- = 84 ways
Notice that 504 ÷ 84 = 6 = 3!. The permutation count is bigger because each group of 3 winners can be put in order in 3! ways.
Remember: use permutations when order matters, and combinations when it doesn't.
How to Calculate Factorial?
To find a factorial, multiply the number by every positive integer below it, down to 1. The quickest route is usually the recursive formula:
- n! = n × (n − 1)!
Example: Given that 9! = 362,880, find 10!.
- 10! = 10 × 9!
- 10! = 10 × 362,880
- 10! = 3,628,800
Factorial Examples
Here are some common types of factorial question, solved step by step.
Example 1: Evaluate an Expression Involving Factorials
Find the value of 11! ÷ (4! × 7!).
Solution:
Write 11! so that 7! appears, then cancel it.
- = (11 × 10 × 9 × 8 × 7!) ÷ (4! × 7!)
- = (11 × 10 × 9 × 8) ÷ (4 × 3 × 2 × 1)
- = 7,920 ÷ 24
- = 330
Answer: the expression equals 330.
Example 2: Find the Value of 4!(7 − 4)!
Solution:
Deal with the bracket first.
- 4!(7 − 4)! = 4! × 3!
- = (4 × 3 × 2 × 1) × (3 × 2 × 1)
- = 24 × 6
- = 144
Answer: 4!(7 − 4)! = 144.
Example 3: Forming Six-Digit Numbers Using Factorials
How many six-digit numbers can you make from the digits 1, 3, 4, 6, 8 and 9 if no digit can repeat?
Solution:
There are six different digits and each is used once, so you are arranging all six.
- 6! = 6 × 5 × 4 × 3 × 2 × 1
- = 720
Answer: 720 different six-digit numbers.
Example 4: Arranging Seven People in a Line
Seven friends line up from left to right for a photo. How many different line-ups are possible?
Solution:
Each position is different, so order matters and you use a factorial.
- 7! = 7 × 6 × 5 × 4 × 3 × 2 × 1
- = 5,040
Answer: the seven friends can line up in 5,040 ways.
Practice Questions on Factorial
Try each question before you look at the answer.
Question 1: Basic Factorial
What is 6!?
- A) 120
- B) 360
- C) 720
- D) 5,040
Hint: Multiply every whole number from 6 down to 1.
Answer: C) 720
Question 2: Zero Factorial
What is 0!?
- A) 0
- B) 1
- C) Undefined
- D) −1
Hint: Use the recursive factorial formula with n = 1.
Answer: B) 1
Question 3: Recursive Factorial
If 7! = 5,040, what is 8!?
- A) 35,280
- B) 40,320
- C) 45,360
- D) 50,400
Hint: 8! = 8 × 7!.
Answer: B) 40,320
Question 4: Factorial Expression
Find 9! ÷ 7!.
- A) 63
- B) 72
- C) 81
- D) 90
Hint: Cancel 7! before you multiply anything.
Answer: B) 72
Question 5: Permutations
In how many ways can five students stand in a line?
- A) 60
- B) 100
- C) 120
- D) 125
Hint: Find the factorial of the number of students.
Answer: C) 120
Important Notes on Factorial
- Quickest route to any factorial: take the one below and multiply, n! = n × (n − 1)!.
- The sign is a plain exclamation mark, said aloud as "factorial".
- 0! and 1! both come out as 1. Don't let the zero fool you.
- Negative whole numbers have no factorial at all.
- Counting problems lean on factorials more than anything else.
- Arranging, where position matters? That's a permutation.
- Picking a group, where position doesn't matter? That's a combination.
Frequently Asked Questions (FAQs) on Factorial
1. What is the definition of factorial of a number?
Take a whole number, then keep multiplying by one less each time until you reach 1. The result is its factorial, shown with a ! after the number.
For example:
- 8! = 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1 = 40,320
2. Where are factorials used in mathematics?
Any time you need to count line-ups, seating plans, PIN codes or team picks. That puts them at the heart of permutations, combinations and probability, and they also show up in statistics, number theory and series.
3. What is factorial notation?
It's shorthand. Instead of writing out a long chain of descending numbers multiplied together, you write the top number with an exclamation mark after it.
For example:
- 3 × 2 × 1 = 3!
- 6 × 5 × 4 × 3 × 2 × 1 = 6!
4. What is n + 1 factorial?
(n + 1)! = (n + 1) × n!
For example, 6! = 6 × 5! = 6 × 120 = 720.
5. What is the factorial symbol?
It's the exclamation mark, placed right after the number with no space. So nine factorial looks like 9!.
6. What is the factorial of 100?
Multiply 100 by 99, then by 98, and keep going down to 1. You end up near 9.33 × 10¹⁵⁷, a number 158 digits long whose last 24 digits are all zeros.
7. What is the factorial of 10?
- 10! = 10 × 9 × 8 × ... × 2 × 1
- 10! = 3,628,800
8. How do you find the factorial of a number?
Write the number, then each whole number beneath it, and multiply the lot. If you already know the factorial one step down, just multiply that by the new number instead. For big values, use the n! key on a scientific calculator.
9. What are the applications of factorials?
Working out how many ways a group can be ordered or chosen, finding probabilities in card, dice and lottery problems, and building the coefficients of the binomial theorem. In IB Maths AA and AI you'll meet them inside nCr and the binomial distribution.
10. Why is the factorial of a negative integer undefined?
Step back from 0! using (n − 1)! = n! ÷ n and the very next move asks you to divide 1 by 0. That has no answer, so the chain stops at zero and negative whole numbers are left without a factorial.
Strengthen Your Mathematics Skills with MentorMatch
Factorials are the first step towards bigger topics like permutations, combinations, probability and the binomial theorem.
At MentorMatch, students build strong maths foundations through personalised 1:1 online tutoring, guided problem-solving and support matched to how they learn.
Whether you're just meeting factorials or tackling harder counting and probability questions for IB or A Level, the right tutor helps you work with confidence.


.webp)
.png)
.webp)