Cramér's V Calculator
Effect size for chi-square tests.
Enter chi-square, sample size, and table dimensions
What Is Cramér's V?
Cramér's V measures the strength of association between two categorical variables. It's the effect size companion to the chi-square test of independence.
Question answered: "How strongly are these two categorical variables related?"
Range: 0 to 1
- 0 = no association
- 1 = perfect association
Why Use Cramér's V?
The chi-square statistic depends on sample size—a tiny association can be "significant" with large n. Cramér's V provides a standardized measure of effect size.
Example:
- Study 1: χ² = 15.3, n = 200, p = .001
- Study 2: χ² = 15.3, n = 2000, p = .001
Same χ², but:
- Study 1: V = 0.28 (moderate association)
- Study 2: V = 0.09 (weak association)
The larger sample detected a weaker effect.
The Formula
Where:
- = chi-square statistic
- = total sample size
- = number of rows
- = number of columns
Example Calculation
Contingency table: Preference by region (3 regions × 3 preferences)
| Prefer A | Prefer B | Prefer C | Total | |
|---|---|---|---|---|
| North | 45 | 30 | 25 | 100 |
| Central | 35 | 40 | 25 | 100 |
| South | 20 | 30 | 50 | 100 |
| Total | 100 | 100 | 100 | 300 |
Step 1: Calculate chi-square
Step 2: Calculate Cramér's V
Interpretation: Moderate association between region and preference.
Interpretation Guidelines
Cohen's Conventions (adapted)
| 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 |
| 4 | 0.05 | 0.15 | 0.25 |
| 5 | 0.04 | 0.13 | 0.22 |
*df = min(r-1, c-1)
General Guidelines
| V | Interpretation |
|---|---|
| 0.00-0.10 | Negligible |
| 0.10-0.20 | Weak |
| 0.20-0.40 | Moderate |
| 0.40-0.60 | Relatively strong |
| 0.60-0.80 | Strong |
| 0.80-1.00 | Very strong |
Special Cases
2×2 Tables
For 2×2 tables, Cramér's V equals the absolute value of the phi coefficient:
2×k or r×2 Tables
This equals phi or the contingency coefficient for appropriate table sizes.
Related Effect Size Measures
Phi Coefficient (φ)
For 2×2 tables only:
Can range from -1 to +1, indicating direction.
Contingency Coefficient (C)
Maximum value depends on table size, making comparison difficult.
Tschuprow's T
Alternative standardization, equals V for square tables.
Comparison of Measures
| Measure | Tables | Range | Notes |
|---|---|---|---|
| Phi (φ) | 2×2 | -1 to +1 | Shows direction |
| Cramér's V | Any | 0 to 1 | Most versatile |
| Contingency C | Any | 0 to <1 | Max varies by table size |
| Tschuprow's T | Any | 0 to 1 | Stricter than V |
Recommendation: Use Cramér's V for tables larger than 2×2; use phi for 2×2 tables.
Confidence Interval for V
Bootstrapping is the most reliable method:
- Resample the contingency table with replacement
- Calculate V for each resample
- Use percentiles for CI
Analytical approximations exist but are complex.
Bias Correction
Cramér's V has positive bias, especially with small samples.
Bias-Corrected V
Use this correction for small samples or when comparing across studies.
Applications
Survey Research
Relationship between demographics and opinions:
- Gender × political affiliation
- Education level × product preference
- Age group × technology adoption
Medical Research
Association between categorical variables:
- Treatment × outcome category
- Risk factor × disease status
- Symptom × diagnosis
Market Research
- Brand preference × customer segment
- Purchase behavior × marketing channel
- Product choice × region
Social Sciences
- Voting behavior × demographic factors
- Educational attainment × social class
- Occupation × gender
Reporting Results
APA format:
"A chi-square test of independence showed a significant association between region and product preference, χ²(4) = 25.0, p < .001, Cramér's V = .20, indicating a moderate relationship."
Include:
- Chi-square statistic with degrees of freedom
- P-value
- Cramér's V
- Interpretation of effect size
Common Mistakes
Confusing Significance with Strength
A significant χ² doesn't mean a strong association. Always report Cramér's V.
Using Wrong df in Formula
df = min(r-1, c-1), not (r-1) × (c-1).
Ignoring Table Dimensions
Effect size interpretation depends on degrees of freedom. A V of 0.25 is "medium" for df = 2 but "large" for df = 4.
Not Reporting with Chi-Square
Always report Cramér's V (or another effect size) alongside chi-square tests.
Limitations
No Direction for Larger Tables
Unlike phi, Cramér's V doesn't indicate direction of association for tables larger than 2×2.
Assumes Nominal Variables
For ordinal variables, consider gamma or Kendall's tau instead—they use ranking information.
Maximum May Not Be 1
In some tables with structural zeros, V cannot reach 1.
When V = 0 vs. V = 1
V = 0 (No Association)
Each cell frequency equals what's expected under independence.
V = 1 (Perfect Association)
Each row (or column) has all observations in one cell—knowing one variable perfectly predicts the other.
Historical Context
Harald Cramér (1893-1985) was a Swedish mathematician who contributed to probability theory and mathematical statistics.
Cramér's V was developed to address the limitation of the phi coefficient to 2×2 tables, providing a standardized association measure for any contingency table size.
Related Calculations
- Chi-Square Test — Test of independence
- Fisher's Exact Test — Exact test for small samples
- Odds Ratio Calculator — 2×2 table association
- Spearman Correlation — Ordinal association
Summary
Cramér's V measures association strength between categorical variables, ranging from 0 (no association) to 1 (perfect association). Calculate it from chi-square: V = √(χ²/(n × min(r-1, c-1))). Interpretation depends on degrees of freedom—use guidelines specific to your table size. Always report V alongside chi-square tests to distinguish statistical significance from practical significance. For 2×2 tables, phi coefficient provides directional information.