Loading…

Multinomial Coefficient Tool

Math Probability • Combinatorics and Counting Techniques

View all topics

Multinomial Coefficient Calculator – n! / (k₁! k₂! … kₘ!) (Free)

Compute the multinomial coefficient for splitting \(n\) items into \(m\) labeled groups of sizes \(k_1,\dots,k_m\): \(\displaystyle \binom{n}{k_1,k_2,\dots,k_m}=\frac{n!}{k_1!\,k_2!\cdots k_m!}\).

Tip: Try Fill example \(n=10\), groups \(3,4,3\) → \(12600\). Press Play to animate assigning items into groups.

Inputs
Group sizes must be integers \(\ge 0\) and must satisfy \(\sum_i k_i = n\). Inputs accept 1e3, pi, e, sqrt(2). Use * for multiplication.
Output & animation
Drag on the canvas to pan; use mouse wheel / trackpad to zoom. Tick labels stay inside the frame.
Ready
Interactive view — group partition diagram + fill animation

The bars show each group size \(k_i\). Play animates placing \(n\) labeled items into groups (order within group ignored).

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does the multinomial coefficient count?

It counts the number of ways to assign n distinct items into m labeled groups with fixed sizes k1,...,km, ignoring order within each group.

Why must the group sizes sum to n?

Because the groups form a partition of the n items. If sum(k_i) ≠ n, the sizes cannot describe a complete split of all items.

How is this related to binomial coefficients?

The multinomial is a multi-category extension of the binomial. You can compute it as C(n,k1)·C(n-k1,k2)·... which simplifies to n!/(k1!...km!).

Where does this appear in probability?

It appears in the multinomial distribution: P(counts)=Multinomial(n; k_i)·∏ p_i^{k_i}, counting sequences that produce the same category counts.