Observed agreement
70.0%
TOOL | Judge reliability
Cohen's kappa from the four counts of a 2x2 table: chance-corrected agreement between two raters, with a confidence interval and an interpretation band. Built for an LLM judge against human labels.
Cohen's kappa is chance-corrected agreement between two raters. Paste two columns or enter four counts for kappa with a confidence interval and its Landis and Koch band. The multi-rater calculator reproduces this coefficient in its pairwise cell and handles three or more raters; this page adds the interval and the band. How near-perfect agreement can collapse to low kappa is worked through in our statistics reference for eval numbers; the hub on judge reliability sets it beside calibration and bias.
Showing your last valid result. Update the inputs above to recompute.
Cohen's kappa (κ)
0.40
95% CI 0.15 to 0.65 | Fair agreement
Observed agreement
70.0%
Chance agreement
50.0%
Rates behind the score
Wilson score intervals at 95% coverage | 50 paired items
| Metric | Rate | Confidence interval |
|---|---|---|
| Raw agreement | (a + d) / n | 70.0% | 56.2% to 80.9% |
| Judge pass rate | (a + b) / n | 50.0% | 36.6% to 63.4% |
| Reference pass rate | (a + c) / n | 60.0% | 46.2% to 72.4% |
Derived counts from the pasted table
| Label | Value |
|---|
Agreement at your failure rate
High raw agreement can sit beside a low kappa when one label dominates. This panel breaks the score into its parts. The explorer below shows how each moves with the failure rate. Failure is the positive class by default.
| Statistic | Value | What it measures |
|---|---|---|
| Observed agreement | 70.0% | The share of items both raters labeled the same way. |
| Chance agreement | 50.0% | The agreement expected if each rater labeled at random at their observed rates. |
| Cohen's kappa | 0.40 | Agreement beyond chance, as a share of the agreement chance leaves available. |
| Gwet's AC1 | 0.41 | A chance-corrected coefficient whose chance term stays stable when one label dominates. |
| PABAK | 0.40 | Prevalence-adjusted, bias-adjusted kappa: rescaled observed agreement, equal to twice observed agreement minus 1. |
| Agreement on failures | 66.7% | Of all the failure labels the two raters gave, the share the other rater matched. |
| Agreement on passes | 72.7% | Of all the pass labels the two raters gave, the share the other rater matched. |
| Prevalence index (PI) | -0.10 | Items both raters gave the positive label minus items both gave the other label, as a share of all items. |
| Bias index (BI) | +0.10 | How much more often the judge gives the positive label than the reference does, as a share of all items. It is zero when both raters use each label at the same rate. |
Report observed agreement with both class agreements and kappa with its interval. PABAK is observed agreement rescaled to run from -1 to 1. The prevalence and bias indices show which source drives the gap.
This panel prints agreement on each class with no interval and no catch rate. The catch rate and pass accuracy, each with an interval, are on the scorecard of the LLM judge bias correction calculator.
Hypothetical counts per 1,000 items under these settings.
| Label | Value |
|---|---|
| Judge PASS, reference PASS | 920.0 |
| Judge PASS, reference FAIL | 30.0 |
| Judge FAIL, reference PASS | 30.0 |
| Judge FAIL, reference FAIL | 20.0 |
| Statistic | Value | What it measures |
|---|---|---|
| Observed agreement | 94.0% | The share of items both raters labeled the same way. |
| Chance agreement | 90.5% | The agreement expected if each rater labeled at random at their observed rates. |
| Cohen's kappa | 0.37 | Agreement beyond chance, as a share of the agreement chance leaves available. |
| Gwet's AC1 | 0.93 | A chance-corrected coefficient whose chance term stays stable when one label dominates. |
| PABAK | 0.88 | Prevalence-adjusted, bias-adjusted kappa: rescaled observed agreement, equal to twice observed agreement minus 1. |
| Agreement on failures | 40.0% | Of all the failure labels the two raters gave, the share the other rater matched. |
| Agreement on passes | 96.8% | Of all the pass labels the two raters gave, the share the other rater matched. |
| Prevalence index (PI) | -0.90 | Items both raters gave the positive label minus items both gave the other label, as a share of all items. |
| Bias index (BI) | 0.00 | How much more often the judge gives the positive label than the reference does, as a share of all items. It is zero when both raters use each label at the same rate. |
Kappa as the failure rate changes
Each row shows kappa and the other statistics at a different failure share, with agreement held at its current value.
| Failure share | Observed agreement | Kappa | AC1 | PABAK | Agreement on failures | Agreement on passes |
|---|---|---|---|---|---|---|
| 1% | Not feasible | Not feasible | Not feasible | Not feasible | Not feasible | Not feasible |
| 2% | Not feasible | Not feasible | Not feasible | Not feasible | Not feasible | Not feasible |
| 5% | 94.0% | 0.37 | 0.93 | 0.88 | 40.0% | 96.8% |
| 10% | 94.0% | 0.67 | 0.93 | 0.88 | 70.0% | 96.7% |
| 20% | 94.0% | 0.81 | 0.91 | 0.88 | 85.0% | 96.3% |
| 30% | 94.0% | 0.86 | 0.90 | 0.88 | 90.0% | 95.7% |
| 50% | 94.0% | 0.88 | 0.88 | 0.88 | 94.0% | 94.0% |
κ = (po - pe) / (1 - pe)How?
This tool reads one eval run as a 2x2 agreement table. Every item was scored pass or fail by the LLM judge and, independently, pass or fail by a human reference. Cell a counts items both passed, b the judge passed but the reference failed, c the reverse, and d items both failed. n is their sum.
Observed agreement is the share the two graders labeled the same way,
po = (a + d) / n. Two graders also agree on some items by chance
alone, at a rate set by how often each says pass. Chance agreement combines
the marginal rates: pe = (judge pass)(reference pass) + (judge
fail)(reference fail).
Cohen's kappa rescales observed agreement against that chance floor, so it
gives no free credit for the easy calls both graders get right:
κ = (po - pe) / (1 - pe). Kappa is 1 at perfect agreement, 0 at
chance, and negative when the graders agree less than their pass rates
predict. When pe = 1, every item sits in one category and kappa
is undefined.
The kappa confidence interval uses the large-sample standard error from
Fleiss, Cohen, and Everitt (1969), the form standard statistics packages
report. The interval is κ ± z·SE, clamped to the theoretical
range of -1 to 1. It is a normal approximation: at small n or extreme pass
rates it grows rough, so weigh its width more than its exact endpoints. The
raw agreement rate and the two marginal pass rates each carry a Wilson score
interval, which stays inside 0 to 1 and behaves on small counts.
Worked example. Take 50 items with a = 20, b = 5, c = 10, d = 15. Observed agreement is (20 + 15) / 50 = 0.70. The judge passed 25 of 50 (50%) and the reference passed 30 of 50 (60%), so chance agreement is 0.50·0.60 + 0.50·0.40 = 0.50. Kappa is (0.70 - 0.50) / (1 - 0.50) = 0.40, which the convention labels Fair. The standard error is 0.127, so the 95% interval is 0.40 ± 1.96·0.127, or 0.15 to 0.65. Raw agreement of 70% carries a 95% Wilson interval of 56% to 81%.
Kappa falls with skewed prevalence and moves with rater bias, even when observed agreement stays the same (Feinstein and Cicchetti, 1990). The prevalence index PI = (d minus a) / n and the bias index BI = (c minus b) / n, with failure as the positive class, where a counts items both raters passed, d counts items both raters failed, and b and c are the two disagreement cells. Kappa can be written through them: kappa = (PABAK minus PI squared plus BI squared) / (1 minus PI squared plus BI squared), an identity from Byrt, Bishop and Carlin (1993) that holds on every table where kappa is defined. When prevalence is extreme (PI further than 0.5 from zero, equivalently the majority class above 75% of the pool), chance agreement is high and kappa is driven down; this is the prevalence paradox. When the two raters use the labels at different rates (BI away from zero), kappa rises for the same observed agreement and the same prevalence index; this is the bias paradox.
AC1 (Gwet, 2008) replaces the chance term with one that stays stable under skewed prevalence: the chance of agreement on items that are hard to classify. For two labels the term is 2 p (1 minus p), where p is the pooled share of the positive class. Because the term does not climb with prevalence the way kappa's does, AC1 stays high when agreement is high regardless of label balance.
PABAK is twice observed agreement minus 1: observed agreement rescaled from the range 0 to 1 to the range -1 to 1. It sets prevalence and bias aside, so it measures only how often the raters match; its chance term is fixed at one half whatever the data. Report it as rescaled agreement (Byrt, Bishop and Carlin, 1993). The panel reports kappa, AC1 and PABAK beside the two indices, and the indices show which source is at work.
Agreement is one axis of judge reliability. For calibration and bias, see the LLM-as-a-judge reliability hub. Once you have a kappa, log it in the agreement tracker so this run has a series to sit inside.
Formula: κ = (po - pe) / (1 - pe)
No cutoff is universal. The Landis and Koch bands call 0.61 to 0.80 substantial and above 0.80 almost perfect, and many eval teams want substantial or better before a judge gates a release. Other published sources read the same coefficient differently; the full table, with the provenance behind each band lays out where they diverge. Always report the interval next to the point value so a reader sees the uncertainty.
It tells you how much of the agreement between two raters, whether that is two judges, two human graders, or a judge against a reference set, survives once the agreement their own pass rates would produce anyway is taken out. Kappa is 1 when the two label every item the same way, 0 when they agree exactly as often as chance predicts, and negative when they agree less often than that. It says nothing about who is correct: two raters can agree perfectly on the wrong label and still score a kappa of 1.
Count the four cells of the 2x2 table: both pass, both fail, and the two
ways the raters split. Observed agreement po is the share on
the diagonal. Chance agreement pe multiplies the two raters'
pass rates and adds the product of their fail rates. Kappa is
(po - pe) / (1 - pe). The "How this is calculated" panel
above runs that arithmetic on a 50-item example.
Percent agreement is the plain share of items the two graders labeled the same way. It counts the easy items both graders get right, which inflates the number on skewed pass rates. If a judge and a reference each pass 95% of items, they land on the same label about 90% of the time by chance alone. Kappa subtracts that floor, so the score reflects agreement beyond chance.
You do not need a spreadsheet. Excel ships no kappa function, so the usual route is a hand-built grid of COUNTIF formulas for the four cells and then the marginal products by hand, where one transcription slip changes the answer silently. Enter the same four counts here and you also get the standard error and the confidence interval, which the spreadsheet recipe leaves out.
Negative kappa means the judge and reference disagree more than their individual pass rates predict. In practice it usually points to an inverted label, a prompt that flips the judge's polarity, or a reference set scored under different instructions. Inspect the off-diagonal cells b and c.
More items narrow the interval. The standard error here is a large-sample approximation, so below roughly 30 paired items the kappa interval is a rough guide. When you need a target precision, size the sample from the interval width you can tolerate on the underlying pass rate.
This is Cohen's kappa for two raters on a binary label. Fleiss' kappa generalizes it to three or more raters, and the Fleiss' kappa calculator for three or more raters computes it alongside Krippendorff's alpha and the intraclass correlation coefficient (ICC). For an ordinal or graded label, weighted kappa credits near-misses; this tool uses the unweighted binary form and does not compute the linear or quadratic weighted variants.
The gap comes from prevalence. At the explorer's default, each rater labels 5% of items failures, so chance agreement is already 90.5%, and kappa divides by the narrow space above it. Report observed agreement with both class agreements (40.0% on failures and 96.8% on passes at that default), kappa with its interval, and the prevalence and bias indices, so a reader can see which source drove the kappa down.