Kendall W describes agreement when several raters rank the same objects. The calculation combines the ranks assigned to each object and compares the variation in those sums with the variation possible under complete agreement. An inspection example might compare how several reviewers order the same fixture samples. The result describes consistency of ordering across the reviewers.
A matrix for this comparison contains the same objects for each reviewer. The DescTools function documentation describes subjects in rows and raters in columns. One column contains a complete ordering for that reviewer. It is important to use a consistent convention, such as rank one for the top position, before combining the columns.
For an illustrative example, four specimens A, B, C and D receive ranks one, two, three and four from the first reviewer. The second reviewer assigns one, two, four and three. The third assigns two, one, three and four. All three agree that the first two specimens belong ahead of the last two, while the order within each of those two groups changes in one column.

Adding the three ranks for each specimen gives totals four, five, ten and eleven. Their mean is 7.5. When reviewers agree, the objects placed early repeatedly accumulate small ranks, and objects placed late accumulate large ranks. The object totals therefore tend to spread out around their common mean.
If reviewers place the same object at opposite ends of their rankings, the high and low ranks can balance each other in the sum. For example, with two reviewers using exactly opposite orderings, each object's two ranks add to the same number. That table has zero variation in its object totals and no shared ordering in this measure.
NIST's worked method sums the squared deviations of the object totals from their mean. It divides that sum by the maximum obtained under identical complete rankings. For m reviewers and n objects without ties, the maximum is m²(n³ − n)/12. A perfectly repeated ranking gives one on that scale.
To see the reference directly, suppose all three reviewers gave the first ordering. The totals would be three, six, nine and twelve. Their mean would still be 7.5, but the squared deviations would add to 45. Agreement is expressed through the wider spread of those object totals.
The example deviations are minus 3.5, minus 2.5, plus 2.5 and plus 3.5. Squaring and adding gives 37. With three reviewers and four objects, the complete-agreement value is 45. The resulting W is 37 divided by 45, or about 0.822. This value summarizes the shared ordering in the small illustrative table.

A reviewer may judge two objects equal and use a tied rank. The no-ties normalization assumes that each column contains each rank once. The DescTools documentation provides an option to correct for ties and advises using the correction when rankings include equal positions. A comparison record should identify how those equal ranks were handled.
A tied rank also differs from an omitted judgment. A tie supplies a relative ordering that treats two objects equally, whereas an omitted object leaves part of the comparison unobserved. The illustrated table is complete and has no ties. A record using a different method for incomplete data needs the method and the missingness pattern alongside the coefficient.
A high W indicates that the reviewers order the specimens similarly in the recorded comparison. It does not identify a cause of that agreement or establish that the resulting ordering matches an external performance standard. The individual rankings still show which pairs were difficult to separate.
The coefficient summarizes the whole table. In the example, disagreements concern the ordering within the upper and lower pairs. A score alone loses that distinction. Pairing the score with the rank columns lets a reader see both the overall consistency and the actual positions where the reviewers differed.
Reversing the rank convention for every reviewer reverses the object totals around their mean. Their squared deviations are unchanged. Mixing conventions across columns can instead create artificial disagreement.
DescTools also distinguishes returning the coefficient from asking for an inferential test result, and notes the large-sample conditions for its test. The illustrated score is a calculation example. An assessment report can preserve the number of objects, the number of raters and the actual rank table so the reader can examine the size and design of the comparison.
The NIST report appendix on concordance gives the complete-ranking calculation. The DescTools KendallW reference documents data orientation, tied ranks and test reporting. Browse the robotics measurement statistics section and technical article directory.