Skip to main content

Exactly compute integer factorials from 0 to 5000 without losing large integer digits.

Preview and results

After processing is complete, the results will be displayed here.

Instructions for use

  1. Enter a nonnegative integer between 0 and 5000.
  2. Click Calculate Factorial to see the complete large integer results; the factorial of 0 is 1.
  3. Copy the results. Negative numbers, decimals, and out-of-range input are rejected.

Input and output examples

Example input
20
Example output
2432902008176640000

These are demo inputs and sample results, and do not mean that your data has been processed.

Calculation basis and reference materials

Only non-negative integers are accepted; 0! = 1, no gamma function is calculated.

Content check: · About this site and content description

Related tools