Factorial Calculator
Factorial Calculator
Calculate factorial (n!) of any non-negative integer with step-by-step explanation
Calculate: n!
About Factorials
The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.
Definition: n! = n × (n-1) × (n-2) × ... × 2 × 1
Special cases: 0! = 1 and 1! = 1 (by definition)
Applications:
- Permutations: Number of ways to arrange n objects = n!
- Combinations: Used in binomial coefficients
- Probability theory and statistics
- Mathematical analysis and calculus
Note: Factorials grow very quickly. 170! is the largest factorial that can be represented as a floating-point number.