What is Factorial Calculator?
Computes the product of all positive integers less than or equal to n, denoted as n!.
How to Use This Calculator
- Enter a positive integer n.
- View exact factorial product and trailing zero count.
The Mathematical Formula & Variables
n! = n * (n - 1) * ... * 1; 0! = 1 by mathematical definition
Step-by-Step Worked Example
Scenario: Find 6!.
- 6 * 5 * 4 * 3 * 2 * 1 = 720.
Result: 720
Frequently Asked Questions
Why does 0! equal 1?
There is exactly 1 way to arrange an empty set of 0 items. It also preserves the recurrence relation (n - 1)! = n! / n.