Factorial Calculator
Calculate n! exactly, even for large numbers.
How to use the Factorial Calculator
- Enter or choose the n.
- Results update instantly as you type — press Calculate any time to refresh.
Formula
n! = n × (n − 1) × … × 2 × 1; 0! = 1.
About this calculator
The factorial n! is the product of all positive whole numbers up to n. It grows extremely fast — 20! is already over two quintillion. This calculator returns exact results using big-integer arithmetic.
Frequently asked questions
Why is 0! equal to 1?
By convention, so formulas for permutations and combinations work for every case.