Skip to content
ToolInstant

Factorial Calculator

Local

Calculate exact factorials (n!) and double factorials (n!!) up to 10,000 with every digit, the digit count and trailing zeros. Copy or download the result.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Utility tools · Free · No upload · No sign-up

How to use the factorial calculator for free

  1. 1Enter a whole number n.
  2. 2Choose n! or the double factorial n!!.
  3. 3See the exact value, digit count and trailing zeros; copy or download the digits.

Also useful for: factorial calculator, n factorial, 100 factorial, double factorial, trailing zeros factorial, big factorial.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this factorial calculator free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.

Why is 0! equal to 1?+

There's exactly one way to arrange nothing, and it keeps formulas like n! = n × (n − 1)! and nCr working for every n.

How are the trailing zeros counted?+

Each trailing zero comes from a factor of 10 = 2 × 5. There are always more 2s than 5s, so the count is ⌊n/5⌋ + ⌊n/25⌋ + ⌊n/125⌋ + … (Legendre's formula).