Reliability sample size calculator (Krippendorff's alpha and kappa)

Plan the reliability sample before coding starts. Choose the smallest alpha you can accept and how rare your rarest category is, or the kappa and interval width you need, and get the number of units both coders should code.

No accountRuns in your browserChecked against published tables

Plan the reliability sample

For two coders who independently code the same units.

TARGET AND CATEGORIES

LIVE RESULT

INSTANT

Units to double-code

Planning estimates for two coders. They assume units are sampled at random and that the category shares and kappa you enter are realistic. Report the reliability you actually obtain with its confidence interval.

How many units should two coders both code?

A reliability check codes a subsample of the material twice, independently, and computes agreement on it. Too few units and the coefficient is so uncertain that a value of .80 could easily come from coders who agree much less. This calculator gives two planning answers, depending on how you will judge reliability.

Krippendorff's alpha: show that alpha exceeds a minimum

Krippendorff recommends deciding in advance on the smallest acceptable alpha and choosing enough units that the observed alpha can be shown to exceed it at a chosen significance level. He adopts Bloch and Kraemer's (1989) formula for two coders, where pc is the probability of the least frequent category:

N = 2z² × [ (1 + αmin)(3 − αmin) ÷ (4(1 − αmin) pc(1 − pc)) − αmin ]

Here z is the one-sided normal quantile for the significance level (1.645 for .05). For four equally used codes (pc = .25), αmin = .800 and a .05 level, N = 138.5, so code 139 units. That matches the worked example in Krippendorff's table as reproduced in the ATLAS.ti manual.

Units needed at a .05 significance level, two coders
Rarest category share pcα ≥ .667α ≥ .800α ≥ .900
.500 (2 equal categories)60103212
.333 (3 equal)68117239
.250 (4 equal)81139283
.200 (5 equal)96164333
.100 (10 equal, or one rare)172294595
.050 (one rare category)3305601,132

The published table uses z rounded to two decimals, so a few cells there differ from this calculator by one or two units. The rarest category drives the number: if one code is used for only 5% of units, the sample must be several times larger than with equally used codes. When categories are used unequally, enter the share of the least frequent one; with more than ten codes, use 1 ÷ number of codes or the rarest share, whichever is smaller.

Cohen's kappa: a confidence interval of a chosen width

If you will report kappa with a confidence interval, plan the sample so that the interval is narrow enough to be useful. The interval is approximately κ ± z × SD(κ) ÷ √N, so

N = (2 × z × SD(κ) ÷ width)²

SD(κ) depends on kappa and on how the categories are used. The calculator builds the agreement table implied by your expected kappa and category shares and uses the large-sample standard deviation of Fleiss, Cohen and Everitt (1969), checked against statsmodels. It also shows Cohen's (1960) simpler approximation, which reproduces the examples in the PASS documentation.

With an expected kappa of .70, two equally used categories and a 95% interval of width .20 (about ±.10), you need 196 units. If one category covers only 10% of units, the same precision needs 569 units.

Practical points

  • Sample the units at random from the full material, and stratify or oversample if a rare category matters to your conclusions.
  • Code independently. Units discussed during training or calibration do not count.
  • Plan for each variable. The rarest category of the hardest variable sets the size of the sample.
  • Common rules of thumb, such as 10% of the material, may give far too few units for a small study or more than needed for a very large one.

Once the units are coded, compute agreement with the inter-coder reliability calculator (Krippendorff's alpha, Cohen's kappa and more) or the weighted kappa calculator for ordered ratings. The guide how many units to double-code works through the decisions with examples. Sources: Krippendorff, Content Analysis; Bloch and Kraemer (1989), Biometrics 45, 269–287; Fleiss, Cohen and Everitt (1969), Psychological Bulletin 72, 323–327; ATLAS.ti: sample size and decision rules.

Common questions

Frequently asked questions

How many units should two coders double-code for reliability?

Instead of a flat 10% rule, sample size depends on your smallest acceptable alpha or kappa, category prevalence and desired precision. Rare categories often require hundreds of units.

Which reliability variable determines the sample size?

Your rarest category on your hardest coding variable drives the requirement—plan your subsample around the rarest code you expect to analyze.

Does this calculator handle three or more coders?

The Bloch–Kraemer and kappa confidence-interval formulas assume two coders per unit; if you split coding across more coders, evaluate pairwise or Krippendorff overlap separately.