Factorial Calculator

Calculate factorials instantly. Enter any non-negative integer to compute n! with step-by-step breakdowns for combinatorics and probability calculations.

Maximum value: 170 (to prevent overflow)

Understanding Factorials

Definition

The factorial of a non-negative integer n, written as n!, equals the product of all positive integers from n down to 1.

Formula

n! = n × (n-1) × (n-2) × ... × 2 × 10! = 1 (by definition)

Common Uses

  • Combinatorics and permutations
  • Probability calculations
  • Series expansions
  • Statistical distributions

Examples

5!=120
10!=3,628,800
0!=1