Factorial Calculator

Compute the exact product of the positive integers up to n.

Inputs

Result

Formula and assumptions

n! = 1 × 2 × … × n, with 0! = 1.

Worked example

Integer n = 8. Result = 40320.

Related tool Greatest Common Divisor (GCD) Calculator.

What assumptions affect this result?

The input range is 0 to 100. Non-integer factorial extensions are outside this calculation.