Menu
numiqo
Statistics made easy

Statistics made easy

8th revised edition (March 2026) - many illustrative examples - only €8.99

Free sample

Cohen's Kappa

Author: Dr. Hannah Volk-Jesussek
Updated:

Medical example data

Cohen's Kappa is a measure of agreement between two raters who classify the same items into mutually exclusive categories. It corrects the observed agreement for the agreement expected from the raters' category frequencies.

For unweighted Cohen's Kappa, the variable rated by the two raters is usually a nominal variable.

Cohen's kappa for nominal data

For agreement on a nominal variable, Cohen's Kappa is appropriate when there are two raters. For an ordinal variable, the weighted Cohen's Kappa can give partial credit when disagreements are close. For a metric variable, an intraclass correlation coefficient is usually used to assess agreement; an ordinary Pearson correlation measures association and can be high even when the raters systematically give different values. If there are more than two raters assigning nominal categories, the Fleiss Kappa is used.

Cohen's Kappa Example

Let's say you have developed a measurement tool, for example a questionnaire, that doctors can use to determine whether a person is depressed or not. Now you give this tool to a doctor and ask her to assess 50 people with it.

For example, your method shows that the first person is depressed, the second person is depressed and the third person is not depressed. The big question now is: Will a second doctor come to the same conclusion?

Cohens Kappa Example

So, with a second doctor, the result could now look like this: For the first person, both doctors come to the same result, but for the second person, the result differs. You're interested in how strong the agreement between the doctors is, and this is where Cohen's Kappa comes in.

Inter-rater reliability

If the assessments of the two doctors agree very well, the inter-rater reliability is high. And it is this inter-rater reliability that is measured by Cohen's Kappa.

Definition:

Cohen's Kappa (κ) is a statistical measure used to quantify the level of agreement between two raters (or judges, observers, etc.) who each classify items into categories. It's especially useful in situations where decisions are subjective and the categories are nominal (i.e., they do not have a natural order).

Cohen's Kappa is therefore a measure of how consistently two raters classify the same items. The item pairs should be independent of other item pairs, and both raters must use the same mutually exclusive categories.

Use cases for Cohen's Kappa

So far we have considered the case where two people measure the same thing. However, Cohen's Kappa can also be used when the same rater makes the measurement at two different times.

Cohen's kappa dependent sample

In this case, the Cohen's Kappa score indicates how well the two measurements from the same person agree.

Measuring the agreement

Cohen's Kappa measures agreement between two categorical ratings of the same items.

Cohen's Kappa reliability and validity

It is important to note that Cohen's Kappa describes agreement, not accuracy. Two raters can agree with one another and still both disagree with a correct reference classification.

Reliability and validity

In the first case we speak of inter-rater reliability or agreement; in the second case we assess validity or accuracy against a suitable reference standard. Cohen's Kappa addresses agreement only.

Calculate Cohen's Kappa

Now the question arises, how is Cohen's Kappa calculated? This is not difficult! We create a table with the frequencies of the corresponding answers.

For this we take our two raters, each of whom has rated whether a person is depressed or not. Now we count how often both have measured the same and how often not.

So we make a table with Rater 1 with "not depressed" and "depressed" and Rater 2 with "not depressed" and "depressed". Now we simply keep a tally sheet and count how often each combination occurs.

Calculate Cohens Kappa

Let's say our final result is as follows: both raters classified 17 people as "not depressed." For 19 people, both chose the rating "depressed."

If both raters gave the same classification, that person appears on the diagonal of the table. If they disagreed, the person appears in an off-diagonal cell.

Rater 1 and Rater 2 agree that 17 patients are not depressed and 19 are depressed. So both raters agree in 36 cases. In total, 50 people were assessed.

With these numbers, we can calculate the observed proportion of agreement. We divide 36 by 50, so po = 0.72. The raters agree in 72% of cases and disagree in 28%.

calculate Cohens Kappa po

This gives us the first part we need to calculate Cohen's Kappa. Cohen's Kappa is given by this formula:

Cohens Kappa Formula

So we just calculated po, what is pe?

Even raters who make classifications independently can agree in some cases, especially when both frequently use the same category.

That is what pe represents: the expected agreement calculated from the two raters' marginal category proportions. But how do you calculate pe?

To calculate pe, we first need the sums of the rows and columns. Then we can calculate pe.

Calculate Cohens Kappa pe

In the first step, we calculate the probability that both raters would randomly arrive at the rating "not depressed."

  • Rater 1 rated 25 out of 50 people as "not depressed", i.e. 50%.
  • Rater 2 rated 23 out of 50 people as "not depressed", i.e. 46%.

The overall probability that both raters would say "not depressed" by chance is: 0.5 * 0.46 = 0.23

In the second step, we calculate the probability that the raters would both say "depressed" by chance.

  • Rater 1 says "depressed" in 25 out of 50 persons, i.e. 50%.
  • Rater 2 says "depressed" in 27 out of 50 people, i.e. 54%.

The total probability that both raters say "depressed" by chance is: 0.5 * 0.54 = 0.27. Now we can calculate pe.

Adding both values gives the agreement expected from the raters' marginal proportions. Thus, pe = 0.23 + 0.27 = 0.50.

Now we can calculate the Cohen's Kappa coefficient. We simply substitute po and pe and obtain a Kappa value of 0.44: (0.72 - 0.50) / (1 - 0.50) = 0.44.

Cohen's Kappa Equation

By the way, in po the o stands for "observed". And in pe, the e stands for "expected". Therefore, po is what we actually observed and pe is the agreement expected from the marginal proportions.

Cohen's Kappa interpretation

Cohen's Kappa is 1 for perfect agreement and 0 when observed agreement equals the agreement expected from the marginal proportions. Negative values indicate less agreement than expected. The table of Landis and Koch (1977) is sometimes used as a rough guide, but these labels are not universal and should not replace subject-specific judgment.

Kappa
>0.8 to 1 Almost Perfect
>0.6 to 0.8 Substantial
>0.4 to 0.6 Moderate
>0.2 to 0.4 Fair
0-0.2 Slight
<0 Poor

According to this rough guide, the calculated Cohen's Kappa coefficient of 0.44 indicates moderate agreement.

Kappa can be low even when the percentage agreement is high if one category is very common or the raters use the categories at different rates. This is known as the prevalence or bias paradox. For this reason, report the crosstab and percentage agreement together with Kappa rather than interpreting Kappa alone.

Cohen's Kappa Standard Error (SE)

The Standard Error (SE) of a statistic, like Cohen's Kappa, is a measure of the precision of the estimated value. It indicates the extent to which the calculated value would vary if the study were repeated multiple times on different samples from the same population. Therefore it is a measure of the variability or uncertainty around the Kappa statistic estimate.

Calculating the Standard Error of Cohen's Kappa

Exact large-sample calculations of the standard error account for the marginal category proportions and their estimation. The following formula is a simple approximation that treats the expected agreement as fixed:

Cohen's Kappa Standard Error

Here, n is the total number of items being rated. Statistical software generally uses a fuller variance calculation or a resampling method when constructing a confidence interval.

Interpreting Standard Error

Small Standard Error: A small SE suggests that the sample estimate is likely to be close to the true population value. The smaller the SE, the more precise the estimate is considered to be.

Large Standard Error: A large SE indicates that there is more variability in the estimates from sample to sample and, therefore, less precision. It suggests that if the study were repeated, the resulting estimates could vary widely.

A confidence interval should usually be reported to show the precision of the Kappa estimate. A two-sided test of H0: κ = 0 asks whether agreement differs from that expected from the marginal proportions. A small p-value does not show that agreement is large enough to be useful in practice.

Weighted Cohen's Kappa

Unweighted Cohen's Kappa treats every disagreement equally. In the case of an ordinal variable, i.e. a variable with a ranking, such as school grades, it is of course desirable that the gradations are also considered. A difference between "very good" and "satisfactory" is greater than between "very good" and "good".

To take this into account, weighted Kappa can be calculated. It gives partial credit according to how far apart the ratings are, commonly using linear or quadratic weights.

Calculate Cohen's Kappa with numiqo

Medical example data

Now we will discuss how you can easily calculate Cohen's Kappa for your data online using numiqo. Simply go to the Cohen's Kappa calculator and copy your own data into the table. Now click on the tab "Reliability".

Cohen's Kappa Calculator

All you have to do is click on the variables you want to analyse and Cohen's Kappa will be displayed automatically. First you will see the crosstab and then you can read the calculated Cohen's Kappa coefficient. If you don't know how to interpret the result, just click on interpretations in words.

An inter-rater reliability analysis was performed for Rater1 and Rater2. Cohen's Kappa was calculated as a measure of agreement between their categorical ratings. According to the rough guide above, there was fair agreement between Rater1 and Rater2, κ = 0.23.


Statistics made easy

  • many illustrative examples
  • ideal for exams and theses
  • statistics made easy on 464 pages
  • 8th revised edition (March 2026)

Only €8.99

Free sample
numiqo

"Super simple written"

"It could not be simpler"

"So many helpful examples"

Cite numiqo: numiqo Team (2026). numiqo: Online Statistics Calculator. numiqo e.U. Graz, Austria. URL https://numiqo.com