Weighted kappa calculator

Paste two raters' scores on an ordered scale, or their agreement table, to get quadratic, linear and unweighted kappa with confidence intervals and the agreement table.

No accountInstant resultsLinear and quadratic weights

Enter two raters' scores

For ordered categories, such as a 1–5 rating, a severity grade or a Likert answer.

RATINGS

LIVE RESULT

INSTANT

Cohen's kappa

Kappa depends on how often each category is used: the same agreement can give a lower kappa when one category dominates. Report the agreement table or percentages alongside it.

Why weight kappa?

Cohen's kappa measures agreement between two raters beyond what chance would produce. The ordinary (unweighted) kappa treats every disagreement as equally serious. For ordered categories that is too harsh: if one rater gives 4 and the other 5, they nearly agree, while 1 against 5 is a real conflict. Weighted kappa gives partial credit for near misses.

κw = (Po − Pe) ÷ (1 − Pe), with Po = Σ wij pij and Pe = Σ wij pi· p·j
Linear weights: wij = 1 − |i − j| ÷ (k − 1)
Quadratic weights: wij = 1 − (i − j)² ÷ (k − 1)²

  • Linear weights reduce credit in equal steps: being two categories apart costs twice as much as one.
  • Quadratic weights are lenient with small differences and harsh with large ones. Quadratic-weighted kappa is close to the intraclass correlation and is the most widely reported weighted kappa, for example in essay scoring and clinical grading.
  • Unweighted kappa is right for nominal categories with no order, such as diagnoses or content codes.

Standard errors and confidence intervals use the large-sample formulas of Fleiss, Cohen and Everitt (1969). Results match Python's statsmodels (cohens_kappa) and scikit-learn (cohen_kappa_score). With integer codes, the full range from the lowest to the highest code is used, so an unused middle category still counts in the distances.

Worked example

Two teachers graded 30 essays from 1 to 5. They gave the same grade to 67% of essays and were within one grade on 100%. Unweighted kappa is 0.57 (moderate), linear weighted kappa 0.74 and quadratic weighted kappa 0.88, 95% CI [0.80, 0.95]. Every disagreement is only one grade apart, so the weighted coefficients are much higher than the unweighted one.

Interpreting kappa

Landis and Koch's labels are the most quoted: up to .20 slight, .21–.40 fair, .41–.60 moderate, .61–.80 substantial and above .80 almost perfect. They are arbitrary, and many fields expect at least .60 to .70 for research use and .80 for decisions about individuals. Report which weights you used, because linear and quadratic values can differ considerably.

Common questions

Frequently asked questions

Should I report linear or quadratic weighted kappa?

Linear weights treat each category step as equally costly, while quadratic weights penalize large disagreements more heavily and behave closely to a two-way intraclass correlation on numerical codes.

When is unweighted Cohen’s kappa better?

Use unweighted kappa when categories are nominal (unordered) so every disagreement is treated equally, regardless of how far apart the labels appear.

What if I have three or more raters or missing codes?

Use the inter-coder reliability calculator on Easenco to compute Krippendorff’s alpha or Fleiss’ kappa across multiple raters with missing ratings.