Factorial Calculator


Calculate Factorial with this free online tool

How to Calculate Factorial

  1. Set a value for n.
  2. View the result.
  3. If there is an error in red text, then try changing the inputs. If it persists, then click the Feedback button at the top of the page.

Sharing helps us build more free tools

The factorial is the product of all values up to a certain number.

For example, to calculate the factorial of 5 we just multiply by every number up to 5:

5!=5×4×3×2×1=1205! = 5 \times 4 \times 3 \dots \times 2 \times 1 = 120

The general form of the factorial equation can be written as:

n!=n×(n1)×(n2)××2×1Where n is the input to the calculatorn! = n \times(n-1) \times (n-2) \times \dots \times 2 \times 1\newline\newline \text{Where $n$ is the input to the calculator}