How to use this calculator
Measure association strength in a contingency table using Pearson's chi-square statistic, sample size, and table dimensions.
- Enter Contingency table (comma-separated rows). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How Cramér’s V calculator works
Measure association strength in a contingency table using Pearson's chi-square statistic, sample size, and table dimensions.
Inputs and units
- Contingency table (comma-separated rows): Enter nonnegative whole-number counts in comma-separated rows. Rows must have equal column counts; every included row and column must have a positive margin.
Formula and method
V = √(χ²/[N × min(r−1,c−1)]), with χ²=Σ(O−E)²/E and E=row total×column total/N
Worked example
For rows (20,30) and (10,40), N=100 and Pearson χ²≈4.7619. With min(r−1,c−1)=1, V=√(4.7619/100)≈0.218.
Interpreting the result
V is a nonnegative association-strength summary, approaching zero for little observed association and one for a strong normalized association in supported tables.
Assumptions and limits
Requires at least a 2×2 table with positive row and column margins. Sparse expected counts can make the usual chi-square approximation unreliable. V does not provide a p-value, direction, or causal interpretation; this implementation rejects empty margins.
Sources and method
- Cramér's V is derived from Pearson chi-square, sample size, and table dimensions. NIST Dataplot: Cramér's V
Frequently asked questions
Does Cramér's V show which category is higher?
No. It summarizes strength without direction; inspect cell proportions or residuals for the pattern.
Why must each row and column have a positive total?
A zero margin makes expected counts and the normalized association calculation undefined for that table representation.
How do I use the Cramér’s V calculator?
Enter Contingency table (comma-separated rows). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Cramér’s V?
For rows (20,30) and (10,40), N=100 and Pearson χ²≈4.7619. With min(r−1,c−1)=1, V=√(4.7619/100)≈0.218.
What does the Cramér’s V calculator calculate?
Measure association strength in a contingency table using Pearson's chi-square statistic, sample size, and table dimensions.