Cohen's Kappa Calculator (Agreement Between Two Raters)
Cohen's kappa, observed and chance agreement, an approximate 95 % interval and the Landis–Koch label for two raters who each said yes or no to the same items.
Results
What this tool does
Two raters agreeing 85 % of the time sounds good, but if both say yes nine times out of ten they would agree about 82 % of the time by luck alone. Kappa measures agreement beyond chance: 0 means no better than chance, 1 is perfect agreement and negative values mean worse than chance. The conventional verbal labels of Landis and Koch (1977) are only rough guides. Kappa also falls when one answer is very rare even though the raters agree on almost everything — the 'kappa paradox' — which is why the prevalence- and bias-adjusted figure is shown beside it. The interval is a large-sample approximation.
Formula
κ = (pₒ − pₑ) ÷ (1 − pₑ) · pₒ = (a + d) ÷ N · pₑ = ((a+b)(a+c) + (c+d)(b+d)) ÷ N² · SE ≈ √(pₒ(1 − pₒ) ÷ (N(1 − pₑ)²)) · PABAK = 2pₒ − 1
Variables
| Symbol | Meaning | Unit |
|---|---|---|
a | Both raters say yes | — |
b | Rater 1 yes, rater 2 no | — |
c | Rater 1 no, rater 2 yes | — |
d | Both raters say no | — |
K | Cohen's kappa | — |
PO | Observed agreement | % |
PE | Agreement expected by chance alone | % |
SE | Approximate standard error of kappa | — |
LO | 95 % interval for kappa — lower | — |
HI | 95 % interval for kappa — upper | — |
PB | Prevalence- and bias-adjusted kappa (PABAK) | — |
LB | Strength of agreement (Landis and Koch) | — |
Worked example
- Both raters say yes40
- Rater 1 yes, rater 2 no10
- Rater 1 no, rater 2 yes5
- Both raters say no45
- Cohen's kappa0.7000
- Observed agreement85.00 %
- Agreement expected by chance alone50.00 %
- Approximate standard error of kappa0.0714
- 95 % interval for kappa — lower0.560
- 95 % interval for kappa — upper0.840
- Prevalence- and bias-adjusted kappa (PABAK)0.700
- Strength of agreement (Landis and Koch)Substantial (0.61 to 0.80)
Limitations
- The calculation runs at full precision and only the display is rounded. If you copy an intermediate value and retype it, small differences can appear.
- The default values are typical reference figures, not measurements of your situation. Replace them with your own data whenever you have it.