Skip to main content

Multinomial Coefficient Calculator — n! / (k1!·k2!·…)

n! / (k1!·k2!·…) computed exactly with BigInt — ways to split n items into fixed-size groups, the multinomial-theorem term coefficient, browser-only

  • Runs locally
  • Category Calculator
  • Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.

Enter the group sizes k1, k2, … separated by commas. The tool reads n as their sum and computes the multinomial coefficient n! / (k1!·k2!·…) exactly with BigInt — so a 40-digit arrangement count comes back with every digit right, not a rounded float. This is the number of ways to split n labelled items into groups of those sizes, and the coefficient of x1^k1·… in (x1+…+xm)^n.

n = Σ ki = 11 · 4 groups
Multinomial coefficient
34,650
Formula
n! / (k1! · k2! · …)
11! / (1! · 4! · 4! · 2!) = 34,650
Try an example
Every count is plain BigInt arithmetic in your browser. Nothing is uploaded and nothing is logged.

What this tool does

Free multinomial coefficient calculator that returns n! / (k1!·k2!·…) exactly for any list of group sizes. Type the sizes k1, k2, … and the tool reads n as their sum, then computes the coefficient with BigInt so a 40-digit arrangement count comes back with every digit correct rather than the rounded float a tool built on ordinary numbers would give once the value passes 21!. The result is the number of distinct ways to partition n labelled items into groups of those exact sizes, and it is also the coefficient of x1^k1·…·xm^km in the expansion of (x1+…+xm)^n, which is the multinomial theorem. When you give it two groups it reduces to the ordinary binomial coefficient C(n, k1). The classic worked example is the number of distinct orderings of MISSISSIPPI, which is 11! / (1!4!4!2!) = 34650. A zero-size group is allowed and changes nothing because 0! = 1. The substituted formula is shown so you can copy the working into homework, huge results collapse behind a toggle to keep the page fast, and the group list rides in the URL so a shared link reopens the same calculation. Everything runs locally, nothing is uploaded. 100% client-side.

Tool details

Input
Files + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Download
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Calculator · Student
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Multinomial Coefficient Calculator fits into your work

Use it for fast estimates, comparisons, and planning numbers before you make the final call.

Calculation jobs

  • Getting a realistic range before a purchase, plan, workout, or schedule decision.
  • Comparing scenarios by changing one input at a time.
  • Turning rough assumptions into a number you can discuss.

Calculation checks

  • Double-check units, dates, rates, and rounding assumptions.
  • Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
  • Save the inputs that produced an important result so you can reproduce it later.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Permutation & Combination Calculator nPr, nCr, n!, n^r and combinations-with-repetition — exact BigInt results with the formula and worked steps — browser-only Open
  2. 2 Factorial Calculator Exact n! for any non-negative integer, with digit count, trailing zeros, double factorial and scientific notation, computed on BigInt right in your browser Open
  3. 3 Pascal's Triangle Generator Generate any number of rows, read off every binomial coefficient C(n,k), highlight one row as a binomial expansion, copy or share — runs fully in your browser Open

Real-world use cases

  • Count the distinct anagrams of a word

    A puzzle asks how many distinct ways the letters of BANANA can be arranged. Group the letters by frequency: B appears once, A three times, N twice, so enter 1, 3, 2. The tool reads n = 6 and returns 6! / (1!3!2!) = 60. The same approach handles any word with repeated letters, where a plain 6! would massively overcount because swapping two identical A's produces the same string.

  • Find a coefficient in a multinomial expansion

    You need the coefficient of x^2·y·z in (x + y + z)^4 for an algebra assignment. The exponents are the group sizes, so enter 2, 1, 1. The tool reads n = 4 and returns 4! / (2!1!1!) = 12, which is exactly that coefficient. The substituted formula is shown so you can copy the full working straight into your answer rather than just the final number.

  • Count ways to deal cards or split a group into teams

    Dealing 52 cards into four labelled hands of 13 each is 52! / (13!)^4. Enter 13, 13, 13, 13 and read the 29-digit answer exactly. The same calculation splits 12 students into a group of 5, a group of 4 and a group of 3 by entering 5, 4, 3, which gives 27720 distinct assignments to those labelled groups.

  • Teach the link between factorials, binomial and multinomial counts

    Showing a class that C(5, 2) is just the two-group multinomial 5! / (2!3!) makes the generalisation click. Enter 2, 3 to get 10, then add a third group and watch the count change. Because the group list lives in the URL, you can prepare several worked examples as links and drop them into a lesson or a shared worksheet.

  • Sanity-check a probability with the multinomial distribution

    The multinomial coefficient is the counting factor in the multinomial probability formula. Rolling a die 6 times and asking for exactly two 1's, two 2's and two 3's uses the coefficient 6! / (2!2!2!) = 90. Enter 2, 2, 2 to get that 90, then multiply by the per-outcome probability to finish the calculation by hand with confidence.

Common pitfalls

  • Typing n itself as one of the inputs. This tool reads n as the sum of the group sizes, so you only enter k1, k2, …. For MISSISSIPPI you enter 1, 4, 4, 2 (the letter counts), not 11. Adding an extra 11 would push n to 22 and give a meaningless answer.

  • Forgetting to group repeated items before counting arrangements. The distinct orderings of a word with repeats is n! divided by the factorial of each repeat count, not plain n!. Using 11! for MISSISSIPPI overcounts by a factor of 4!·4!·2! = 1152 because it treats identical letters as distinguishable.

  • Confusing labelled groups with interchangeable ones. The multinomial coefficient counts assignments to labelled groups. If the groups themselves are not distinguishable, for example three unlabelled teams of equal size, you must divide further by the factorial of the number of equal groups to avoid overcounting.

Privacy

Every count here, the factorials and the final division, is plain BigInt arithmetic running in your browser tab. The group sizes you type, the computed n and the result never leave the page, and there is no logging of what you calculated. The one thing to know: the shareable link encodes your group list in the query string, so a link pasted into chat records those numbers in the recipient server's access log. The numbers here are ordinarily harmless, but if a particular calculation is sensitive, use the copy button and paste the result text instead of sharing the URL.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-05-30