How is it calculated?
n! = 1 × 2 × 3 × … × n. By definition 0! = 1.
Example
5! = 5 × 4 × 3 × 2 × 1 = 120.
Frequently asked questions
What is a factorial used for?
It gives the number of different orders in which n different items can be arranged. 5 people can stand in a line in 120 different ways.