Cramér's V: Measuring Association Between Categories
Why a chi-square test is not enough, how Cramér's V, phi and the contingency coefficient measure strength of association, effect sizes and bias correction.

Cramér's V: Measuring Association Between Categories
Is preference for a product related to region? Is a symptom related to treatment group? With categorical data, the chi-square test answers whether there is an association, but not how strong it is. With large samples even a negligible association becomes significant. Cramér's V fills the gap. This guide explains it and its relatives, and you can compute them with the Cramér's V calculator.
The chi-square test
Arrange counts in a contingency table. For each cell, the expected count under independence is:
E = row total × column total / grand total.
The chi-square statistic sums the squared differences between observed and expected counts divided by the expected counts:
χ² = Σ (O − E)² / E,
with (rows − 1) × (columns − 1) degrees of freedom. A small p-value means the variables are probably associated.
Why we need an effect size
χ² grows with sample size. Doubling every count doubles χ² while the pattern stays identical. A survey of 10,000 people may find p < 0.001 for an association too weak to matter. Effect sizes describe strength independently of n.
Cramér's V
Harald Cramér proposed in 1946:
V = √(χ² / (n (k − 1))),
where k is the smaller of the number of rows and columns. V ranges from 0 (no association) to 1 (perfect association). It works for tables of any size.
Phi for 2 × 2 tables
For a 2 × 2 table, phi = (ad − bc) / √((a+b)(c+d)(a+c)(b+d)). Its absolute value equals V, and its sign shows the direction of the association.
The contingency coefficient
Pearson's C = √(χ² / (χ² + n)) is older but cannot reach 1, and its maximum depends on the table size, so V is usually preferred.
Interpreting V
Jacob Cohen's benchmarks depend on df* = k − 1:
| df* | Small | Medium | Large |
|---|---|---|---|
| 1 | 0.10 | 0.30 | 0.50 |
| 2 | 0.07 | 0.21 | 0.35 |
| 3 | 0.06 | 0.17 | 0.29 |
These are rough guides; what counts as important depends on the field.
Bias correction
V overestimates the true association in small samples and large tables. Wicher Bergsma proposed in 2013 a corrected version that subtracts the chi-square expected by chance. When n is small or the table has many cells, report the corrected value too.
Example
Two regions (rows) and three product versions (columns):
| A | B | C | |
|---|---|---|---|
| Region 1 | 30 | 10 | 20 |
| Region 2 | 15 | 25 | 20 |
χ² = 11.43 with 2 degrees of freedom, p = 0.003. Cramér's V = 0.31, a medium association for df* = 1, with a bias-corrected V of 0.28. Region 1 prefers version A, region 2 version B.
Assumptions and pitfalls
- Use counts, never percentages.
- Each observation belongs to exactly one cell.
- Expected counts should be at least 5 in most cells; merge sparse categories or use Fisher's exact test for small 2 × 2 tables.
- V has no direction for larger tables; inspect the table to see which cells drive the association.
Using the calculator
- Paste the table of counts, one row per line.
- Separate cells with commas or spaces.
- Read χ², p, Cramér's V, the bias-corrected V, phi, C and the effect size label.
Reporting
A complete report reads: χ²(2, N = 120) = 11.43, p = .003, Cramér's V = .31. Include the table so readers can see the pattern.
Also give the expected counts if any are small.
Limits
Cramér's V treats categories as nominal. For ordered categories, rank-based measures such as Kendall's tau-b or Goodman and Kruskal's gamma use the ordering.


