Multinomial Coefficient Calculator
- Group sizes 3, 3, 4 add to 10, matching N = 10.
- N! = 3,628,800 and the group factorials multiply to 864.
- Multinomial coefficient = 3,628,800 / 864 = 4,200.
Our multinomial coefficient calculator computes the number of ways to assign N distinct items to groups of sizes n1, n2, ..., nk, where the group sizes sum to N. Enter your group sizes and the calculator returns the multinomial coefficient using the formula N! / (n1! x n2! x ... x nk!). For instance, 10 items split 3, 3, 4 gives 10! / (3! 3! 4!) = 3,628,800 / 864 = 4,200, while 12 items split 2, 3, 3, 4 gives 479,001,600 / 1,728 = 277,200. With just two groups the result equals the binomial coefficient: 6 items split 2 and 4 gives 720 / 48 = 15, matching C(6, 2).
This factorial ratio is the accepted standard because it directly counts every valid assignment while dividing out the rearrangements within each group that should not be treated as distinct. The same value can be built as a product of binomial coefficients, choosing each group in turn from the remaining items: C(10, 3) x C(7, 3) x C(4, 4) = 120 x 35 x 1 = 4,200. These coefficients appear as terms in the multinomial theorem (x1 + ... + xk)^N and as probabilities in the multinomial distribution for category counts. This page shows the full formula, step-by-step workings, worked examples, and sources.
Worked examples
Dealing into three hands
Primary result: 4,200 — 10! / (3! 3! 4!) ways to split ten items into groups of 3, 3 and 4. (10 · 3 groups · 3 · 3 · 4 · 0 · 0)
| Multinomial coefficient | 4,200 |
| N! | 3,628,800 |
| Product of group factorials | 864 |
Four groups
Primary result: 277,200 — 12! / (2! 3! 3! 4!). (12 · 4 groups · 2 · 3 · 3 · 4 · 0)
| Multinomial coefficient | 277,200 |
| N! | 479,001,600 |
| Product of group factorials | 1,728 |
Two groups is a binomial
Primary result: 15 — with two groups the multinomial coefficient reduces to C(6, 2) = 15. (6 · 2 groups · 2 · 4 · 0 · 0 · 0)
| Multinomial coefficient | 15 |
| N! | 720 |
| Product of group factorials | 48 |
What the multinomial coefficient counts
The multinomial coefficient counts the number of ways to assign N distinct items to labelled groups of fixed sizes. When the groups have sizes n1, n2, and so on up to nk, and those sizes sum to N, the formula is N! divided by (n1! times n2! times ... times nk!). A multinomial coefficient calculator applies this formula directly, so you do not have to work through the factorials by hand.
Three concrete examples show how the formula behaves. Splitting 10 items into groups of 3, 3, and 4 gives 10! divided by (3! times 3! times 4!), which is 3,628,800 divided by 864, equal to 4,200. Splitting 12 items into groups of 2, 3, 3, and 4 gives 479,001,600 divided by 1,728, equal to 277,200. With only two groups, the multinomial coefficient is exactly the binomial coefficient: 6 items split 2 and 4 gives 720 divided by 48, equal to 15, the same as C(6, 2).
You can reach the same result by thinking of the count as a product of binomial coefficients. First choose the members of group 1 from all N items, then choose the members of group 2 from the remaining items, and continue until every group is filled. For the 10-item example, that chain is C(10, 3) times C(7, 3) times C(4, 4), which is 120 times 35 times 1, equal to 4,200. This is why the multinomial coefficient is the right tool for dealing cards into hands, assigning staff to teams, or arranging the letters in a word such as MISSISSIPPI, where repeated letters make the groups.
Beyond counting assignments, the same coefficient appears in two broader settings. It gives the terms of the multinomial theorem for (x1 plus ... plus xk) raised to the N, and it gives the probabilities of the multinomial distribution, which is used for category counts when each outcome falls into exactly one of several labelled categories.
The multinomial coefficient formula
The multinomial coefficient formula takes N distinct items and divides them into groups of sizes n1, n2, and so on up to nk, where those group sizes sum to N. The formula itself is N! / (n1! × n2! × ... × nk!). The numerator counts every possible ordering of the N items, while the denominator divides out the internal orderings within each group, since the arrangement inside a group does not matter. The result is the number of ways to assign all N items to the specified groups.
To see the formula in action, take 10 items split into groups of 3, 3, and 4. Plugging into the formula gives 10! / (3! 3! 4!) = 3,628,800 / 864 = 4,200. A larger example reinforces the pattern: 12 items split 2, 3, 3, and 4 gives 479,001,600 / 1,728 = 277,200. When there are only two groups, the formula simplifies. Six items split into groups of 2 and 4 gives 720 / 48 = 15, which is exactly the binomial coefficient C(6, 2). A multinomial coefficient calculator handles these calculations directly so you do not have to compute large factorials by hand.
The same result emerges from a chain of binomial choices. First choose the members of group 1 from all N items, then choose group 2 from the remaining items, and continue until every group is filled. For the 10-item example, this gives C(10, 3) × C(7, 3) × C(4, 4) = 120 × 35 × 1 = 4,200. This matches the factorial formula exactly, and it provides an intuitive way to understand what the coefficient counts: sequential selections from a shrinking pool of items.
Multinomial coefficients appear throughout mathematics and statistics. They are the terms of the multinomial theorem for the expansion of (x1 + ... + xk)^N, and they give the probabilities of the multinomial distribution, which is used for category counts when outcomes fall into more than two categories.
Worked examples
The table below shows three verified cases that a multinomial coefficient calculator can compute, with the factorials written out so you can follow the arithmetic step by step. Each row lists the total number of items N, the group sizes, the full factorial fraction, and the simplified result. These examples cover a two-group split, a three-group split, and a four-group split, which together illustrate how the formula behaves as the number of groups grows.
The first example divides 6 items into two groups of sizes 2 and 4. Because there are only two groups, the multinomial coefficient is exactly the binomial coefficient C(6, 2). The numerator 6! equals 720 and the denominator 2! x 4! equals 48, giving 15. This is the smallest of the three cases, and it confirms that the multinomial formula reduces to the familiar binomial coefficient whenever k equals 2.
The second example divides 10 items into three groups of sizes 3, 3, and 4. The numerator 10! equals 3,628,800 and the denominator 3! x 3! x 4! equals 864, giving 4,200. The third example divides 12 items into four groups of sizes 2, 3, 3, and 4. The numerator 12! equals 479,001,600 and the denominator 2! x 3! x 3! x 4! equals 1,728, giving 277,200. You can also obtain the same result as a product of binomial coefficients: choose group 1, then group 2 from the rest, and so on. For the 10-item case this chain is C(10, 3) x C(7, 3) x C(4, 4) = 120 x 35 x 1 = 4,200, matching the factorial calculation exactly.
| Total items (N) | Group sizes | Factorial fraction | Numerator | Denominator | Result |
|---|---|---|---|---|---|
| 6 | 2, 4 | 6! / (2! x 4!) | 720 | 48 | 15 |
| 10 | 3, 3, 4 | 10! / (3! x 3! x 4!) | 3,628,800 | 864 | 4,200 |
| 12 | 2, 3, 3, 4 | 12! / (2! x 3! x 3! x 4!) | 479,001,600 | 1,728 | 277,200 |
Multinomial vs binomial coefficients
A multinomial coefficient calculator handles the general case of splitting N distinct items into k groups, but the formula has a familiar special case. The multinomial coefficient for groups of sizes n1, ..., nk summing to N is N! / (n1! x n2! x ... x nk!) — the number of ways to assign N distinct items to the groups. When you reduce the setup to just two groups, the same formula becomes the binomial coefficient. A quick check confirms this: 6 items split 2 and 4 gives 720 / 48 = 15, which is exactly the binomial coefficient C(6, 2). The binomial coefficient is simply the multinomial coefficient with k = 2.
You can also see the connection through a step-by-step selection process. The coefficient is equivalently a product of binomial coefficients: choose group 1, then group 2 from the rest, and so on. For 10 items split into groups of 3, 3, and 4, this works out to C(10, 3) x C(7, 3) x C(4, 4) = 120 x 35 x 1 = 4,200. The direct factorial calculation gives the same result: 10! / (3! 3! 4!) = 3,628,800 / 864 = 4,200. Each binomial coefficient in the product handles one group, and multiplying them together accounts for all possible assignments across every group.
Once you move beyond two groups, the structure grows in dimension. Two groups produce the entries of Pascal's triangle, but three groups generalize Pascal's triangle to Pascal's pyramid, and four or more groups extend to higher-dimensional analogues. The arithmetic stays the same regardless of how many groups you have. For example, 12 items split 2, 3, 3, 4 gives 479,001,600 / 1,728 = 277,200. A multinomial coefficient calculator simply evaluates the same factorial ratio for any number of groups you specify.
These coefficients appear in two main mathematical settings. They are the terms of the multinomial theorem (x1 + ... + xk)^N, which generalizes the binomial theorem to sums of three or more variables. They also give the probabilities of the multinomial distribution, which is used for category counts when outcomes fall into more than two categories. In both cases, the jump from two groups to many groups is what makes the multinomial coefficient the right tool rather than the binomial coefficient.
The multinomial theorem and distribution
The multinomial theorem expands expressions of the form (x1 + ... + xk)^N, and the coefficients of that expansion are the multinomial coefficients. For groups of sizes n1, ..., nk that sum to N, the multinomial coefficient is N! / (n1! x n2! x ... x nk!). This value counts the number of ways to assign N distinct items to the specified groups. A multinomial coefficient calculator works out this formula instantly, removing the need to compute large factorials by hand.
The same coefficient can be understood as a product of binomial coefficients. You choose group 1 from all N items, then choose group 2 from what remains, and so on. For example, splitting 10 items into groups of 3, 3, and 4 gives C(10, 3) x C(7, 3) x C(4, 4) = 120 x 35 x 1 = 4,200. Direct calculation confirms this: 10! / (3! 3! 4!) = 3,628,800 / 864 = 4,200. A larger split of 12 items into groups of 2, 3, 3, and 4 yields 479,001,600 / 1,728 = 277,200.
When there are only two groups, the multinomial coefficient reduces to the familiar binomial coefficient. Splitting 6 items into groups of 2 and 4 gives 720 / 48 = 15, which is exactly C(6, 2). This connection shows that the binomial coefficient is a special case of the more general multinomial coefficient, and any multinomial coefficient calculator handles both situations.
Beyond algebra, multinomial coefficients define the multinomial distribution, which gives the probabilities of category counts when each trial has k possible outcomes. This distribution is used across fields: modeling dice rolls with multiple faces, tracking genetic crosses with several allele combinations, and analyzing survey responses across multiple categories. In each case, the multinomial coefficient counts the arrangements that produce a given set of category counts, and dividing by the total number of possible outcomes yields the probability.
Watch out: groups must add up to N
The multinomial coefficient for groups of sizes n1, n2, ..., nk summing to N is N! / (n1! × n2! × ... × nk!) — the number of ways to assign N distinct items to the groups. That word "summing" is doing real work in the definition. The formula is defined only when the group sizes add up exactly to N. If they do not, the expression has no combinatorial meaning, because you cannot distribute N items among groups whose sizes total something other than N. A multinomial coefficient calculator should refuse to compute a value in that situation rather than handing back a meaningless number.
To see why the constraint matters, consider what the coefficient counts. You have N distinct items and want to place them into groups of specified sizes. If the group sizes do not match N, the scenario is impossible — there is no valid arrangement to count. The multinomial coefficient is also the coefficient of a term in the multinomial theorem (x1 + ... + xk)^N, where each term corresponds to choosing the variables a specific number of times. Those exponents must add to N, or the term simply does not exist. The same logic applies to the multinomial distribution used for category counts: the category frequencies must sum to the total number of trials.
When the sizes do add up, the calculation is straightforward. Verified example: 10 items split into groups of 3, 3, and 4 gives 10! / (3! 3! 4!) = 3,628,800 / 864 = 4,200. A second verified example: 12 items split 2, 3, 3, and 4 gives 479,001,600 / 1,728 = 277,200. With just two groups the multinomial coefficient reduces to a familiar binomial coefficient: 6 items split 2 and 4 gives 720 / 48 = 15, which is exactly C(6, 2).
You can also build the same result step by step as a product of binomial coefficients: choose group 1, then group 2 from the remaining items, and so on. For the 10-item example, that chain is C(10, 3) × C(7, 3) × C(4, 4) = 120 × 35 × 1 = 4,200. Notice how the top numbers shrink by the size of each group chosen — 10, then 7, then 4 — and the last group takes whatever remains. If your group sizes did not sum to 10, that final pool would not match the last group size, and the chain would break. That breakdown is exactly why the sum-to-N rule is not a technicality but a structural requirement.
FAQs
How do you calculate a multinomial coefficient?
Divide N! by the product of the group factorials. For example, 10! / (3! 3! 4!) = 3,628,800 / 864 = 4,200. The numerator is the factorial of the total number of items, and the denominator is the product of the factorials of each group size.
What is the multinomial coefficient for 12 items in groups of 2, 3, 3, 4?
The multinomial coefficient is 277,200. To get this, 12! is 479,001,600 and the group factorials multiply to 1,728. Dividing 479,001,600 by 1,728 gives 277,200, which is the number of ways to split 12 items into groups of 2, 3, 3, and 4.
Is the binomial coefficient a special case?
Yes. With two groups it reduces to C(N, n1). For example, 6 items in groups of 2 and 4 give C(6, 2) = 15. The binomial coefficient is simply the multinomial coefficient applied when there are exactly two groups being counted.
Do the group sizes have to add up to N?
Yes. The coefficient counts complete assignments of all N items, so the page checks the sum (3 + 3 + 4 = 10) before computing. If the group sizes do not add up to N, the multinomial coefficient is not valid and the calculator will not produce a result.
Does the order of the groups matter?
Groups are labelled (group 1 is distinct from group 2), so 3, 3, 4 in that order is one specification; equal-sized groups do not create extra divisions because the labels differ. The order in which you list the groups is part of the specification.
Where are multinomial coefficients used?
They appear in the multinomial theorem's expansion, multinomial probability distributions, and counting problems such as distinct arrangements of the letters of MISSISSIPPI. These applications involve splitting items into labelled groups or finding coefficients in polynomial expansions with multiple variables.