When items fall into several categories, simple combinations are not enough. The multinomial coefficient calculator takes the size of up to four groups and gives the number of distinct arrangements, the total number of items and, with the group probabilities, the probability of that exact split.
How the calculation works
- Enter how many items go in each of up to four groups. Leave a group at 0 if you need fewer.
- The multinomial coefficient is n! ÷ (k₁! × k₂! × k₃! × k₄!), where n is the total number of items. It counts the distinct ways to arrange or divide them.
- To get a probability, enter the chance of each group. The probability of exactly this split is the coefficient × p₁^k₁ × p₂^k₂ × p₃^k₃ × p₄^k₄.
- The probabilities should add up to 100 %. The default of 25 % each describes four equally likely groups.
Example
Ten people are split into groups of 4, 3, 2 and 1. The number of ways is 10! ÷ (4! × 3! × 2! × 1!) = 3,628,800 ÷ 288 = 12,600. If each person falls into any of the four groups with a probability of 25 %, the chance of exactly this split is 12,600 ÷ 4¹⁰ = 1.2 %.
Why it matters
Multinomial counts appear in combinatorics, genetics, card games and word problems. They answer questions such as how many ways a class can be divided into teams, or how likely a given set of dice results is.
Good to know
The coefficient grows quickly, so values with large groups are shown as rounded numbers and may be inexact beyond the precision of floating-point arithmetic. For the probability, make sure that the percentages add up to 100.
Related tools
The combinations calculator handles two groups, and the permutations calculator counts ordered arrangements.