Cohen’s Kappa and Percent Agreement Calculator
If two people coded your qualitative data, or two raters scored the same work, you need to report how well they agree. Paste the agreement table: Cohen’s kappa, its confidence interval and percent agreement are calculated.
- Free · no sign-up
- The calculation runs in your browser; the values you enter are not sent to the server.
How is it calculated?
Percent agreement (Miles and Huberman)
The simplest measure is the share of units on which the two coders made the same decision. Miles and Huberman’s (1994) formula: reliability = agreements / (agreements + disagreements). Example: with agreement on 46 of 52 codes, agreement is 46 / 52 = 88.5%.
This proportion is easy to understand but ignores agreement that would occur by chance: with two categories, even coders deciding at random would agree part of the time.
Cohen’s kappa
Cohen’s (1960) kappa corrects observed agreement for the agreement expected by chance: κ = (pₒ − pₑ) / (1 − pₑ). pₒ is the observed proportion of agreement (the sum of the table’s diagonal / n). pₑ is chance agreement: for each category, the first coder’s proportion of use is multiplied by the second coder’s, and the products are summed.
Example: in a table of 50 units with 20 and 15 on the diagonal and 5 and 10 off it, pₒ = 35 / 50 = .70; pₑ = .50·.60 + .50·.40 = .50 and κ = (.70 − .50) / (1 − .50) = .40. Perfect agreement gives κ = 1 and chance-level agreement 0; agreement worse than chance is negative.
The standard error is computed with Fleiss, Cohen and Everitt’s (1969) large-sample formula; the 95% confidence interval is κ ± 1.96 · SE.
How is it interpreted?
Landis and Koch (1977) propose this classification: below 0 poor, .00–.20 slight, .21–.40 fair, .41–.60 moderate, .61–.80 substantial, .81–1.00 almost perfect agreement. The boundaries are a rough guide, not strict rules.
If one category was used very rarely, kappa can be low while percent agreement is high; this is a known property of the measure, not a calculation error. In that case report both.
How to report it
State how many units (codes, themes, answer sheets) were coded independently by two people, the number of categories, kappa with its confidence interval or percent agreement with its formula. Say how disagreements were resolved.
Frequently asked questions
- How high should percent agreement be?
- There is no single cut-off. Miles and Huberman (1994) expect inter-coder agreement to rise as coding proceeds; studies citing them use 70% or 80% as a lower bound. Check the source for the threshold you use and ask your supervisor.
- I only have the numbers of agreements and disagreements. Can kappa be calculated?
- No. Kappa needs each coder’s distribution across the categories, that is, the agreement table, to find chance agreement. Those two numbers give percent agreement only.
- What if there are more than two coders?
- Cohen’s kappa is for two coders. With more than two, measures such as Fleiss’ kappa or Krippendorff’s alpha are used; this calculator does not compute them.
- How do I build the agreement table?
- Put the first coder’s categories in the rows and the second coder’s in the columns, in the same order. In each cell enter the number of units the first coder put in the row category and the second coder in the column category. The diagonal holds the units on which they agreed.
Other free calculators
- Sample Size Calculator
- Cronbach’s Alpha Calculator
- p-Value Calculator
- Effect Size Calculator
- Reference Generator from DOI
- Power Analysis Sample Size Calculator
- Lawshe Content Validity Ratio and Index Calculator
- AVE and Composite Reliability (CR) Calculator
- KR-20 Reliability Calculator
- Likert Scale Score Range Calculator
- Normality from Skewness and Kurtosis
- Independent-Samples t Test Calculator
- Chi-Square Test of Independence Calculator
- Confidence Interval Calculator