Agreement beyond chance — and the two numbers that say whether that is the right question.
Agreement, minus the agreement chance would give
Observed agreement 0.85, kappa 0.6995.
100 cases, 2 categories, Unweighted
κ = 0.699519
The raters agreed on 85.00% of cases, and chance alone would have produced 50.08%.
κ
0.699519
Observed agreement
85.00%
p₀
Chance agreement
50.08%
pₑ, from the marginals
Maximum possible κ
0.939904
capped by the marginals
PABAK
0.700000
as if the marginals were balanced
Standard error
0.071529
Cohen (1960)
95% interval
0.5593 to 0.8397
κ ÷ maximum
0.7442
how much of what was possible
κ = (p₀ − pₑ)/(1 − pₑ) = (0.8500 − 0.5008)/(1 − 0.5008). It is the share of the agreement beyond chance that was actually achieved, out of the share available. Perfect agreement gives 1, chance-level agreement gives 0, and worse-than-chance gives a negative number. The chance term comes entirely from the marginals — how often each rater used each category — which is what makes kappa depend on things that have nothing to do with how well the raters agree.
These marginals cap kappa at 0.9399, so 1 was never reachable. The two raters used the categories at different rates, and no rearrangement of the cases within those row and column totals produces perfect agreement. So κ = 0.6995 against a ceiling of 0.9399 is 74.4% of what was available — a different statement from “70% of perfect”, and almost no tool reports the ceiling.
PABAK is 0.700000 here, against a kappa of 0.699519. Prevalence-adjusted bias-adjusted kappa is what kappa would be if both raters had used the categories equally often — for two categories it is simply 2p₀ − 1, a direct rescaling of the observed agreement. Comparing the two separates the two things kappa mixes: a large gap means the marginals are doing the work, and a small one means the raters genuinely differ. Load the balanced and skewed presets in turn: kappa moves from 0.6995 to 0.3219 while PABAK stays at exactly 0.70 for both.
The Landis-Koch labels — “substantial”, “almost perfect” — are arbitrary. They were proposed in 1977 as personal benchmarks with no empirical basis, and the paper says so. A kappa of 0.61 is not substantively different from 0.60, and what counts as adequate agreement depends entirely on what the ratings will be used for. Report the value, the interval, the observed agreement and the marginals; the adjective adds nothing that is not already in those.
What this tool shows
Two tables with identical 85% agreement give kappas of 0.6995 and 0.3219. A factor of 2.17, because the chance term depends on the marginals rather than on the raters. A third preset has 94.4% agreement and a kappa of −0.0234. The tool prints the maximum kappa the marginals permit, and PABAK, which stays at 0.70 for both of the first two.
κ with observed and chance agreement shown separately
The maximum κ these marginals permit — often well below 1
PABAK, which is κ with the marginals balanced away
Linear and quadratic weighting for ordinal categories
A standard error and a 95% interval
Any square table, not just 2×2
Max κ reported The paradox, built in PABAK alongside Weighted too
Updated 12 September 2026 · Works in any browser, no installation
Cohen’s kappa is the share of the agreement beyond chance that was actually achieved. Two raters who both mostly pick the same category will agree often by accident, and kappa subtracts that — which is why it is preferred to raw percentage agreement, and why it behaves in ways that raw percentage agreement does not.
At a glance
Formula shown
κ = (p₀ − pₑ)/(1 − pₑ), where p₀ is the observed proportion of agreement and pₑ is what the marginals alone would produce: Σ (rowᵢ/n)·(colᵢ/n). Weighted versions replace exact agreement with partial credit, linear 1 − |i − j|/(k − 1) or quadratic 1 − ((i − j)/(k − 1))². PABAK is (k·p₀ − 1)/(k − 1), which for two categories is 2p₀ − 1.
Scenario support
Two raters classifying the same cases: diagnoses, content labels, coding qualitative data, image annotation, quality inspections, or any task where the question is whether two judgements agree more than chance would explain.
Educational estimate
Planning support from the values you enter — not professional advice.
Identical agreement, kappas two-fold apart
This is the single fact that stops kappa being read as a rescaled percentage agreement, and it is demonstrable in two clicks.
[[40,9],[6,45]] gives κ = 0.6995. The raters agreed on 85% of cases and the marginals were balanced, so chance agreement was 50.08%.
[[80,4],[11,5]] gives κ = 0.3219. The raters agreed on 85% of cases — exactly the same — but both used the first category most of the time, so chance agreement was 77.88% and there was much less room above it.
Same agreement, a factor of 2.17 in kappa. Nothing about the raters’ performance differs between those two tables. What differs is how common the categories are.
And PABAK is exactly 0.70 for both. Prevalence-adjusted bias-adjusted kappa recomputes kappa as if the categories were used equally often; for two categories it is just 2p₀ − 1. Its agreeing on both tables is the cleanest possible statement that the difference was never about the raters.
Neither number is wrong. Kappa correctly says that agreeing 85% of the time is less impressive when 84% of cases are one category. The error is reading kappa as a measure of the raters’ skill alone, and then comparing kappas across studies with different prevalences.
94% agreement and a negative kappa
The third preset pushes the same mechanism to the point where the output looks broken and is not.
[[118,5],[2,0]]: the raters agreed on 118 of 125 cases, 94.4%. And κ = −0.0234.
Chance agreement here is 94.53%. Both raters chose the first category almost always, so two people answering at random with those same rates would have agreed slightly more often than these two did.
So the ratio goes below zero. (0.9440 − 0.9453)/(1 − 0.9453) is a small negative divided by a small positive, and the answer is −0.023.
“Poor agreement” is the wrong reading. The raters agreed constantly. What is poor is the information in that agreement: when almost every case is one category, agreeing carries almost no evidence that either rater can tell the categories apart.
The maximum kappa for those marginals is 0.5614, so even a perfect rearrangement within those row and column totals could not have reached 1. The tool reports that ceiling, and almost nothing else does.
The maximum kappa the marginals permit
Kappa is compared against 1 as though 1 were always attainable. It frequently is not, and the shortfall is computable before you look at how the raters did.
Perfect agreement requires matching marginals. If rater A called 60 cases positive and rater B called 40 positive, at least 20 cases must disagree whatever else happens. The ceiling follows from the totals alone.
So κ = 0.5 means two different things. Against a ceiling of 1 it is half of what was possible; against a ceiling of 0.6 it is 83% of it. The tool prints the ratio.
A low ceiling is itself a finding. It means the two raters are using the categories at systematically different rates — one is more willing to call things positive — which is bias rather than noise, and is fixed by recalibrating rather than by training harder.
κ/κmax is sometimes reported as a normalised statistic. It has its own critics, because dividing by a data-dependent ceiling makes the result less comparable rather than more. Reporting both numbers avoids choosing.
And it explains why kappa is hard to compare across studies. Two studies with different prevalences and different rater tendencies have different ceilings, so their kappas are not on a common scale even when the task is identical.
Weighting, and when it backfires
With ordered categories, a disagreement between “mild” and “moderate” is not the same as one between “mild” and “severe”. Weighted kappa gives partial credit for near-misses.
Linear weights give credit proportional to the distance, 1 − |i − j|/(k − 1). Quadratic weights fall off with the square, so they are much more forgiving of small disagreements and much harsher on large ones.
On the ordinal preset: 0.6154, 0.7243 and 0.8212. Unweighted, linear and quadratic on one 4×4 table. The choice moves the answer by 0.21.
Quadratic weighting has a second identity. With equally spaced categories it equals the intraclass correlation coefficient computed on the category numbers, which is why it is the default in much of the medical literature and why it can be compared against a reliability coefficient.
The common belief that weighting always raises kappa is conditional. It holds when the disagreements really are concentrated near the diagonal: on 600 ordinally-structured test tables the ordering quadratic ≥ linear ≥ unweighted held every time. On 600 unstructured tables it held about half the time.
So weighting unordered categories can lower it. Giving partial credit for confusing red with green is not a correction; it is an assumption that green sits between red and blue. If the categories have no order, the unweighted kappa is the only defensible one.
The interpretation labels are made up
Almost every kappa is reported next to a word: fair, moderate, substantial, almost perfect. Those words come from one 1977 paper and have no empirical basis.
Landis and Koch proposed them as personal benchmarks, and said so in the paper. They were offered as a convenience, not derived from anything.
The boundaries are arbitrary. 0.61 is “substantial” and 0.60 is “moderate”, which describes a difference that does not exist. Competing scales draw the lines elsewhere, which is what happens when nothing constrains them.
What counts as adequate depends on the use. A kappa of 0.6 between two radiologists on a screening decision is a serious problem; the same figure between two annotators labelling tweets for a sentiment model is fine. The number does not carry that context and the adjective pretends to.
Report what the reader needs instead. The kappa, its interval, the observed agreement, the marginals, and the maximum the marginals permitted. That is five numbers and it says everything the label was standing in for.
And put an interval on it. The tool gives a standard error and a 95% interval. On the extreme preset that interval is enormous, which is the honest summary of a table with two cases in one row — and an adjective would have hidden it.
When kappa is the wrong statistic
Cohen’s kappa answers one specific question: do two raters agree more than chance on a categorical judgement. Several common situations are not that.
More than two raters: Fleiss’ kappa. Cohen’s is defined for exactly two. Fleiss’ generalises to any number, and notably does not reduce to Cohen’s at two — they use different chance models, which is a trap when comparing across papers.
Continuous ratings: the intraclass correlation. Kappa needs categories. For scores on a continuous scale the ICC is the right reliability measure, and quadratically weighted kappa on equally spaced categories is a special case of it.
Agreement against a known truth: sensitivity and specificity. If one of the two columns is a gold standard, the question is accuracy rather than agreement, and the Bayes calculator turns those into the probability that a positive is real.
Systematic disagreement: McNemar’s test. Kappa mixes bias and noise into one number. McNemar tests specifically whether one rater is more likely to call cases positive than the other, which is the question a low ceiling is pointing at.
Ordinal association rather than agreement: Kendall or Spearman. Two raters can rank cases identically while using different thresholds, which gives a high τ and a low kappa. Whether that counts as agreement depends on whether the labels or only the ordering matter.
And raw percentage agreement is not useless. Report it alongside. It is what people actually want to know, and kappa’s job is to say how much of it was luck — not to replace it.
Sources and methodology
References for the coefficient and for the paradox.
Method. Kappa is computed from the weight matrix directly, so the unweighted, linear and quadratic versions share one code path and cannot drift apart. The maximum kappa is the value the marginals permit — each category’s agreement capped at the rarer of the two raters’ totals — and PABAK is kappa with balanced marginals, which for two categories reduces to 2p₀ − 1. The suite checks kappa against a longhand 2×2 formula across 400 tables, asserts it never exceeds the maximum its marginals permit, pins the two paradox tables at identical observed agreement with kappas of 0.6995 and 0.3219 and a PABAK of exactly 0.70 for both, and establishes that the quadratic ≥ linear ≥ unweighted ordering holds on all 600 ordinally-structured tables while being close to a coin flip on 600 unstructured ones. That engine is verified on every change against 67 assertions. The count and the per-case breakdown are published on the formula verification page.
Related calculators
Where this goes next:
Kendall TauComputes τ-a, τ-b and τ-c with the concordant and discordant pair counts, because the three definitions disagree — 0.7143, 0.8729 and 0.9375 on the built-in tied preset, from the same eight pairs.
Spearman CorrelationComputes rho correctly as Pearson on the midranks, and beside it the 6Σd²/(n(n²−1)) shortcut every textbook teaches — which is exact only when no two values tie, and overstates the correlation when they do.
Chi-SquareGoodness of fit and tests of independence with every expected count and per-cell contribution shown — because the validity condition is about expected counts, not observed ones, and most calculators hide them.
Odds RatioOdds ratio, relative risk, risk difference and number needed to treat from one 2x2 table — because an odds ratio of 6.00 can describe a relative risk of 1.50.
Bayes' TheoremPosterior probability from a prior, sensitivity and specificity — plus the true and false positives per 100,000, because a 99% accurate test for a 1-in-10,000 condition is right 0.98% of the time and the percentage alone does not make that believable.
Fisher's Exact TestThe exact p for a 2×2 table under all three two-sided conventions, because they disagree — 0.0406 against 0.0699 on the built-in table, across the 5% line — plus the test's actual size by enumeration, which is 2.30% at a nominal 5%.
An educational tool. Kappa depends on the marginal distributions as well as on the raters, so values are not comparable across studies with different prevalences; the Landis-Koch interpretation labels were proposed as personal benchmarks and have no empirical basis.
Published a kappa calculator with the paradox built in as two presets. [[40,9],[6,45]] and [[80,4],[11,5]] have IDENTICAL observed agreement — 0.85 both — and kappas of 0.6995 and 0.3219, a factor of 2.17, because chance agreement depends on how often each rater used each category rather than on the raters.
A third preset goes further: [[118,5],[2,0]] has 94.4% agreement and a kappa of −0.0234. Negative, on a table the raters agreed about nineteen times out of twenty — because chance agreement there is 94.53%, so two people answering at random with those rates would have agreed slightly more often.
Reports two figures almost nothing else does: maxKappa, the largest value these marginals permit (0.5614 on that extreme table, so 1 was never reachable), and PABAK, kappa recomputed with the marginals balanced. PABAK is exactly 0.70 for both paradox tables while kappa moves from 0.6995 to 0.3219 — the cleanest demonstration that the difference was never about the raters.
Offers linear and quadratic weighting for ordinal categories and states the condition the usual belief rests on: quadratic >= linear >= unweighted held on all 600 ordinally-structured test tables and was close to a coin flip on 600 unstructured ones, so weighting categories that are not genuinely ordered can LOWER kappa. Also says the Landis-Koch interpretation labels were proposed as personal benchmarks with no empirical basis.
Add this calculator to your site
Responsive embed — and private: nothing your visitors type leaves their browser.