Cohen's kappa calculator

This Cohen's kappa calculator measures how well two raters agree beyond what chance alone would produce. Fill in the table of how each rater classified the same items, for two to twelve categories, to get kappa with its confidence interval.

Your numbers are calculated in your browser. Nothing you enter is sent or stored.

Cohen's kappa calculatorOr describe it in Studio →
B: 1B: 2
A: 1
A: 2

Rows are rater A, columns rater B. The diagonal holds the items both raters put in the same category. With three or more categories the weighted kappas are shown too.

Paste raw ratings instead

One item per line: rater A's category, a comma or tab, then rater B's. Up to 12 categories.

Cohen's kappa

0.4

fair agreement

Observed agreement
70%
Expected by chance
50%
Standard error
0.1296
95% CI
0.146 to 0.654
Items rated
50

To report

κ = 0.4 (95% CI 0.15 to 0.65), observed agreement 70%, n = 50

Check your result: add up the diagonal yourself: (20 + 15) ÷ 50 = 0.70 is the observed agreement in the example. Kappa is 0 when observed agreement equals chance agreement, 1 only when every item is on the diagonal, and never higher than the observed agreement.
kappa in the worked example
0.40
kappa in the worked example
its 95% confidence interval
0.15 to 0.65
its 95% confidence interval
categories
2–12
categories
weightings: linear and quadratic
2
weightings: linear and quadratic
  • Two raters, 2 to 12 categories
  • Observed and chance agreement
  • Standard error and 95% CI
  • Weighted kappa, linear and quadratic
  • Runs in your browser, free

01

Cohen's kappa formula

κ = (pₒ − pₑ) ÷ (1 − pₑ)

pₒ is the observed agreement: the share of items on the diagonal of the table. pₑ is the agreement expected by chance: for each category, multiply the share rater A gave it by the share rater B gave it, and add the products up.

02

Worked example

Two raters classify 50 items as yes or no.

B: yesB: no
A: yes205
A: no1015

pₒ = (20 + 15) ÷ 50 = 0.70

pₑ = (25 ÷ 50)(30 ÷ 50) + (25 ÷ 50)(20 ÷ 50) = 0.30 + 0.20 = 0.50

κ = (0.70 − 0.50) ÷ (1 − 0.50) = 0.40

The 95% confidence interval is 0.15 to 0.65.

03

Interpreting kappa

KappaAgreement (Landis and Koch, 1977)
below 0poor
0.00 to 0.20slight
0.21 to 0.40fair
0.41 to 0.60moderate
0.61 to 0.80substantial
0.81 to 1.00almost perfect

These bands are a convention, not a rule; many clinical fields ask for more. Kappa also falls when one category is rare, even if raw agreement is high, so report the observed agreement with it.

04

Common mistakes with Cohen’s kappa

  • Reporting percentage agreement alone. The raters in the example agree on 70% of the items, but kappa is only 0.40 once the 50% expected by chance is taken out.
  • Overlooking a rare category. In the table 45, 2 / 2, 1 the raters agree on 92% of 50 items, yet kappa is 0.29, with a 95% interval from −0.38 to 0.96.
  • Unweighted kappa for ordered categories. For the 3 × 3 rating table 10, 4, 1 / 3, 12, 5 / 1, 4, 10, unweighted kappa is 0.45; quadratic weighting, which counts a near miss as partly right, gives 0.60.

Trust

How this page is checked

Cite this page

Sciloom. (2026). Cohen's kappa calculator. Zebra Nine Studio Inc. https://sciloom.si/cohens-kappa-calculator

Read the full methodology · Who makes Sciloom

Frequently asked questions

Why not just report percent agreement?

Two raters guessing at random would still agree part of the time. Kappa subtracts that chance agreement, so it shows how much better than guessing the raters did.

Can kappa be negative?

Yes. A negative value means the raters agreed less often than chance would predict, which usually points to a systematic disagreement or a coding mix-up.

What if there are more than two raters?

Cohen's kappa is for exactly two. Use Fleiss' kappa for three or more raters.

My categories are ordered. Is plain kappa right?

Plain kappa treats every disagreement as equally bad. For ordered categories, weighted kappa gives partial credit for near misses and is usually the better choice. The calculator shows linear and quadratic weighted kappa once you have three or more categories.

Comparing a test with a gold standard instead? Use the sensitivity and specificity calculator.
Free to start, no sign-up.
Back to the tool ↑

More research tools