Combinatorics Calculator
Compute factorials, permutations, combinations, and multinomial coefficients. See step-by-step formula breakdowns and explore Pascal's Triangle interactively. All calculations run in your browser.
Result
5! = 120
Step-by-step breakdown
Pascal's Triangle
Click any cell to compute that combination C(n, r).
Reference Guide
Factorials
The factorial of n counts the number of ways to arrange n distinct objects in a line.
By convention, . Factorials grow very fast. For example, and is already a 19-digit number.
Permutations
A permutation counts the number of ordered arrangements of r items chosen from n distinct items. Order matters.
For example, the number of ways to award gold, silver, and bronze medals to 3 of 10 athletes is .
Combinations
A combination counts the number of ways to choose r items from n distinct items when order does not matter.
Combinations appear as entries in Pascal's Triangle, where row n and column r give . A useful identity is .
Multinomial Coefficients
The multinomial coefficient counts the number of ways to divide n objects into groups of sizes where .
A classic example is counting arrangements of the letters in MISSISSIPPI. With letters and groups for M, I, S, P, the answer is .