Quick guide
How to use this calculator
- Enter a non-negative integer n.
- Read the exact product n!.
- Use the definition note to distinguish 0! from an empty result.
Calculation method
Multiply the integers from 1 through n
For n greater than zero, n! is the product 1×2×⋯×n. The empty product convention defines 0! as 1.
Worked example
Factorial of 5
Multiply every positive integer no greater than five.
5! = 5×4×3×2×1 = 120
Supported inputs
Precision and limits
Discrete domain
Inputs are whole counts. Negative, fractional, grouped, and scientific-notation inputs are rejected.
Exact integers
Results use arbitrary-precision integers and are never rounded. Inputs and output size are bounded to keep the page responsive.
