induwara.lk
induwara.lkAI · Inter-rater reliability

Gwet's AC1 Agreement Coefficient Calculator

Compute Gwet's AC1 — the prevalence-robust, chance-corrected agreement coefficient — from a two-rater matrix or two pasted rating lists. Cohen's kappa is shown side by side so you can see the kappa paradox that AC1 fixes. Free, no signup, runs in your browser.

By Induwara AshinsanaUpdated Jul 18, 2026
Gwet's AC1
Input

The shared rating scale, 210 categories.

Agreement matrix

A \ BRow Σ
Relevant95
Not5
Col Σ955100

Rows = Rater A, columns = Rater B. The shaded diagonal is where the two raters agreed. Grand total N = 100.

Benchmark scale
Examples
Gwet's AC1
Almost perfect
0.934

0.81–1.00 on the Landis & Koch (1977) scale.

Cohen's κ (for comparison)
Fair
0.368

Cohen's chance term pₑ(κ) = 0.905, which inflates when one category dominates.

Kappa-paradox territory. AC1 and κ differ by 0.57 (≥ 0.15). With 94%observed agreement but skewed category prevalence, Cohen's κ is pulled down by its chance term while AC1 reflects the raters' true agreement.
Observed agreement (pₐ)
94%
Share the raters actually agreed on.
Chance agreement — AC1 (pₑ)
9.5%
Gwet's prevalence-robust chance term.
Chance agreement — κ (pₑ)
90.5%
Cohen's chance term (marginals multiplied).
Observed vs chance agreement
Observed pₐ
0.940
Chance pₑ (AC1)
0.095
Chance pₑ (κ)
0.905
Categorypₖ₊ (A)p₊ₖ (B)πₖ
Relevant0.9500.9500.950
Not0.0500.0500.050

πₖ = (pₖ₊ + p₊ₖ)/2 is the averaged marginal probability AC1 uses for its chance term pₑ = Σ πₖ(1 − πₖ)/(q − 1).

Computed entirely in your browser — nothing is uploaded. AC1 per Gwet (2008), κ per Cohen (1960), bands per Landis & Koch (1977); last verified 2026-07-18.

How it works

Gwet's AC1 answers the same question as Cohen's kappa — how much do two raters agree beyond chance? — but it estimates the “beyond chance” part differently so it does not misbehave when one category dominates. You give the tool a q×q agreement matrix where nₖₗ is the number of items Rater A put in category k and Rater B put in category l. The diagonal holds the agreements; everything off it is a disagreement.

From the grand total N, the row marginals and the column marginals, the calculation follows Gwet (2008):

  • Observed agreement: pₐ = (Σ nₖₖ) / N
  • Averaged marginal: πₖ = (pₖ₊ + p₊ₖ) / 2
  • Chance agreement: pₑ = Σ πₖ(1 − πₖ) / (q − 1)
  • Gwet's AC1: AC1 = (pₐ − pₑ) / (1 − pₑ)

The one line that matters is the chance term. Cohen's kappa uses pₑ(κ) = Σ pₖ₊·p₊ₖ, the product of the two raters' marginals. When 95% of items are one category, that product is roughly 0.90, so κ's correction eats almost all of the observed agreement. Gwet's Σ πₖ(1 − πₖ)/(q − 1) uses each category's own prevalence in a way that shrinks — not grows — as a category becomes dominant. The result is that AC1 keeps reporting the raters' real agreement where kappa collapses. This tool shows both numbers together and flags “kappa-paradox territory” whenever they diverge by 0.15 or more.

A useful property falls out of that definition: because Σ πₖ² is at least 1/q, the chance term pₑ can never exceed 1/q, so the denominator 1 − pₑnever reaches zero. AC1 is therefore always defined — even at 100% agreement on a single category, the exact case where Cohen's kappa becomes an undefined 0/0. Finally the AC1 value is mapped to a strength-of-agreement band on your chosen scale — Landis & Koch (1977), Altman (1991), or Fleiss (1981) — for a one-line verdict. All arithmetic is exact and runs in your browser; nothing is uploaded.

Scope note: this version computes the unweighted, two-rater AC1 for complete data. The Gwet (2008) standard-error and confidence-interval estimator is a planned follow-up — we ship the verified point estimates rather than an unverified interval.

Worked examples

Example 1 — the kappa paradox, binary, N = 100

  1. Matrix [[92, 3], [3, 2]]: both said Relevant 92×, both said Not 2×.
  2. pₐ = (92 + 2) / 100 = 0.94 (raw agreement is 94%)
  3. πR = (0.95 + 0.95)/2 = 0.95, πN = 0.05
  4. pₑ(AC1) = [0.95·0.05 + 0.05·0.95] / (2 − 1) = 0.095
  5. AC1 = (0.94 − 0.095) / (1 − 0.095) = 0.845 / 0.905 = 0.934 → almost perfect
  6. Cohen: pₑ(κ) = 0.95·0.95 + 0.05·0.05 = 0.905; κ = 0.035/0.095 = 0.368 → fair

Example 2 — balanced 3-class, N = 50 (AC1 ≈ κ)

  1. Matrix [[15,3,0],[2,12,3],[0,4,11]]: diagonal = 15 + 12 + 11 = 38.
  2. pₐ = 38 / 50 = 0.76 (raw agreement is 76%)
  3. π = (0.35, 0.36, 0.29) from the averaged marginals
  4. pₑ(AC1) = [0.35·0.65 + 0.36·0.64 + 0.29·0.71] / 2 = 0.3319
  5. AC1 = (0.76 − 0.3319) / (1 − 0.3319) = 0.641 → substantial
  6. Cohen: pₑ(κ) = 0.3356; κ = 0.4244/0.6644 = 0.639 → substantial (they coincide)

Example 3 — edge case, one dominant class, N = 80

  1. Matrix [[80, 0], [0, 0]]: both raters used only the first category.
  2. pₐ = 80 / 80 = 1.00 (perfect agreement)
  3. πR = 1, πN = 0, so pₑ(AC1) = [1·0 + 0·1] / 1 = 0
  4. AC1 = (1 − 0) / (1 − 0) = 1.00 → almost perfect
  5. Cohen: pₑ(κ) = 1·1 + 0·0 = 1 → 1 − pₑ = 0, so κ is UNDEFINED (0/0)
  6. AC1 stays defined where kappa cannot be computed at all.

Frequently asked questions

Sources & references

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, an edge case, or want Gwet's AC2 (weighted) added?

Email me at [email protected] — most fixes ship within 24 hours.