Factorial Calculator

Enter a whole number n to find n factorial, the product of every whole number from 1 to n.

A whole number from 0 to 1000.

Try

Result

You entered0!0!

0!=1\displaystyle 0! = 1

Number of digits

1\displaystyle 1

Trailing zeros

0\displaystyle 0
Show the work
  1. Zero factorial

    By definition 0!0! is 11: there is exactly one way to arrange nothing, and this keeps the pattern n!=n×(n−1)!n! = n \times (n-1)! working down to zero.

    0!=10! = 1
  2. Result

    So 0!=10! = 1.

Worked examples