Skip to content
simstat.com Statistics by simulation

Fleiss' Kappa: Agreement Among Three or More Raters

Fleiss' kappa (κ) measures how far raters who sort subjects into nominal categories agree beyond chance when every subject gets the same number of ratings: κ = (P̄ − P̄ₑ) / (1 − P̄ₑ), where P̄ is the average share of agreeing rater pairs per subject and P̄ₑ the agreement expected from the overall category proportions. κ = 1 is perfect agreement and 0 is chance level. The raters need not be the same people for every subject. With missing ratings or ordered codes, use Krippendorff's alpha instead.

Last updated · by the simstat.com editorial team · How we write

What Fleiss’ kappa measures

Suppose several clinicians each assign a diagnosis to the same patients, or several coders each place the same interview segments into one of a set of themes. You want to know whether the categories reflect the material or the habits of whoever did the rating. Raw agreement overstates it, because raters who pick categories at random will still agree some of the time, and more often when one category is common.

Fleiss’ kappa corrects for that. For each subject, it asks: if you pick two of its ratings, how likely are they to match? It averages that over subjects, then compares the result with how often two ratings would match if they were drawn at random from the overall mix of categories. Hayes and Krippendorff (2007) describe the coefficient as Fleiss’s (1971) generalisation of Scott’s pi, a two-coder coefficient, to many observers, and note that it remains limited to nominal data: categories with no order, such as diagnoses or themes.

A kappa of 1 means every subject’s ratings fall in a single category. A kappa of 0 means the raters agree no more often than chance would predict, and negative values mean they agree less.

When to use it

Fleiss’ kappa fits a specific design. As described by Moons and Vandervieren (2025), it allows a fixed number of two or more raters, each of whom puts every subject into exactly one category. Hallgren (2012) summarises Fleiss (1971) as suitable for studies in which a constant number of coders is randomly sampled from a larger pool, with each subject rated by a different sample. Two consequences follow:

How the other common coefficients compare:

SituationSuitable coefficient
Exactly two raters, both rate every subjectCohen’s kappa
Same number of ratings per subject, nominal codesFleiss’ kappa
Missing ratings, any number of raters, or ordered or numeric codesKrippendorff’s alpha

Two cautions. First, the R irr documentation notes that the coefficient described by Fleiss (1971) does not reduce to Cohen’s kappa when there are two raters (Gamer et al., 2026); with two raters, use our Cohen’s kappa guide. Second, Hallgren (2012) argues that because Fleiss’s coefficient assumes a new sample of coders for each subject, it is inappropriate for fully crossed designs, in which the same coders rate every subject. If you use it for such a design, say so and consider reporting Krippendorff’s alpha alongside it, which, as Hayes and Krippendorff (2007) put it, “can be used with any number of observers with or without missing data”.

The formula

The definitions are Fleiss’s, as set out by Moons and Vandervieren (2025); the symbols are those of Wikipedia’s article. There are N subjects, each rated by n raters into one of k categories, and nij is the number of raters who put subject i into category j.

Pi=1n(n−1)∑j=1knij(nij−1)=∑jnij2−nn(n−1),Pˉ=1N∑i=1NPiP_i = \frac{1}{n(n-1)} \sum_{j=1}^{k} n_{ij}(n_{ij} - 1) = \frac{\sum_{j} n_{ij}^2 - n}{n(n-1)}, \qquad \bar{P} = \frac{1}{N}\sum_{i=1}^{N} P_i
pj=1Nn∑i=1Nnij,Pˉe=∑j=1kpj2,κ=Pˉ−Pˉe1−Pˉep_j = \frac{1}{Nn}\sum_{i=1}^{N} n_{ij}, \qquad \bar{P}_e = \sum_{j=1}^{k} p_j^2, \qquad \kappa = \frac{\bar{P} - \bar{P}_e}{1 - \bar{P}_e}

Because chance comes from the pooled proportions, Fleiss’ kappa treats raters as interchangeable. Hayes and Krippendorff (2007) count it, like Scott’s pi, among the measures that are invariant to the permutation of observers.

A worked example

The data are Fleiss’s own example, as distributed in the R irr package (Gamer et al., 2026): 30 patients, each diagnosed by a different set of 6 psychiatrists into one of 5 categories (depression, personality disorder, schizophrenia, neurosis and other). The R irr package and Python’s statsmodels both give κ = 0.430 for these data. (Wikipedia’s article on Fleiss’ kappa uses a different, unsourced table of 10 subjects rated 14 times each, for which κ = 0.210.)

Worked example: Fleiss' kappa for 30 patients diagnosed by 6 psychiatrists

The counts and agreement per patient. Each row shows how many of the 6 psychiatrists chose each diagnosis (Depr. = depression, Pers. = personality disorder, Schiz. = schizophrenia, Neur. = neurosis), the sum of the squared counts, and Pi.

PatientDepr.Pers.Schiz.Neur.OtherΣ nij²Pi
100060361.000
203003180.400
301401180.400
400006361.000
503030180.400
620400200.467
700402200.467
820310140.267
920040200.467
1000006361.000
1110050260.667
1211040180.400
1303300180.400
1410050260.667
1502031140.267
1600501260.667
1730012140.267
1851000260.667
1902040200.467
2010203140.267
2100006361.000
2201050260.667
2302013140.267
2420040200.467
2510041180.400
2605010260.667
2740002200.467
2802040200.467
2910500260.667
3000006361.000
Total2626305543
pj0.1440.1440.1670.3060.239

Agreement on one patient. Patient 3 has 0² + 1² + 4² + 0² + 1² = 18, so P3 = (18 − 6) / (6 × 5) = 12 / 30 = 0.400. Of the 30 ordered pairs of this patient’s diagnoses, 12 match: the pairs among the four psychiatrists who chose schizophrenia. Patient 1, whom all 6 psychiatrists diagnosed with neurosis, has P1 = 1.000.

Observed agreement. The Pi add up to 16.667, so P̄ = 16.667 / 30 = 0.556.

Category proportions. Depression received 26 of the 180 diagnoses, so p1 = 26 / 180 = 0.144; the table’s last row has the rest.

Chance agreement. P̄e = 0.144² + 0.144² + 0.167² + 0.306² + 0.239² = 0.220.

Kappa. κ = (0.556 − 0.220) / (1 − 0.220) = 0.336 / 0.780 = 0.430 (computed from the unrounded values). Two diagnoses of the same patient matched 55.6% of the time against 22.0% expected by chance, so the psychiatrists achieved a little over two-fifths of the agreement that was possible beyond chance.

Krippendorff’s alpha on the same data. Expanded into one code per diagnosis, the table gives a nominal alpha of 0.433, with observed disagreement Do = 0.444 and expected disagreement De = 0.784. Do equals 1 − P̄ = 0.444, and De equals 1 − P̄e = 0.780 multiplied by 180/179, a small-sample correction for alpha’s 180 values. When no rating is missing, that factor is all that separates the two coefficients.

Reproduce it in our calculator

Our Krippendorff’s alpha calculator accepts either a units × coders table of codes or a table of counts. Open it and set the input format to “Counts table”. The box fills with this example, category names in the first row, and the calculator shows Fleiss’ kappa 0.430, P̄ = 0.556, P̄e = 0.220 and a nominal alpha of 0.433.

Why units with missing ratings are dropped

Fleiss’ kappa has no way to use a subject with fewer ratings than the rest, because Pi and pj both assume n ratings per subject. Incomplete subjects are therefore dropped: the irr documentation states that missing data “are omitted in a listwise way” (Gamer et al., 2026), and our calculator does the same and says how many units it used. Hayes and Krippendorff (2007) note that alpha copes with missing data where none of the other coefficients they review can.

To see the cost, suppose the sixth diagnosis of patients 1, 4 and 10 had been lost. Below are the same data as codes (1 = depression, 2 = personality disorder, 3 = schizophrenia, 4 = neurosis, 5 = other), one row per patient, with a full stop, the calculator’s missing-value mark, in place of each lost diagnosis. Paste it with the input format set to codes and “First row holds coder names” unticked.

4 4 4 4 4 .
2 2 2 5 5 5
2 3 3 3 3 5
5 5 5 5 5 .
2 2 2 4 4 4
1 1 3 3 3 3
3 3 3 3 5 5
1 1 3 3 3 4
1 1 4 4 4 4
5 5 5 5 5 .
1 4 4 4 4 4
1 2 4 4 4 4
2 2 2 3 3 3
1 4 4 4 4 4
2 2 4 4 4 5
3 3 3 3 3 5
1 1 1 4 5 5
1 1 1 1 1 2
2 2 4 4 4 4
1 3 3 5 5 5
5 5 5 5 5 5
2 4 4 4 4 4
2 2 4 5 5 5
1 1 4 4 4 4
1 4 4 4 4 5
2 2 2 2 2 4
1 1 1 1 5 5
2 2 4 4 4 4
1 3 3 3 3 3
5 5 5 5 5 5

Only 3 of 180 diagnoses are missing, yet Fleiss’ kappa drops 3 whole patients, and the 15 diagnoses still present on them, and is computed on 27 patients: κ = 0.372, down from 0.430. Krippendorff’s alpha keeps all 30 patients and 177 values and gives 0.425. On the same 27 complete patients alpha would be 0.376, so most of the gap comes from discarding patients, not from the choice of coefficient. The lost patients were ones on whom all six psychiatrists agreed, so kappa fell; losing patients with poor agreement would push it up instead.

How to interpret the value

Widely quoted verbal labels for kappa come from Landis and Koch; as summarised by Hallgren (2012), 0.0 to 0.20 is “slight”, 0.21 to 0.40 “fair”, 0.41 to 0.60 “moderate” and so on up to “almost perfect”. Hallgren adds that “the use of these qualitative cutoffs is debated”. On that scale 0.430 is “moderate”, but the label would change at 0.40 although nothing about the raters changes at that boundary.

More useful questions:

How to report Fleiss’ kappa

Hallgren (2012) lists failing to report which statistic, and which variant, was used among common mistakes. For the example:

Each of 30 patients was diagnosed by 6 psychiatrists, a different set for each patient, who assigned it to one of 5 nominal categories. Mean pairwise agreement was 0.556 against 0.220 expected by chance, Fleiss’ kappa = 0.430 (Fleiss, 1971; computed on all 30 patients, no missing ratings). Krippendorff’s alpha (nominal) was 0.433.

Include:

Common mistakes

Using Fleiss’ kappa with missing ratings. Incomplete subjects are silently dropped, and the dropped subjects may be the hard ones or the easy ones. Report how many were lost, or use Krippendorff’s alpha.

Using it for ordered categories. Fleiss’ kappa treats a disagreement between neighbouring points of a rating scale the same as one between its ends. Hayes and Krippendorff (2007) note that it remains limited to nominal data; alpha at the ordinal or interval level uses the order.

Feeding it a table of counts in the wrong layout. Programs differ in what they expect. The statsmodels function takes subjects in rows and categories in columns, irr’s kappam.fleiss takes subjects in rows and raters in columns, and our calculator takes either, depending on the input format you choose. A counts table pasted where codes are expected gives a meaningless answer without any error.

Reading the verbal label as a verdict. A label says nothing about which categories were confused. Report the values and the counts, and judge them against what your study needs.

Where to go next

The qualitative research hub collects our guides to coding and intercoder reliability. Our guide to Krippendorff’s alpha covers the coefficient that handles missing ratings and ordered codes, and the guide to Cohen’s kappa covers two raters, with weighted kappa and a confidence interval. For two raters, the Cohen’s kappa calculator takes an agreement table directly.

References

  1. Fleiss, J. L. (1971). Measuring Nominal Scale Agreement Among Many Raters. Psychological Bulletin, 76(5), 378–382.
  2. Moons, F. & Vandervieren, E. (2025). Measuring Agreement Among Several Raters Classifying Subjects into One or More (Hierarchical) Categories: A Generalization of Fleiss' Kappa. Behavior Research Methods, 57(10), article 287.
  3. Hayes, A. F. & Krippendorff, K. (2007). Answering the Call for a Standard Reliability Measure for Coding Data. Communication Methods and Measures, 1(1), 77–89.
  4. Hallgren, K. A. (2012). Computing Inter-Rater Reliability for Observational Data: An Overview and Tutorial. Tutorials in Quantitative Methods for Psychology, 8(1), 23–34.
  5. Gamer, M., Lemon, J., Fellows, I. & Singh, P. (2026). irr: Various Coefficients of Interrater Reliability and Agreement (reference manual, version 0.85). The Comprehensive R Archive Network (CRAN).
  6. (2025). statsmodels.stats.inter_rater.fleiss_kappa (statsmodels documentation, version 0.15.0). The statsmodels developers.
  7. (2026). Fleiss's kappa (Wikipedia article, revision of 13 July 2026). Wikipedia, The Free Encyclopedia.

Try it

Related reading