Written and maintained by CASRAI Editorial Board
Published
On this page
To calculate inter-rater reliability for two independent raters evaluating categorical data, researchers compute Cohen’s kappa (κ), a chance-corrected statistic measuring agreement beyond random guessing. Calculating inter-rater reliability requires cross-tabulating ratings into a contingency matrix, determining observed agreement (Po) along the diagonal, estimating expected agreement by chance (Pe) from row and column marginal proportions, and evaluating the ratio κ = (Po − Pe) / (1 − Pe). When studies evaluate three or more raters, continuous measurement dimensions, or ordinal ranks, researchers calculate Fleiss’ kappa, Krippendorff’s alpha, or an intraclass correlation coefficient (ICC) rather than standard pairwise kappa.
Definition of inter-rater reliability
Inter-rater reliability represents the consistency, consensus, or concordance exhibited by independent judges scoring identical units of observation. In observational research, clinical trials, qualitative content analysis, and psychometrics, human judgment is inherently prone to subjective variance, cognitive drift, and differing interpretations of operational criteria. Establishing high inter-rater reliability demonstrates that empirical findings reflect genuine properties of the observed phenomena rather than idiosyncratic rater biases, thereby anchoring measurement reliability in scientific research.
Early studies relied on raw percentage agreement, dividing concordant decisions by total sample size. However, raw agreement overstates consistency because raters guessing at random agree on a substantial proportion of cases by chance. If two clinicians evaluate a condition present in 90% of cases, guessing positive on every patient yields 81% observed agreement despite zero diagnostic differentiation. Chance-corrected statistics resolve this defect by scaling observed agreement against chance concordance.
What is another word for inter-rater reliability?
Common synonyms across disciplines include inter-coder reliability, inter-rater agreement, inter-observer reliability, inter-scorer concordance, and coder consistency. Qualitative text analysts prefer “inter-coder reliability,” whereas medical researchers use “inter-observer agreement.” Methodologically, inter-rater agreement reflects absolute score interchangeability, whereas inter-rater reliability reflects score rank-ordering consistency relative to between-subject variance.
How is inter-rater reliability done?
Executing an inter-rater reliability study follows a five-stage methodological protocol:
- Protocol and codebook development: The research team crafts an explicit codebook defining categories, boundary criteria, and default rules for ambiguous cases.
- Rater calibration: Independent coders undergo training on pilot data, scoring a shared training set to calibrate rubrics before primary data collection.
- Blinded independent rating: Evaluators independently rate randomized, de-identified primary samples without conferring or sharing notes.
- Statistical computation: Researchers tabulate paired scores and compute point estimates, standard errors, and confidence intervals using coefficients chosen via guidelines for selecting an inter-rater agreement coefficient.
- Reconciliation and reporting: Discordant cases are resolved through consensus or third-party arbitration, and pre-consensus reliability statistics are documented in the manuscript.
Mathematical formulas for inter-rater reliability
The standard statistical metric for calculating inter-rater reliability between two raters evaluating nominal data is Cohen’s kappa (κ), introduced by Jacob Cohen in 1960:
κ = (Po − Pe) / (1 − Pe)
Each mathematical symbol in Cohen’s kappa corresponds to a specific empirical parameter:
- κ (kappa): The chance-corrected agreement coefficient, where 1.00 represents perfect agreement, 0.00 represents agreement equal to chance, and negative values represent agreement worse than chance.
- Po (observed agreement): The proportion of cases where both raters agree, computed as diagonal cell sums divided by sample size (N).
- Pe (expected agreement): The hypothetical proportion of concordant cases expected purely from independent marginal distributions.
- N: The total number of units or subjects evaluated by both raters.
- k: The number of mutually exclusive categorical ratings in the coding scheme.
Expected chance agreement (Pe) is computed by calculating the joint product of each rater’s marginal probability for each category and summing those products across all k categories:
Pe = ∑ (p_i· × p_·i) for i = 1 to k
Where p_i· represents the proportion of total cases assigned to category i by Rater A (row marginal divided by N), and p_·i represents the proportion assigned to category i by Rater B (column marginal divided by N).
To evaluate statistical significance and construct confidence intervals, researchers calculate the large-sample standard error of kappa (SE_κ):
SE_κ = √[ (Po × (1 − Po)) / (N × (1 − Pe)²) ]
Under large-sample normal approximations, the 95% confidence interval is determined by:
95% CI = κ ± 1.96 × SE_κ
Weighted kappa for ordinal ratings
When categories possess an inherent hierarchical order (such as Likert scales or clinical disease staging), simple unweighted kappa penalizes all disagreements equally. Cohen (1968) introduced weighted kappa (κ_w), incorporating a distance weighting matrix (w_ij):
κ_w = (Po_w − Pe_w) / (1 − Pe_w)
Linear weighting assigns weights proportional to absolute rank distance, whereas quadratic weighting squares rank distances. Under quadratic weighting, weighted kappa is mathematically equivalent to the two-way intraclass correlation coefficient.
Can you use Cohen’s kappa for 3 raters?
Cohen’s kappa cannot be used directly for three or more raters because its mathematical derivation is strictly bivariate. Averaging pairwise Cohen’s kappas across rater pairs is statistically invalid because it distorts standard error estimates and fails to model multi-coder dependencies. Multi-rater studies require dedicated statistical frameworks:
- Fleiss’ kappa: Designed by Joseph L. Fleiss (1971), Fleiss’ kappa evaluates nominal categorical agreement across three or more fixed raters, computing expected chance agreement from pooled marginals.
- Krippendorff’s alpha: Klaus Krippendorff formulated alpha (α), a generalized coefficient accommodating any number of raters, missing observations without listwise deletion, and diverse measurement scales.
- Intraclass Correlation Coefficient (ICC): If ratings are continuous, researchers utilize an intraclass correlation coefficient (ICC), using ANOVA models to separate measurement variance from rater error.
Step-by-step worked example with real numbers
Consider a clinical psychology study where two licensed psychologists (Rater A and Rater B) independently evaluate 100 clinical interview recordings. Each clinician assigns a categorical diagnosis for Generalized Anxiety Disorder (GAD): either “Present” or “Absent”. The resulting ratings form a 2×2 contingency table.
| Rater A Diagnosis | Rater B: Present | Rater B: Absent | Rater A Row Total | Rater A Row Marginal Proportion |
|---|---|---|---|---|
| Present | 45 | 10 | 55 | 0.55 (55/100) |
| Absent | 5 | 40 | 45 | 0.45 (45/100) |
| Rater B Column Total | 50 | 50 | 100 | 1.00 |
| Rater B Col Marginal Proportion | 0.50 (50/100) | 0.50 (50/100) | 1.00 | — |
The manual arithmetic proceeds through five computational steps:
- Calculate observed agreement (Po): Sum concordant diagonal frequencies: Po = (45 + 40) / 100 = 85 / 100 = 0.8500 (85.0% observed agreement).
- Calculate individual marginal proportions: Rater A assigned Present in 55/100 = 0.5500 and Absent in 45/100 = 0.4500. Rater B assigned Present in 50/100 = 0.5000 and Absent in 50/100 = 0.5000.
- Calculate expected chance agreement (Pe): Multiply marginal probabilities: Pe(Present) = 0.5500 × 0.5000 = 0.2750; Pe(Absent) = 0.4500 × 0.5000 = 0.2250; Pe = 0.2750 + 0.2250 = 0.5000 (50.0% expected agreement by chance).
- Calculate Cohen’s kappa (κ): Substitute Po and Pe into the formula: κ = (0.8500 − 0.5000) / (1.0000 − 0.5000) = 0.3500 / 0.5000 = 0.7000.
- Compute standard error and 95% confidence interval: SE_κ = √[ (0.85 × 0.15) / (100 × (0.50)²) ] = √[ 0.1275 / 25 ] = √0.0051 = 0.0714. Lower bound: 0.7000 − (1.96 × 0.0714) = 0.5601. Upper bound: 0.7000 + (1.96 × 0.0714) = 0.8399. Final estimate: κ = 0.70 (95% CI [0.56, 0.84]), z = 9.80 (p under 0.001).
The structured comparative dataset below summarizes mathematical properties and sample rater requirements across this and related inter-rater agreement statistics.
Interpretation and benchmark thresholds
Interpreting an inter-rater reliability coefficient requires translating the numerical statistic into a qualitative assessment of coding consistency. Because kappa corrects for chance, a value of 0.70 indicates that the raters achieved 70% of the potential agreement remaining possible beyond chance.
The standard benchmark framework was established by J. Richard Landis and Gary G. Koch (1977), alongside criteria from Joseph L. Fleiss (1981):
| Kappa Statistic Range | Landis and Koch (1977) Consensus Label | Fleiss (1981) Quality Classification | Methodological Guidance and Practical Action |
|---|---|---|---|
| Below 0.00 | Poor | Poor | Systematic disagreement; raters interpret categories inversely. Halt study and rebuild operational definitions. |
| 0.00 to 0.20 | Slight | Poor | Agreement indistinguishable from chance guessing. Codebook definitions are uncalibrated or unusable. |
| 0.21 to 0.40 | Fair | Poor | Marginal concordance. Acceptable only in early exploratory instrument drafting; insufficient for formal data collection. |
| 0.41 to 0.60 | Moderate | Intermediate to Good | Adequate for basic exploratory surveys or pilot screening; requires targeted retraining before definitive analysis. |
| 0.61 to 0.80 | Substantial | Intermediate to Good | Standard acceptable threshold for qualitative coding, social science surveys, and non-critical diagnostic categorizations. |
| 0.81 to 1.00 | Almost Perfect | Excellent | Rigorous consistency required for high-stakes clinical diagnosis, legal evidence coding, and regulatory drug safety trials. |
Acceptable reliability depends on research context. High-stakes clinical trials and regulatory reviews typically expect kappa values exceeding 0.80, whereas exploratory qualitative coding often accepts values between 0.65 and 0.75.
Assumptions and common calculation mistakes
Calculating valid inter-rater reliability statistics requires satisfying foundational measurement assumptions:
- Independent observations: Units of observation must be sampled independently. Ratings on one case must not influence ratings on another.
- Independent raters: Coders must operate in complete isolation during scoring. Conferring invalidates independent probability distributions.
- Mutually exclusive and exhaustive categories: Every rated unit must fall into exactly one categorical bucket covering all possible observational states.
- Fixed rater identities: In Cohen’s kappa, the identical two raters must evaluate every single subject across the entire sample.
Common mistakes in inter-rater reliability analysis
- The Kappa Paradox: Documented by Alvan R. Feinstein and Domenic V. Cicchetti (1990), kappa exhibits sensitivity to category base rates. When one category is ubiquitous, expected chance agreement (Pe) approaches 1.00, leaving almost no headroom for agreement beyond chance. In extreme cases, raters with 95% observed agreement yield kappa near 0.00. Researchers facing extreme prevalence should co-report raw percentage agreement alongside prevalence-adjusted statistics like Gwet’s AC1 or PABAK.
- Averaging pairwise Cohen’s kappas: Calculating Cohen’s kappa across multiple pairs and averaging the values is mathematically invalid. Use Fleiss’ kappa or Krippendorff’s alpha instead.
- Using categorical kappa on continuous data: Discretizing continuous measurements into arbitrary binary groups discards statistical power. Continuous ratings must be evaluated using intraclass correlation coefficients.
- Confusing inter-rater with intra-rater reliability: Inter-rater reliability assesses consistency across distinct raters, whereas intra-rater reliability evaluates single-rater measurement stability across time, as examined in guides comparing test-retest versus inter-rater reliability.
- Discarding discordant cases before calculation: Calculating kappa only on reconciled consensus ratings artificially inflates reliability metrics and conceals diagnostic vulnerability.
How to report inter-rater reliability in APA style
Reporting inter-rater reliability under American Psychological Association (APA 7th edition) guidelines requires presenting complete statistical parameters: the specific coefficient utilized, sample size evaluated, observed percentage agreement, the point estimate of kappa, standard error or 95% confidence interval, exact p-value, and benchmark qualitative descriptor.
The standard APA statistical formatting template is:
κ = .XX, 95% CI [.XX, .XX], p under .001 (or p = .XXX).
Clinical Exemplar: “To establish diagnostic consistency, two licensed clinical psychologists independently evaluated 100 de-identified patient interview recordings for Generalized Anxiety Disorder. Inter-rater reliability was assessed using Cohen’s unweighted kappa. Observed agreement was 85.0%, yielding substantial inter-rater reliability, κ = .70, 95% CI [.56, .84], p under .001. Disagreements occurred in 15 cases (10 where Evaluator 1 diagnosed GAD while Evaluator 2 did not, and 5 where Evaluator 2 diagnosed GAD while Evaluator 1 did not), all adjudicated to consensus through structured conference.”
Qualitative Codebook Exemplar: “Following codebook development, two independent coders evaluated a blinded validation sample of 60 transcript excerpts across four thematic coding dimensions. Inter-coder agreement across primary categories achieved an average raw concordance of 88.3%, with Cohen’s kappa demonstrating strong reliability (κ = .78, SE = .06, 95% CI [.66, .90], p under .001). In accordance with COREQ guidelines, initial coding discrepancies were documented prior to consensus resolution.”
Software implementation: Excel, R, and Python
Researchers can calculate inter-rater reliability across standard computational tools. Below are tested workflows for Microsoft Excel, R, and Python.
How can I calculate interrater reliability in Excel?
Calculating Cohen’s kappa in Excel requires constructing a 2×2 contingency table or utilizing raw scoring columns without requiring third-party plugins:
- Set up the contingency matrix: Enter joint frequencies in cells B2:C3: Cell B2 contains 45 (Both Present), Cell C2 contains 10 (Rater A Present, Rater B Absent), Cell B3 contains 5 (Rater A Absent, Rater B Present), and Cell C3 contains 40 (Both Absent).
- Compute marginal totals: Row 1 Total (Cell D2) uses
=SUM(B2:C2)(55). Row 2 Total (Cell D3) uses=SUM(B3:C3)(45). Column 1 Total (Cell B4) uses=SUM(B2:B3)(50). Column 2 Total (Cell C4) uses=SUM(C2:C3)(50). Grand Total (Cell D4) uses=SUM(D2:D3)(100). - Compute Observed Agreement (Po) in Cell B6: Formula:
=(B2+C3)/D4(returns 0.85). - Compute Expected Chance Agreement (Pe) in Cell B7: Formula:
=((D2*B4)+(D3*C4))/(D4*D4)(returns 0.50). - Compute Cohen’s Kappa in Cell B8: Formula:
=(B6-B7)/(1-B7)(returns 0.70). - Compute Standard Error (SE) in Cell B9: Formula:
=SQRT((B6*(1-B6))/(D4*((1-B7)^2)))(returns 0.0714).
For raw case columns (Column A for Rater 1, Column B for Rater 2, Rows 2 to 101), compute observed agreement using SUMPRODUCT: =SUMPRODUCT(--(A2:A101=B2:B101))/COUNTA(A2:A101).
Calculating inter-rater reliability in R
In R, researchers can calculate kappa directly using base matrix operations or via the irr package:
ratings_matrix = matrix(c(45, 10, 5, 40), nrow = 2, byrow = TRUE,
dimnames = list(RaterA = c("Present", "Absent"),
RaterB = c("Present", "Absent")))
n = sum(ratings_matrix)
po = sum(diag(ratings_matrix)) / n
row_marginal_props = rowSums(ratings_matrix) / n
col_marginal_props = colSums(ratings_matrix) / n
pe = sum(row_marginal_props * col_marginal_props)
kappa = (po - pe) / (1 - pe)
cat(sprintf("Po: %.4f, Pe: %.4f, Kappa: %.4fn", po, pe, kappa))
library(irr)
sample_data = data.frame(
Rater1 = rep(c("Present", "Present", "Absent", "Absent"), c(45, 10, 5, 40)),
Rater2 = rep(c("Present", "Absent", "Present", "Absent"), c(45, 10, 5, 40))
)
irr::kappa2(sample_data, weight = "unweighted")
Calculating inter-rater reliability in Python
In Python, researchers compute kappa using NumPy matrix operations or the standard scikit-learn library:
import numpy as np
table = np.array([[45, 10],
[ 5, 40]])
n = table.sum()
po = np.trace(table) / n
row_marginals = table.sum(axis=1) / n
col_marginals = table.sum(axis=0) / n
pe = np.sum(row_marginals * col_marginals)
kappa = (po - pe) / (1.0 - pe)
print(f"NumPy Cohen Kappa: {kappa:.4f}")
from sklearn.metrics import cohen_kappa_score
rater_a = np.array([1]*55 + [0]*45)
rater_b = np.array([1]*45 + [0]*10 + [1]*5 + [0]*40)
print(f"Scikit-Learn Kappa: {cohen_kappa_score(rater_a, rater_b):.4f}")
Frequently asked questions
How to calculate inter rater reliability?
To calculate inter-rater reliability on categorical data, cross-tabulate paired ratings in a contingency table, calculate observed agreement (Po) along the diagonal, compute expected chance agreement (Pe) from marginal proportions, and evaluate κ = (Po − Pe) / (1 − Pe). For continuous data, calculate an intraclass correlation coefficient (ICC).
How can I calculate interrater reliability in Excel?
In Microsoft Excel, enter paired ratings in a 2×2 contingency table (cells B2:C3), calculate row totals with =SUM(B2:C2) and column totals with =SUM(B2:B3), determine observed agreement with =(B2+C3)/D4 (where D4 is grand total), compute expected chance agreement with =((D2*B4)+(D3*C4))/(D4*D4), and calculate Cohen’s kappa with =(B6-B7)/(1-B7).
Can you use Cohen’s kappa for 3 raters?
No, Cohen’s kappa cannot be used for three or more raters because its mathematical derivation is strictly bivariate. Averaging pairwise Cohen’s kappas across rater pairs is statistically invalid. For three or more raters evaluating categorical data, researchers must calculate Fleiss’ kappa or Krippendorff’s alpha.
What is another word for inter-rater reliability?
Common synonyms for inter-rater reliability include inter-coder reliability, inter-observer agreement, inter-rater concordance, scorer reliability, and coder consistency. In qualitative analysis, “inter-coder reliability” is predominant, whereas clinical research uses “inter-observer agreement.”
How is inter-rater reliability done?
Inter-rater reliability is conducted through five operational phases: establishing an explicit coding rubric or codebook, training and calibrating raters on pilot data, conducting blinded evaluations of the primary sample, calculating chance-corrected statistical coefficients, and documenting initial reliability metrics before resolving discrepancies through adjudication.
What is the minimum acceptable threshold for inter-rater reliability?
Under Landis and Koch’s (1977) conventional benchmarks, kappa values from 0.61 to 0.80 indicate substantial agreement, which is generally accepted in exploratory research. High-stakes clinical diagnostic trials and regulatory submissions typically require kappa values of 0.80 or greater to demonstrate adequate reproducibility.
What is the difference between inter-rater reliability and intra-rater reliability?
Inter-rater reliability measures the consistency between two or more independent raters evaluating identical subjects at the same point in time. Intra-rater reliability measures the consistency of a single rater evaluating identical subjects across two or more separate time points to establish personal scoring stability.
Sources
- National Institutes of Health (PMC): Interrater reliability: the kappa statistic, checked 2026-11-23
- National Institutes of Health (PMC): Computing Inter-Rater Reliability for Observational Data: An Overview and Tutorial, checked 2026-11-23
- BioMed Central: Measuring inter-rater reliability for nominal data – which coefficients and confidence intervals are appropriate?, checked 2026-11-23
- National Institutes of Health (PMC): A Guideline of Selecting and Reporting Intraclass Correlation Coefficients for Reliability Research, checked 2026-11-23
- EQUATOR Network: Consolidated criteria for reporting qualitative research (COREQ), checked 2026-11-23
- Cochrane: Cochrane Handbook for Systematic Reviews of Interventions, checked 2026-11-23
Data: Comparison of Statistical Coefficients for Calculating Inter-Rater Reliability
A comparative reference compiling statistical properties, mathematical assumptions, rater capacity, and chance-correction formulations across major inter-rater agreement statistics. Compiled from methodological publications including McHugh (2012), Hallgren (2012), Zapf et al. (2016), and Koo and Li (2016).
| Coefficient | Rater Capacity | Measurement Scale | Chance Correction Formulation | Missing Data Tolerance | Primary Analytical Use Case |
|---|---|---|---|---|---|
| Cohen's Kappa (Unweighted) | Exactly 2 raters | Nominal (unordered categorical) | Marginal products of individual rater category proportions | No (requires fully crossed pairwise ratings) | Categorical diagnostic agreement and binary qualitative coding |
| Weighted Cohen's Kappa | Exactly 2 raters | Ordinal (ordered categorical) | Marginal products adjusted by linear or quadratic distance weights | No (requires complete paired ratings) | Ordered clinical staging scales and Likert-type survey rubrics |
| Fleiss' Kappa | 3 or more fixed raters | Nominal (unordered categorical) | Overall proportion of ratings assigned to each category across all raters | No (requires constant number of raters per subject) | Multi-coder content analysis and panel diagnostic consensus |
| Krippendorff's Alpha | 2 or more arbitrary raters | Nominal, ordinal, interval, ratio | Expected disagreement from pooled observed values across all units | Yes (inherently handles missing ratings and unequal raters) | Large-scale textual coding, crowdsourced annotations, and incomplete matrices |
| Gwet's AC1 | 2 or more raters | Nominal (unordered categorical) | Prevalence-adjusted probability assuming chance occurs only under uncertainty | Yes (generalized AC1 variant allows missing data) | Categorical agreement under skewed base rates or kappa paradox conditions |
| Intraclass Correlation Coefficient (ICC) | 2 or more raters | Interval or ratio (continuous) | Mean square ratios from analysis of variance (ANOVA) random or mixed effects | Varies (two-way mixed models accommodate linear mixed-effects estimation) | Continuous biometric readings, behavioral duration scores, and psychometric totals |
Sources
- Interrater reliability: the kappa statistic (PMC3900052) (accessed 2026-11-23)
- Computing Inter-Rater Reliability for Observational Data: An Overview and Tutorial (PMC3402032) (accessed 2026-11-23)
- Measuring inter-rater reliability for nominal data – which coefficients and confidence intervals are appropriate? (accessed 2026-11-23)
- A Guideline of Selecting and Reporting Intraclass Correlation Coefficients for Reliability Research (PMC4913118) (accessed 2026-11-23)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







