Scott's Pi Calculator
Reliability and agreement
- Inputs: the raters agree on 84.00 percent of items; rater A marks 46.00 percent positive and rater B marks 50.00 percent positive.
- Pooled rate: (46.00 + 50.00) / 2 = 48.00 percent positive.
- Chance agreement: Pe = 0.480 squared + 0.520 squared = 0.5008.
- Scott's pi result: 0.679 - substantial (0.61 to 0.80).
Two coders read the same material and sort every item into categories. They agree most of the time - but some of that agreement is luck: even coders assigning labels at random would match on a good share of items, especially if one category dominates. Scott's pi, proposed by William A. Scott in 1955 for content analysis, asks how much agreement remains after the luck is subtracted. It is the share of the possible improvement over chance that the coders actually achieved.
The inputs are the observed agreement and each rater's positive rate for the category in question. From those, the calculator builds the pooled rate, computes the chance agreement Pe that pooled rate implies, and returns pi with its conventional band. The examples run from fair agreement on a skewed category to almost perfect agreement on a balanced one.
Worked examples
Scott's pi with substantial agreement
(84 · 46 · 50)
| Scott's pi | 0.679 |
| Chance agreement Pe (%) | 50.08 |
| Pooled positive rate (%) | 48.00 |
| Agreement band | Substantial (0.61 to 0.80) |
Scott's pi on a skewed category
(71 · 30 · 38)
| Scott's pi | 0.354 |
| Chance agreement Pe (%) | 55.12 |
| Pooled positive rate (%) | 34.00 |
| Agreement band | Fair (0.21 to 0.40) |
Scott's pi with almost perfect agreement
(93 · 62 · 58)
| Scott's pi | 0.854 |
| Chance agreement Pe (%) | 52.00 |
| Pooled positive rate (%) | 60.00 |
| Agreement band | Almost perfect (0.81 to 1.00) |
Agreement corrected for chance
The logic mirrors every chance-corrected agreement statistic. Observed agreement Po is what the coders did. Chance agreement Pe is what two imaginary coders would do if they assigned labels independently but with the same overall appetite for the positive category. Pi is then (Po - Pe) / (1 - Pe): the agreement beyond chance, expressed as a fraction of the agreement beyond chance that was available. A pi of 1 means the coders captured all of it; a pi of 0 means they captured none of it, however high the raw agreement looks.
That last clause is the one that surprises people. In the second worked example the raters agree on 71 percent of items, which sounds respectable - until the pooled positive rate of 34.00 percent implies a chance agreement of 55.12 percent, because two coders who both say 'negative' most of the time collide on negatives constantly. The pi of 0.354 is the honest summary: about a third of the available beyond-chance agreement was achieved.
The first example shows the same correction in a kinder light. Agreement of 84 percent against a chance level of 50.08 percent leaves much more room to have done well, and the coders used it: pi of 0.679, in the band conventionally called substantial. Raw agreement ranked the two studies 84 against 71; pi keeps that order but reveals how different the achievements really are.
- Scott's pi = (Po - Pe) / (1 - Pe), all as proportions.
- Pe is built from the pooled marginals: Pe = p squared + (1 - p) squared for two categories.
- Pooling means both raters are assumed to draw from one shared category distribution.
- Pi of 0 is chance-level agreement; pi of 1 is perfect agreement.
Why Scott pools the marginals
The pooled rate is the average of the two raters' positive rates: in the first example, rater A's 46 percent and rater B's 50 percent pool to 48.00 percent. Scott's reasoning was that in content analysis the coders are interchangeable instruments measuring one corpus, so the best estimate of the category's true prevalence is their average behaviour, and chance agreement should be computed against that shared prevalence. Pe then follows from independence: two coders drawing from a distribution that is positive 48 percent of the time agree positively 0.480 squared of the time and negatively 0.520 squared of the time, for a Pe of 0.5008.
Pooling has a consequence worth understanding: Scott's pi treats a difference between the raters' positive rates as part of the disagreement problem only insofar as it moves observed agreement. If rater A says positive 62 percent of the time and rater B only 58 percent, as in the third example, the pooled rate of 60.00 percent still drives Pe, and the pi of 0.854 reflects the coders' 93 percent raw agreement against a 52.00 percent chance level.
Whether that is the right treatment depends on your theory of the coding task. If the raters are interchangeable instruments, pooling is principled. If each rater's personal threshold is itself a property you want the statistic to respect, the unpooled alternative - Cohen's kappa - is the better match, and the two statistics will differ exactly by how much the marginals differ.
| Pi band | Range | Conventional label |
|---|---|---|
| Almost perfect | 0.81 to 1.00 | Coders nearly interchangeable |
| Substantial | 0.61 to 0.80 | Solid reliability for most research |
| Moderate | 0.41 to 0.60 | Usable with documented caution |
| Fair | 0.21 to 0.40 | Weak; revisit the codebook |
| Slight or poor | Below 0.21 | Agreement barely above chance |
Worked examples
Example 1: Observed agreement Po 84; Rater A positive rate 46; Rater B positive rate 50. Scott's pi = 0.679. Supporting values: Chance agreement Pe (%) 50.08; Pooled positive rate (%) 48.00; Agreement band Substantial (0.61 to 0.80). Inputs: the raters agree on 84.00 percent of items; rater A marks 46.00 percent positive and rater B marks 50.00 percent positive. Pooled rate: (46.00 + 50.00) / 2 = 48.00 percent positive. Chance agreement: Pe = 0.480 squared + 0.520 squared = 0.5008. Scott's pi result: 0.679 - substantial (0.61 to 0.80).
Example 2: Observed agreement Po 71; Rater A positive rate 30; Rater B positive rate 38. Scott's pi = 0.354. Supporting values: Chance agreement Pe (%) 55.12; Pooled positive rate (%) 34.00; Agreement band Fair (0.21 to 0.40). Inputs: the raters agree on 71.00 percent of items; rater A marks 30.00 percent positive and rater B marks 38.00 percent positive. Pooled rate: (30.00 + 38.00) / 2 = 34.00 percent positive. Chance agreement: Pe = 0.340 squared + 0.660 squared = 0.5512. Scott's pi result: 0.354 - fair (0.21 to 0.40).
Example 3: Observed agreement Po 93; Rater A positive rate 62; Rater B positive rate 58. Scott's pi = 0.854. Supporting values: Chance agreement Pe (%) 52.00; Pooled positive rate (%) 60.00; Agreement band Almost perfect (0.81 to 1.00). Inputs: the raters agree on 93.00 percent of items; rater A marks 62.00 percent positive and rater B marks 58.00 percent positive. Pooled rate: (62.00 + 58.00) / 2 = 60.00 percent positive. Chance agreement: Pe = 0.600 squared + 0.400 squared = 0.5200. Scott's pi result: 0.854 - almost perfect (0.81 to 1.00).
Pi versus Cohen's kappa
The two statistics share the (Po - Pe) / (1 - Pe) skeleton and differ only in Pe. Kappa computes chance agreement from each rater's own marginals multiplied together; pi computes it from the pooled marginal squared. When the two raters use the categories at the same rates, the two Pe values nearly coincide and so do the statistics. When one rater is systematically more generous with the positive label, kappa's Pe falls and kappa rises relative to pi - kappa, in effect, excuses some of the threshold difference, while pi charges it against the shared instrument.
Scott designed pi for nominal content categories with interchangeable coders, and it extends naturally to more than two categories by summing the squared pooled shares. Kappa's home ground is two specific raters whose individual habits matter - a clinician and a trainee, say. Choosing between them is a statement about what you think a rater is, and methods sections should say which was chosen and why, rather than reporting whichever number came out larger.
The prevalence paradox
Every chance-corrected statistic inherits a famous discomfort: when one category is very prevalent, Pe climbs toward the observed agreement and pi collapses even when coders agree almost always. The third example leans toward that territory - a pooled positive rate of 60.00 percent - yet survives with a pi of 0.854 because 93 percent agreement is far enough above the 52.00 percent chance level. Push the prevalence higher and the same coding quality would post a much smaller pi.
The practical response is to report the ingredients, not just the index: observed agreement, both raters' rates, the pooled rate and Pe, all of which this page shows. A reader given 93 percent agreement, a 60.00 percent pooled rate and a pi of 0.854 can judge the study; a reader given pi alone cannot. Where prevalence is extreme, some researchers supplement pi with a prevalence-insensitive index, but none replaces showing the marginals.
Using pi in a coding workflow
In practice pi is computed on a double-coded sample - a subset of items both raters code independently - and used as a gate: code the rest singly only if the sample's pi clears the standard your field expects, with the substantial band the common research threshold. The first example's 0.679 would pass most content-analysis gates; the second example's 0.354 should send the team back to the codebook, because fair agreement on the sample means the single-coded remainder carries unknown error.
When pi disappoints, the marginals usually say why. A pooled rate far from the category's expected prevalence suggests the definition is being applied unevenly; a large gap between the two raters' rates suggests one coder has drifted. Both diagnoses are visible in this page's inputs before any item is re-examined - which is exactly what a good reliability statistic should give you: not just a verdict, but a direction to investigate.
FAQs
What does Scott's pi measure?
Inter-rater agreement corrected for chance. It takes the observed agreement, subtracts the agreement expected if both raters assigned labels independently at the pooled category rates, and expresses the result as a share of the beyond-chance agreement available.
What Scott's pi does the first worked example give?
Agreement of 84 percent, with raters marking 46 and 50 percent positive, pools to a 48.00 percent positive rate and a chance agreement of 50.08 percent. Pi is 0.679 - substantial agreement.
Why is the second example's pi only 0.354 despite 71 percent agreement?
Because the category is skewed. The pooled positive rate is 34.00 percent, so two independent raters would already agree 55.12 percent of the time by chance. The coders captured only about a third of the beyond-chance agreement available.
How does Scott's pi differ from Cohen's kappa?
Only in the chance term. Pi builds Pe from the pooled marginals - one shared distribution for both raters - while kappa builds it from each rater's own marginals. They agree when the raters use categories at the same rates and diverge as the raters' thresholds diverge.
What pi counts as good agreement?
By the Landis and Koch conventions, 0.61 to 0.80 is substantial and 0.81 to 1.00 is almost perfect - the third example's 0.854 sits there. The bands are conventions, though; high-stakes classification should demand more than exploratory coding.
What should be reported alongside pi?
The ingredients: observed agreement, each rater's positive rate, the pooled rate and Pe. With 93 percent agreement, a 60.00 percent pooled rate and Pe of 52.00 percent visible, a reader can judge the third example's 0.854 instead of taking it on faith.