Skip to content
Open navigation
OpenOpen workspace

Effect size measure

Contingency coefficient calculator — Pearson's C

Published by crosstabs.com · Last updated ·
How results are checkedNamed statistical review pending. Selected automated reference cases are published on the validation page.

Result on the example table

.20C

Pearson’s contingency coefficient C = .20

χ²(1) = 4.00, p = .046

ObservedExpected if independent

Observed and expected counts in the opening table
CellObservedExpected
Group A · Yes2025
Group A · No3025
Group B · Yes3025
Group B · No2025
The calculator’s opening table · 2×2, N = 100

Pearson's contingency coefficient (C) measures the strength of association between two categorical variables, derived from chi-square; it ranges from 0 (no association) upward but cannot quite reach 1, and its maximum depends on the table's size.

Calculate online — no file needed

Type or paste your observed counts. Results update live, and the link in your address bar always reproduces this exact table.

Table sizeTip: paste a block of counts straight from a spreadsheet.
Have a spreadsheet? Open the workspace →Keep this calculator for a quick table; use the workspace for files, filters, exports, and saved projects.
Total
50
50
Total5050100

Contingency coefficient (C)

0.196

χ²(1) = 4.00, p = .046

χ²(1, N = 100) = 4.00, p = .046, V = .20

All statistics
Pearson chi-squareχ² = 4.000, df = 1, p = .046
G-test (likelihood ratio)G = 4.027, df = 1, p = .045
Chi-square with Yates' correctionχ² = 3.240, p = .072
Fisher's exact test (two-sided)p = .071
Odds ratio0.444 (95% CI 0.200–0.989)
Cramér's V0.200 (small)
Phi coefficient (φ)-0.200
Contingency coefficient (C)0.196
Lambda (symmetric / row|col / col|row)0.200 / 0.200 / 0.200
Goodman–Kruskal gamma (γ)-0.385
Kendall's tau-b / tau-c-0.200 / -0.200
Somers' d-0.200 / -0.200 / -0.200
Theil's U0.029 / 0.029 / 0.029

Working from a data file? Run every SPSS CROSSTABS statistic (chi-square, Fisher, kappa, McNemar and more) with the SPSS crosstabs statistics guide.

What is the contingency coefficient?

Pearson's contingency coefficient is one of the oldest effect-size measures for categorical data, introduced by Karl Pearson in 1904. It rescales the chi-square statistic so that it does not grow without bound as your sample gets larger, turning a raw χ² into a number between 0 and (almost) 1.

Because it is built from the chi-square statistic, C pairs naturally with a chi-square test: the test tells you whether two variables are associated, and C tells you how strongly.

The method

Formula

Definition

C = √( χ² / (χ² + n) )

where

χ²
the chi-square statistic for the table
n
the grand total (sample size)

Worked example

Worked example

Suppose 110 people are cross-tabulated into a 2×2 table:

[[30, 10], [10, 60]] → n = 110

The chi-square statistic for this table is χ² = 40.55.
C = √( 40.55 / (40.55 + 110) ) = √( 40.55 / 150.55 ) = √0.2694 = 0.519 (≈ 0.52).

A C of about 0.52 indicates a moderately strong association — but remember its ceiling here is only √(1/2) ≈ 0.707, not 1.

Using it well

When to use it

Use it when

  • Use: You want a quick chi-square-based measure of association.
  • Use: You understand its size-dependent ceiling and are reporting a single table.

Not the right tool when

  • Avoid: You are comparing association across tables of different sizes — use Cramér's V instead.
  • Avoid: You need a measure that can actually reach 1 for a perfect association.

How to interpret it

Rule of thumb

Higher C means a stronger association, but because its maximum is below 1 and varies with table size, prefer Cramér's V when comparing tables.

Questions

Frequently asked questions

What is the maximum value of the contingency coefficient?

The contingency coefficient cannot reach 1; its maximum depends on the table size. For a 2×2 table the ceiling is √(1/2) ≈ 0.707, and larger tables have higher (but still below 1) ceilings, which is why C is hard to compare across tables of different sizes.

Contingency coefficient vs Cramér's V?

Both are chi-square-based effect sizes, but Cramér's V is rescaled to range from 0 to 1 regardless of table size, while Pearson's C has a size-dependent maximum below 1. For comparing association strength across tables of different dimensions, use Cramér's V.

How do you interpret Pearson's C?

Higher C means a stronger association, with 0 meaning no association. Because the maximum is below 1 and varies with table size, interpret C relative to its ceiling for that table, and prefer Cramér's V when you need comparability.

Sources and next steps

References & further reading

  1. [1]Pearson, K. (1904). On the Theory of Contingency and Its Relation to Association and Normal Correlation.
  2. [2]Contingency table — Wikipediaen.wikipedia.org

Try it on your own data — free, no signup

Upload a CSV, Excel, SPSS, Stata, SAS, R, Parquet or JSON file. Everything runs in your browser; your file never leaves your device.

Open the workspace →

← All calculators & guides