How this calculation works
A standard Young tableau fills a partition-shaped diagram with the distinct numbers one through its cell count, increasing across each row and down each column. The hook-length formula counts these fillings without listing them. This calculator displays the hook at every cell, its product and the resulting exact integer count, using the English orientation with the longest row at the top.
f^λ=N!/∏_(cells c in λ)h(c); h(c)=1+(cells to the right)+(cells below).A worked example
The shape (3,2) has hook lengths 4,3,1 in the first row and 2,1 in the second. Their product is 24. There are 5!=120 unrestricted ways to assign five distinct labels, and the hook-length formula gives 120/24=5 standard tableaux. The shape alone is the input; a particular filling is not required to calculate this count.
Good to know
Only straight partition shapes are supported: positive nonincreasing integer row lengths, at most twenty rows and one hundred total cells. The result counts standard tableaux with each label appearing exactly once. It does not count semistandard fillings, skew shapes, shifted tableaux or arbitrary diagrams with holes. The page shows hook lengths, not an exhaustive list of all valid tableaux.
Reference: SageMath — standard tableaux and hook-length cardinality (opens in a new tab) ↗
A hook includes its own cell exactly once
For a cell at row i and column j, count the cells strictly to its right in the same row, those strictly below it in the same column, and the cell itself. In shape (3,2), the upper-left cell sees two cells to the right and one below, giving hook length four. The upper-right corner has no cell right or below, giving one.
The product uses every diagram cell. Multiplying only the corner hooks or only one row would give the wrong denominator. Displaying row and column positions beside each hook helps expose a transposed diagram or a forgotten lower cell. The exact divisibility of N! by the complete hook product is an additional consistency check, not a numerical rounding step.
The Stirling set partition count calculator counts partitions of a labeled set, while this page counts increasing fillings of a fixed partition diagram.
Increasing rows alone do not define a standard tableau
For a fixed shape, filling each row in increasing order still leaves the column inequalities to satisfy. Counting choices for each row independently therefore overcounts. The hook-length theorem incorporates the interaction of the row and column constraints for the entire partition diagram.
The labels must be exactly 1,…,N with no repetitions. Allowing repeated labels changes the object to a different tableau family and requires its own bound on the allowed alphabet. A count derived for semistandard tableaux cannot be substituted for the standard count simply because both use the same shape. This page keeps those data requirements distinct.
A corner-removal recurrence independently checks the formula
The largest label N in a standard tableau must occupy a removable outer corner: any cell immediately right or below it would require a still larger label. Removing that corner leaves a standard tableau of the smaller partition shape. Summing counts over all removable corners therefore gives an independent recursive count.
For small shapes, that recurrence can be evaluated without using hook lengths at all, making it a strong oracle for the closed formula. A single row or a single column has exactly one standard filling; a hook shape and a rectangular shape give useful less-trivial checks. Exact factorial arithmetic retains the full count even when the diagram’s number of tableaux is enormous.
A few questions, answered
Does the order of row lengths matter?
Yes. They describe top-to-bottom row lengths and must already be nonincreasing. The calculator rejects an invalid sequence instead of silently sorting a different diagram.
Will it list every tableau?
No. It counts the standard fillings exactly and displays all cell hook lengths. Enumeration can be vastly larger than the compact count.