Clew

HomeToolsUX researchCohen’s kappa calculator

Cohen’s kappa calculator: how far raters agree beyond chance

Check inter-rater reliability without Excel or SPSS. Paste one row per subject and one column per rater, with labels or numbers. Two raters give Cohen’s kappa, with linear or quadratic weights if the categories are ordered; three or more give Fleiss’ kappa and show which rater is out of line. Every result comes with a confidence interval and an honest reading when high agreement meets a low kappa.

● Free, no sign-upUpdated:

Kappa

What you are pasting
Paste from Excel, Google Sheets or a CSV export. A header row and an id column are recognised. Rows with an empty rating are left out as a whole.
Weights (two raters)
Only matters for weights. Numbers sort by themselves; text categories need this field.
Confidence level

—

 

Kappa— 
Interval— 
Observed agreement— 
Chance agreement— 
Gwet’s AC1— 
Subjects— 
Kappa and its interval on the Landis & Koch scale
Kappa and its interval on the Landis & Koch scale
kappa and its confidence interval

Agreement table

How many subjects each pair of categories received from the two raters; the diagonal is agreement

Agreement per category

Share of the ratings and kappa for each category against all the others
CategoryShareKappaReading

Method. Kappa = (observed − chance) / (1 − chance). Two raters: Cohen’s kappa with the standard error of Fleiss, Cohen and Everitt (1969); weights use the rank of the category. Three or more: Fleiss’ kappa, tested with the null standard error of Fleiss, Nee and Landis (1979), with the interval from Gwet’s linearised variance. Rows with a missing rating are dropped.

Everything is calculated in your browser — nothing you enter is sent anywhere.

How to use it

  1. Paste one column per raterCopy the block from your spreadsheet with the header row. Categories can be words or numbers. An id column at the start is recognised and left out.
  2. Or paste a table of countsIf you already have a cross-table, as most articles and many exports do, switch to Cross-table. Row and column labels are optional.
  3. Choose weights if the categories are orderedFor severity 1–5, a near miss should count for more than a far miss. Pick linear or quadratic and, for text categories, give the order. For unordered tags, leave weights off.
  4. Read the interval, not only the labelA kappa of 0.62 with an interval from 0.40 to 0.84 is not “substantial” in any useful sense. The chart shows which bands the interval crosses.
  5. Look for the causeThe category table shows which label raters confuse, the agreement table shows with what, and with three or more raters the pair table shows who disagrees.

How Cohen’s kappa is calculated

Two raters who label at random will still agree some of the time. Jacob Cohen’s 1960 coefficient takes that out: it asks how much of the agreement that was possible beyond chance was actually achieved.

pₒ observed agreement: share of subjects on the diagonal pₑ chance agreement: Σ (row share × column share) κ = (pₒ − pₑ) / (1 − pₑ) κ_w = same, with pₒ and pₑ summed over all cells with agreement weights linear w = 1 − |i − j| / (q − 1) quadratic w = 1 − (i − j)² / (q − 1)²

A worked example

Two reviewers mark 50 proposals yes or no: both yes 20, yes and no 5, no and yes 10, both no 15. They agree on 35, so pₒ = 0.70. Reviewer A said yes to 25 of 50 and B to 30 of 50, so chance agreement is 0.5 × 0.6 + 0.5 × 0.4 = 0.50. Then κ = (0.70 − 0.50) / (1 − 0.50) = 0.40. Choose Cross-table and paste 20 5 and 10 15 on two lines to see the same number.

The interval uses the large-sample variance of Fleiss, Cohen and Everitt (1969), which is the one to use for a non-zero kappa; the test against chance uses the variance under the null hypothesis, so the two standard errors differ.

What is a good kappa value

The labels almost everyone quotes come from Landis and Koch (1977), who themselves called the divisions arbitrary. McHugh (2012) argues they are too generous for health research, where a wrong rating has consequences, and proposes a stricter reading:

Two common readings of kappa
KappaLandis & Koch (1977)McHugh (2012)
below 0PoorNone
0 – 0.20SlightNone
0.21 – 0.39FairMinimal
0.40 – 0.59Moderate (from 0.41)Weak
0.60 – 0.79Substantial (from 0.61)Moderate
0.80 – 0.90Almost perfect (from 0.81)Strong
above 0.90Almost perfectAlmost perfect

Many published coding studies aim for 0.60 or higher and treat 0.80 as the target for a coding scheme you rely on. Whatever threshold you use, three things move kappa independently of how good the raters are:

  • Number of categories. More categories usually mean a lower kappa for the same raters, so scales of different length are not directly comparable.
  • Prevalence. When one category dominates, chance agreement is high and kappa falls.
  • Weights. A quadratic-weighted kappa is typically higher than the unweighted one on the same data. State which one you report.

High agreement but low kappa: the paradox

Load the example called “The paradox”: two raters pass or fail 50 items, agree on 46 of them, and kappa is only 0.29. At 92 % agreement, that looks like a bug. It is not.

Both raters said “pass” 94 % of the time, so they would agree about 89 % of the time by chance alone. The 92 % is only a little better than that. Feinstein and Cicchetti described the effect in 1990, and it is why a single kappa can mislead on imbalanced data. For that case the page shows three further numbers:

  • Maximum kappa is the highest value possible given how often each rater used each category. If it is far below 1, the raters’ different base rates cap the result.
  • PABAK (Byrt, Bishop and Carlin, 1993) sets chance to a uniform spread over the categories; here it is 0.84. With two categories it is simply 2pₒ − 1.
  • Gwet’s AC1 (2008) models chance differently and stays stable when prevalence is extreme; here it is 0.91.

None of these is a way to rescue a bad number. The point of Feinstein and Cicchetti’s advice is to report agreement and kappa side by side and let a reader see why they differ. Also check that the rare category has enough cases: the agreement on the items that matter may rest on only a handful of them.

Cohen, weighted or Fleiss: which kappa to use

Which coefficient fits the data
Your dataUse
Two raters, unordered labelsCohen’s kappa
Two raters, ordered categories (severity, Likert)Weighted kappa, linear or quadratic
Three or more raters, every subject rated by the same number of ratersFleiss’ kappa
Numeric scores or several raters on a continuous scaleIntraclass correlation (ICC), not kappa
Missing ratings you need to keepKrippendorff’s alpha

Linear or quadratic? Quadratic weights penalise big disagreements much more and, with balanced marginals, are close to an intraclass correlation. Pick the scheme before looking at the results, since it can shift the value by a band.

Fleiss with two raters is not Cohen. Fleiss’ kappa generalises Scott’s pi: it assumes a common distribution of categories across raters, while Cohen’s keeps a separate one per rater. Give this page two rater columns and it calculates Cohen’s. Fleiss’ kappa also does not need the same people to rate every subject, only the same number.

Which rater is it? A single Fleiss value cannot say. The pair table can: in the “Four raters” example, Fleiss’ kappa is 0.38, Dev’s mean kappa with the others is about zero, and without Dev’s column the same data give 0.79. Light’s kappa, the mean of the pairwise values, is a common alternative summary for this kind of data.

Using kappa on product and UX research

Whenever more than one person turns qualitative material into categories, kappa tells you whether the categories exist outside one person’s head. That covers tagging support tickets, coding interview transcripts, rating the severity of usability problems and labelling data for a model.

  • Pilot the codebook. Have two people code the same 30 to 50 items before the real pass. In the “Two raters” example, kappa is 0.76 overall but “howto” sits at 0.60, because the raters disagree about what counts as a bug. That is a fix to the definition, not a problem with the raters.
  • Severity ratings need weights. Calling a problem “major” when your colleague says “critical” is not the same as calling it “cosmetic”. Unweighted kappa treats them alike.
  • Standard scales are a different question. For a questionnaire’s internal consistency, use the Cronbach’s alpha calculator; for usability scores, the SUS calculator.

Sources

  1. Cohen J. “A coefficient of agreement for nominal scales.” Educational and Psychological Measurement 20(1), 1960, 37–46.
  2. Cohen J. “Weighted kappa: nominal scale agreement with provision for scaled disagreement or partial credit.” Psychological Bulletin 70(4), 1968, 213–220.
  3. Fleiss J. L., Cohen J., Everitt B. S. “Large sample standard errors of kappa and weighted kappa.” Psychological Bulletin 72(5), 1969, 323–327.
  4. Cicchetti D. V., Allison T. “A new procedure for assessing reliability of scoring EEG sleep recordings.” American Journal of EEG Technology 11(3), 1971, 101–109 — linear weights.
  5. Fleiss J. L. “Measuring nominal scale agreement among many raters.” Psychological Bulletin 76(5), 1971, 378–382.
  6. Fleiss J. L., Nee J. C. M., Landis J. R. “Large sample variance of kappa in the case of different sets of raters.” Psychological Bulletin 86(5), 1979, 974–977.
  7. Landis J. R., Koch G. G. “The measurement of observer agreement for categorical data.” Biometrics 33(1), 1977, 159–174.
  8. Feinstein A. R., Cicchetti D. V. “High agreement but low kappa: I. The problems of two paradoxes.” Journal of Clinical Epidemiology 43(6), 1990, 543–549.
  9. Byrt T., Bishop J., Carlin J. B. “Bias, prevalence and kappa.” Journal of Clinical Epidemiology 46(5), 1993, 423–429.
  10. Gwet K. L. “Computing inter-rater reliability and its variance in the presence of high agreement.” British Journal of Mathematical and Statistical Psychology 61(1), 2008, 29–48.
  11. McHugh M. L. “Interrater reliability: the kappa statistic.” Biochemia Medica 22(3), 2012, 276–282.

FAQ

What is Cohen’s kappa?

A measure of agreement between two raters who sort the same subjects into categories, corrected for the agreement expected by chance. 1 is perfect agreement, 0 is what chance alone would give, and negative values mean less than chance. Jacob Cohen published it in 1960.

How do I calculate Cohen’s kappa?

Kappa = (observed agreement − chance agreement) / (1 − chance agreement). Chance agreement is the sum, over the categories, of the two raters’ shares multiplied together. This page does it from raw labels or from a table of counts.

What is a good kappa value?

By the Landis and Koch reading, 0.41–0.60 is moderate, 0.61–0.80 substantial and above 0.81 almost perfect. McHugh’s stricter reading calls 0.60–0.79 moderate and 0.80–0.90 strong. Many coding studies aim for at least 0.60 and treat 0.80 as the target. Report the interval too.

What is the difference between Cohen’s and Fleiss’ kappa?

Cohen’s kappa is for exactly two raters and keeps a separate category distribution for each. Fleiss’ kappa is for any fixed number of raters per subject and uses one shared distribution. With two raters they differ slightly when the raters’ base rates differ.

When should I use weighted kappa?

When the categories have an order, such as severity levels or a rating scale, so that a near miss should count for more than a far miss. For unordered labels, use unweighted kappa. With two categories the weighted and unweighted values are identical.

Why is my kappa low when agreement is high?

Because one category dominates, so chance agreement is already high. This is known as the kappa paradox. The page shows the maximum possible kappa, PABAK and Gwet’s AC1 next to it. Report agreement and kappa together.

Can I calculate kappa in Excel?

Yes, but it takes a cross-table and several formulas for each coefficient, and an interval takes more. Here you paste the columns from Excel and get the same kappa with the interval, the agreement table and pairwise values.

Is my data uploaded anywhere?

No. Parsing and every calculation run in your browser. Only what you put into the URL yourself, by copying the share link, leaves the page.

More in UX research

Open the collection →

Tours, tooltips and checklists whose impact shows up in the numbers.

Try Clew for freeHow it worksFree plan forever · no credit card

Product tours, popups and onboarding in the age of AI

7 patterns with step counts, copy rules and what to measure, what AI changes, and a checklist before you publish. PDF, 2 pages. What is inside →