数論

Factorial Calculator

Calculate the factorial of any non-negative integer instantly. Understand factorials with visual representation and easy copy functionality.

Calculation Steps

What is Factorial?

In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.

Formula:

n! = n × (n-1) × (n-2) × ... × 3 × 2 × 1

Examples:

  • 5! = 5 × 4 × 3 × 2 × 1 = 120
  • 0! is defined as 1.

Use Cases: Factorials are used in various areas of mathematics, including combinatorics, algebra, probability theory, and calculus. They appear in permutations, combinations, Taylor series, and many other formulas.

Learn More: For further reading, you can check out the Wikipedia page on Factorial.