When reviewing a qualitative content analysis, one question almost always comes up: How do you know your coding is more than just your personal interpretation? The usual answer is intercoder reliability, typically calculated as Cohen's kappa. The calculation itself takes five minutes. What goes wrong happens before—with units, sample, and independence—and after, with interpretation.
This article walks through an example step by step, contextualises the values, and shows when kappa is not the right question to ask.
What kappa measures—and why percentages are not enough
Two people code the same material independently using the same codebook. The simplest metric is percentage agreement. The problem: Some of this agreement occurs by chance. If a category is rarely assigned, both coders will usually answer “no” and agree, even if the codebook does not contribute to this.
Cohen’s kappa, proposed by Jacob Cohen in 1960 for two raters and nominal categories, accounts for this chance agreement:
κ = (observed agreement − expected agreement) / (1 − expected agreement)
A value of 1 means perfect agreement, 0 means chance level, and negative values fall below it. What is actually being tested is less the second person than your codebook: A high value shows that your definitions are so clear that someone else applies them in the same way. For guidance on writing such definitions, see the article Creating a codebook.
Three decisions to make before calculating
- Define the units of analysis. Kappa compares decisions on the same units, such as paragraphs or responses to an interview question. If each person delimits their own text segments, you will end up comparing different things.
- Draw a sample. O’Connor and Joffe (2020) cite 10 to 25 percent of units as typical, depending on the dataset, drawn randomly or based on a justified criterion. Record both the proportion and the number.
- Code independently. The second person works only with the codebook, without seeing your assignments and without discussion. A joint pilot interview beforehand is useful but should not be included in the sample.
If a unit can receive multiple categories, as is common in interviews, calculate kappa separately for each category: assigned, yes or no? This produces a 2×2 contingency table for each category.
Worked example with a 2×2 contingency table
Suppose you have interviewed employees about hybrid work, and a fellow student has coded 80 randomly selected paragraphs using your codebook. For the category blurred boundaries, the following table emerges (A is you, B is the second coder; the numbers are hypothetical for this example):
| B: assigned | B: not assigned | Total | |
|---|---|---|---|
| A: assigned | 18 | 4 | 22 |
| A: not assigned | 6 | 52 | 58 |
| Total | 24 | 56 | 80 |
Step 1: Observed agreement
Agreement is on the diagonal: 18 paragraphs where you both assigned the category, and 52 where neither did. (18 + 52) / 80 = 0.875, or 87.5 percent.
Step 2: Expected agreement
You assigned the category in 22 out of 80 paragraphs (0.275), and B in 24 (0.30). If you both decided purely by chance with these frequencies, you would agree on “yes” with a probability of 0.275 × 0.30 = 0.0825 and on “no” with 0.725 × 0.70 = 0.5075. Combined: 0.59.
Step 3: Kappa
κ = (0.875 − 0.59) / (1 − 0.59) = 0.285 / 0.41 ≈ 0.70. After adjusting for chance, the 87.5 percent agreement becomes 0.70—a solid value, but different from what the percentage suggests.
Rare categories
For the category lack of informal exchange, you each assigned it five times in the same 80 paragraphs, but only twice to the same segment. Agreement: 74 out of 80, or 92.5 percent. Kappa: 0.36.
In this case, kappa is not too harsh. The 92.5 percent agreement comes almost entirely from the 72 paragraphs where neither of you assigned the category; where it does appear, you agreed in only two out of eight cases. Feinstein and Cicchetti described this pattern of high agreement and low kappa in 1990 as a paradox. The flip side: With rare categories, a single decision can shift the value significantly. If B had also coded one more of your five instances, kappa would be 0.51.
Interpreting the values
The most widely cited classification is from Landis and Koch (1977):
| Kappa | Classification (Landis and Koch) |
|---|---|
| below 0 | worse than chance |
| 0.00–0.20 | slight |
| 0.21–0.40 | fair |
| 0.41–0.60 | moderate |
| 0.61–0.80 | substantial |
| 0.81–1.00 | almost perfect |
Using this scale, blurred boundaries with 0.70 would be substantial, while lack of informal exchange with 0.36 would only be fair. Landis and Koch themselves describe their thresholds as arbitrary, and others draw them differently. Krippendorff, for example, recommends for his alpha measure that you only rely on data from 0.80 upwards and draw only tentative conclusions between 0.667 and 0.80. For your work, this means: State the scale you use for interpretation and decide on it before you calculate—not after you see which classification sounds better.
Three common mistakes
1. Reporting only the percentage
With unevenly distributed categories, it says little. Report the percentage, kappa, and the frequency of the category together.
2. A single value for the entire category system
A single overall value can hide the poorly defined category you are trying to identify. Report values per category, at least the range, and include the individual values in the appendix.
3. Changing the codebook and reporting the old value
After the check, you refine definitions—that is the point. However, your kappa then refers to the old version. State this clearly or test the new version on an additional sample.
When kappa is not appropriate
- Reflexive thematic analysis. Braun and Clarke reject agreement measures for their approach: Coding is seen as an interpretive act for which there is no “correct” solution against which agreement can be measured. If you use reflexive thematic analysis and report kappa, you contradict your own method. For more details, see the article Thematic analysis according to Braun & Clarke.
- Freely delimited text segments. Without fixed units, the basis for chance correction is missing. An alternative is consensual coding, as described by Kuckartz and Rädiker: Two people code independently, discuss each discrepancy based on the definitions, and reach consensus. The result is refined definitions rather than a metric.
- More than two coders. Cohen’s kappa is designed for two people. For more, use Fleiss’ kappa or Krippendorff’s alpha, which can also handle missing values.
What software can do here—and what it cannot
A tool can draw the sample, keep the second coding blind, calculate without errors, and show where you disagree. Whether a discrepancy is due to an unclear definition or an overlooked sentence is up to you—and you are the one who writes the better definition.
With AI-assisted coding, the following applies: Running the model twice and calculating kappa between the runs measures its consistency, not the clarity of your codebook. A meaningful approach is a blind re-coding by a human. This is how the intercoder check is built in Themera: You code a sample without seeing the tool’s assignments and receive Cohen’s kappa. Since every coding is supported by a verbatim quote, you can verify each assignment against the text; afterwards, you revise the codebook and have the material re-coded. How to disclose this is explained in the article Disclosing AI use in your thesis.
Formulation for the methods chapter
To assess intercoder reliability, a second person coded a random sample of [Anteil] % of the analysis units (n = [Anzahl]) independently and without knowledge of the initial coding, using the codebook. For each category, the percentage agreement and Cohen's kappa were calculated; interpretation follows Landis and Koch (1977). Values ranged from κ = [Minimum] to κ = [Maximum]; individual values and category frequencies are provided in Appendix [X]. Discrepancies were discussed and led to the refinement of [Anzahl] category definitions.
Replace the placeholders and remove any parts you did not do. If you revised the codebook after the check, include that in this paragraph.
Conclusion
Cohen’s kappa is quick to calculate. The value becomes meaningful through the context: fixed units, a random sample, independent coding, values per category with frequencies, and a predefined scale. If you work reflexively, you answer the kappa question with reasoning, not just a number.
View example analysis — with codes, verbatim quotes, and coverage display — or test with your own material: three analyses free, no credit card required.