Skip to content
Omnikalc

Cramér’s V calculator

Enter the chi-square statistic, the sample size and the number of rows and columns of the table to get Cramér’s V, its bias-corrected version, Cohen’s w, the degrees of freedom and the p-value.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Results

Cramér’s V

0.188

Bias-corrected V

0.144

p-value of the chi-square

0.0275

Cohen’s w
0.266
Degrees of freedom
6
Smaller of rows − 1 and columns − 1
2
Threshold for a small effect (V)
0.071

The Cramér’s V calculator gives the strength of association between two categorical variables from a chi-square statistic, the sample size and the dimensions of the table, with a bias-corrected V, Cohen’s w, the degrees of freedom and the p-value.

How the calculation works

  • Enter the chi-square statistic of your contingency table and the sample size.
  • Enter the number of rows and columns of the table.
  • Read V, the corrected V and the p-value.

Example

A chi-square of 14.2 on 200 observations in a table of 3 rows and 4 columns has 6 degrees of freedom and a p-value of 0.0275. Cramér’s V is 0.188, the bias-corrected V is 0.144 and Cohen’s w is 0.266. A small effect starts at 0.071 for this table.

Why it matters

The calculator helps students, researchers and analysts who found a significant chi-square on survey or experimental data and need an effect size to report, compare the strength of associations in tables of different sizes, or convert between V and Cohen’s w.

Good to know

Use the chi-square statistic without Yates correction when you work with larger tables. The expected counts should be at least 5 in most cells for the p-value to be reliable; otherwise use an exact test. V does not give the direction of the association, so look at the table of residuals or percentages. Compare the thresholds with the smaller dimension of the table, since a table with more categories reaches lower values of V for a given effect. When you report the result, give the chi-square, the degrees of freedom, the sample size, the p-value and V together, and describe the strength of the association in words so that readers outside statistics can follow.

The chi-square test calculator computes the statistic, the Fisher exact test handles small tables, the Matthews correlation coefficient measures a binary classifier and the Yule Q calculator measures a 2 by 2 association.

Frequently asked questions

What is Cramér’s V?

Cramér’s V measures the strength of association between two categorical variables, from 0 for no association to 1 for a perfect one. It is V = √(χ² / (n × min(r − 1, c − 1))), where χ² is the chi-square statistic of the table, n the sample size and r and c the numbers of rows and columns. It generalizes the phi coefficient of a 2 by 2 table.

How is the effect interpreted?

For a table with min(r − 1, c − 1) equal to 1, values of 0.10, 0.30 and 0.50 are a small, medium and large association. For larger tables the thresholds fall, in proportion to 1 over the square root of that number: 0.07, 0.21 and 0.35 for 2 degrees of freedom, for instance.

Why is there a corrected version?

Cramér’s V tends to overestimate the association in small samples and large tables. The bias-corrected version of Bergsma subtracts the expected value of phi squared under independence and shrinks the dimensions of the table. The corrected value is lower and closer to the population value.

Does a significant chi-square mean a strong association?

No. The chi-square test says if the association is likely to exist, and the p-value falls as the sample grows. Cramér’s V says how strong it is, independent of the sample size. A large sample can give a tiny V with a very small p-value.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.