Calculate concordance rate, total agreement counts, or Cohen’s kappa from subject totals or 2×2 table counts for paired assessments.

Count subjects whose two assessments agree.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Concordance rateFinds the percentage of subjects whose two assessments agreeRequires the number of subjects in agreement and the number of subjects assessed
Subjects in agreementFinds how many subjects agree at a given concordance rateRequires the number of subjects assessed and the concordance rate
Subjects assessedFinds how many subjects were assessed from the agreeing count and the rateRequires the number of subjects in agreement and the concordance rate
Agreement from a 2 × 2 tableFinds the concordance rate from the four cells of a two-category table, with expected agreement and kappa alongsideRequires the four cell counts and a pair of category labels
Cohen’s kappa from a 2 × 2 tableFinds the agreement between two assessors after allowing for agreement expected by chanceRequires the four cell counts and a pair of category labels

Counts are whole numbers. In the two table functions, a is the number of subjects both assessors put in the first category, b the number assessor A put in the first and B in the second, c the reverse, and d the number both put in the second. The category labels (Positive / Negative, Present / Absent, Pass / Fail or Defect / No Defect) only name the rows and columns and do not change the result.

Concordance Rate Formulas

CR = C ÷ SA × 100 [1]
CRConcordance rate (%)
CNumber of subjects in concordance, where both assessments agree
SANumber of subjects assessed

This is the same measure as percent agreement: the agreeing results divided by all results [1].

Concordance rate

With 78 of 100 subjects in agreement, the concordance rate is 78 ÷ 100 × 100 = 78%, and 22 subjects are discordant.

Subjects in agreement

C = SA × CR ÷ 100

At a rate of 85% among 200 subjects, 170 agree. A rate that would give a fraction of a subject is rejected, so a rounded percentage may need more decimal places.

Subjects assessed

SA = C ÷ (CR ÷ 100)

If 45 subjects agree and the rate is 90%, 50 subjects were assessed. A rate of 0% leaves the total undetermined.

Agreement from a 2 × 2 table

Po = (a + d) ÷ N

N is a + b + c + d, and Po is the observed agreement. For a = 40, b = 5, c = 10 and d = 45, Po = 85 ÷ 100, a concordance rate of 85%.

Cohen’s kappa from a 2 × 2 table

κ = (Po − Pe) ÷ (1 − Pe) [1]

Pe is the agreement expected by chance, worked out from the row and column totals [1]:

Pe = [(a + b)(a + c) +
(c + d)(b + d)] ÷ N²

For the same table, Pe = (45 × 50 + 55 × 50) ÷ 10,000 = 0.5 and κ = (0.85 − 0.5) ÷ (1 − 0.5) = 0.7. Kappa runs from −1 to 1, where 0 is the agreement expected by chance and 1 is perfect agreement [1]. It is undefined when Pe is 1, which happens when every subject falls in one cell.

KappaLevel of agreement
0 to 0.20None
0.21 to 0.39Minimal
0.40 to 0.59Weak
0.60 to 0.79Moderate
0.80 to 0.90Strong
Above 0.90Almost perfect

These bands are one published reading of kappa [1]. The calculator reports the value and leaves the label to the reader.

Limits of This Estimate

  • A concordance rate takes no account of agreement that would happen by guessing, so it can overstate how well two assessments agree [1]. Kappa corrects for that.
  • Agreement is not accuracy. Two assessments can match and both be wrong, so neither figure replaces a comparison against a reference standard.
  • Cohen’s kappa is for two assessors; three or more need Fleiss’ kappa [1]. The table functions are unweighted and handle two categories only.

Sources

  1. McHugh ML, Interrater reliability: the kappa statistic, Biochemia Medica 2012;22(3):276–282: percent agreement, the kappa formula, expected agreement from the marginals, the range and interpretation of kappa, and its limits