Factorial Calculator

Factorial Calculator calculates the factorial of a number (n! = 1×2×3×...×n) with full precision, the building block of combinatorics, probability and permutation calculations.

Result3628800

How it works

  1. 1Enter an integer between 0 and 1000.
  2. 2The result is shown with full precision (no rounding).
  3. 3Copy the result to your clipboard with one click.
  4. 40! is defined as 1 (the result of an empty product).

Frequently asked questions

Why is the upper limit 1000?+

Factorials grow extremely fast (100! already has 158 digits); beyond 1000 the results become impractically large for any real use case.

Why is 0! equal to 1?+

By mathematical definition, the product of an empty set of numbers is 1, this keeps combinatorial formulas consistent.

Do negative numbers have a factorial?+

The standard factorial definition only applies to non-negative integers; the tool reports an invalid result for negative or decimal input.

Why is the result such a long number?+

Factorials grow faster than exponentially; even 20! is over 2 quintillion, so very long numbers are expected for larger n.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/math/factorial-calculator/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Factorial Calculator · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Math Tools Guide →

Command Palette

Search for a command to run…