What is Factorial?
Factorial of n (written as n!) is the product of all positive integers up to n. For example, 5! = 5×4×3×2×1 = 120. Factorials are fundamental in counting and probability.
Factorials grow extraordinarily fast — 20! already exceeds 2 quintillion — making manual computation impractical. This calculator handles large factorials precisely, supports double factorials (n!!), and bridges directly into combinatorics through built-in permutation (nPr) and combination (nCr) functions. Common applications include counting arrangements of objects, calculating probability distributions in statistics, evaluating Taylor series expansions in calculus, and solving problems in quantum mechanics and number theory.
Choose factorial, permutation, combination, or other types.
Input the number for factorial calculation (0-170).
For permutations/combinations, enter the r value.
See the result with step-by-step calculation.
Factorial multiplies all positive integers up to n. It's used in probability, combinatorics, and calculus.
n! = n × (n-1) × (n-2) × ... × 2 × 1
0! = 1 by definition - this is essential for many mathematical formulas
Factorials grow extremely fast: 10! = 3,628,800 and 20! has 19 digits
For permutations (order matters): nPr = n!/(n-r)!
For combinations (order doesn't matter): nCr = n!/[r!(n-r)!]
Double factorial n!! multiplies every other number: 7!! = 7×5×3×1 = 105
Calculators typically support up to 170! due to floating-point limits
Calculate factorials (n!), double factorials (n!!), permutations (nPr), and combinations (nCr) with step-by-step solutions. Essential for probability and statistics.
Factorial of n (written as n!) is the product of all positive integers up to n. For example, 5! = 5×4×3×2×1 = 120. Factorials are fundamental in counting and probability.
Permutations count arrangements where order matters (nPr). Combinations count selections where order doesn't matter (nCr). Use permutations for rankings, combinations for groups.