Factorial calculator

Returns an exact integer using BigInt.

Your numbers

Use the input units shown. Results update as you enter valid values.

Factorial120

Your calculation, explained

Formula and assumptions

For a non-negative integer n, n! is the exact product of integers 1 through n. By definition, 0! = 1.

Returns an exact integer using BigInt. Zero factorial is one.

Algebra background: OpenStax ↗

Examples worth trying

5 factorial

Factorial: 120.

0 factorial

Factorial: 1.

10 factorial

Factorial: 3628800.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.