Factorial Calculator

Calculate the factorial (n!) of any integer from 0 to 170, free and instant, right in your browser.

Type in a whole number and get its factorial instantly, handy for probability homework, permutation and combination problems, or just settling an argument about how fast 20! grows.

How to use it

  1. Enter a non-negative integer
  2. Get n! calculated instantly
  3. Copy the full result, digits and all

Frequently asked questions

How large a number can I compute?
The calculator handles very large factorials (into the hundreds) by using arbitrary-precision math in your browser, so you'll get the exact full digit string instead of a rounded scientific-notation approximation.
What is 0! and why isn't it 0?
0! equals 1 by definition. It's the empty product, and that convention keeps formulas like combinations and permutations working correctly for zero items.
Can I use decimals or negative numbers?
No, standard factorial is only defined for non-negative integers (0, 1, 2, ...). For non-integer inputs you'd need the Gamma function, which this calculator doesn't compute.