Factorial Calculator
How This Converter Works
Calculates n! exactly for whole-number inputs from 0 through 99, with 0! = 1. Blank input clears the result; negative, fractional, or out-of-range values display Invalid input. Results use BigInt so large factorials retain every digit.
Formula or rule
n! = 1 * 2 * ... * n for integer n >= 1; 0! = 1
Example
- Input
- 5
- Calculation
- 1 * 2 * 3 * 4 * 5
- Result
- 120