Skip to content
Jellykit

Factorial Calculator

Calculate the exact factorial n! of any whole number up to 10,000, with every digit shown, plus the number of digits and trailing zeros. Free and instant.

Runs in your browser. Nothing is uploaded.

About Factorial Calculator

Enter a whole number to get its exact factorial, n! = 1 × 2 × 3 × … × n, with every digit written out. 10! is 3,628,800 and 25! is 15,511,210,043,330,985,984,000,000.

Factorials grow incredibly fast: 100! has 158 digits and 1000! has 2,568. Normal calculators switch to approximations above 170!, but this one uses exact big-integer arithmetic for values up to 10,000. It also counts the digits and the trailing zeros.

How to use Factorial Calculator

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. The result appears instantly as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

What is 0 factorial?

0! = 1 by definition. There's exactly one way to arrange zero items, and it keeps formulas like nCr consistent.

How do you count the trailing zeros of n!?

Count the factors of 5: n ÷ 5 + n ÷ 25 + n ÷ 125 and so on, rounding down each time. 100! has 20 + 4 = 24 trailing zeros.

Is Factorial Calculator free and private?

Yes. Factorial Calculator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all calculators tools →