Math calculator

Cramér's V Calculator

The effect size a chi-square test does not give you, at every sample size at once.

Association at any table size

V = 0.27136852 on n = 90, χ² = 13.2554 with 4 degrees of freedom, p = 0.0100930. Multiply every cell and V will not move.

3×3 table, n = 90, df = 4

V = 0.27136852

χ² = 13.2554, p = 0.0100932. V is the chi-square rescaled by the sample size and the smaller dimension, so multiplying every cell by the same factor leaves V untouched and multiplies χ² by that factor — the effect size and the evidence for it are genuinely separate numbers.

Cramér's V

0.27136852

k − 1 = 2

χ²

13.2554

df = 4

p-value

0.0100932

chi-square test of independence

Sample size

90

counts, not proportions

The contingency table with row, column and grand totals
RowCol 1Col 2Col 3Total
Row 11510530
Row 28121030
Row 3581730
Total28303290

Your table at six sample sizes

Every cell multiplied by the same factor. The pattern is untouched; only how much of it you observed changes.

Cramér’s V, chi-square and p at six multiples of the entered table
Scalenχ²Cramér’s Vp
×19013.25540.271368520.0100932
×218026.51070.271368522.4960e-5
×327039.76610.271368524.8384e-8
×545066.27680.271368521.3849e-13
×10900132.55360.271368521.1072e-27
×201800265.10710.271368523.6172e-56

The V column does not vary at all and the p column swings by dozens of orders of magnitude. A significant chi-square is a statement about how much data you collected as much as about how strong the association is.

Invariant to scaling the whole table On a 2×2 it equals |φ| Always between 0 and 1, never signed

What this tool shows

The same 3×3 pattern at n = 90 and at n = 1,800 gives V = 0.27136852 both times, while p moves from 0.0100930 to 3.6172×10⁻⁵⁶. Fifty-four orders of magnitude of extra evidence for an association that has not changed at all. The tool scales your own table six ways and prints V beside p, because a significant chi-square is a statement about how much data you collected as much as about how strong the pattern is.

  • Cramér’s V for any contingency table from 2×2 upwards
  • Chi-square with the correct degrees of freedom and its p-value
  • Your own table rescaled six ways, with V and p side by side
  • Row, column and grand totals printed back
  • The smaller-dimension divisor that keeps V inside 0 to 1 on rectangular tables
  • Exact zero when the rows are proportional, rather than a rounded near-zero
Any table size χ² and p Scale-invariant Six sample sizes

V does not move with the sample size. The p-value does.

Updated 12 September 2026 · Works in any browser, no installation

Cramér’s V is the chi-square statistic rescaled so that it does not grow with the sample size. It runs from 0 to 1 on a table of any shape, which makes it the effect size for a chi-square test of independence — a test that otherwise reports only whether an association exists, never how large it is. On a 2×2 table it equals the absolute value of the phi coefficient.

At a glance

Formula shown
V = √(χ² / (n · (k − 1))), where n is the total count and k is the SMALLER of the number of rows and columns. Dividing by n removes the sample-size dependence and dividing by k − 1 caps the result at 1 for rectangular tables — without that second divisor the quantity exceeds 1 on anything larger than 2×2. Degrees of freedom for the chi-square remain (rows − 1)(columns − 1), which is a different quantity from k − 1 and is easy to confuse.
Scenario support
Survey cross-tabulations, market research by segment, A/B tests with more than two outcomes, demographic breakdowns of a categorical choice, agreement between two categorical classifiers, and any chi-square test of independence where a reviewer asks how large the association actually is.
Educational estimate
Planning support from the values you enter — not professional advice.

The p-value moves with the sample size; V does not

This is the whole reason the coefficient exists, and multiplying a table through is the cleanest way to see it because nothing about the pattern changes.

Take the tool’s first preset at n = 90: χ² = 13.2554, V = 0.27136852, p = 0.0100930. Multiply every cell by 20 and you have the identical proportions in a sample of 1,800.

V is still 0.27136852 — every digit. χ² is 265.1071, exactly twenty times larger, and p has fallen to 3.6172×10⁻⁵⁶.

Chi-square is exactly proportional to the sample size for a fixed pattern. That is arithmetic, not an approximation: each cell’s contribution scales linearly when observed and expected counts scale together.

So “p < 0.001” on a large survey says almost nothing about strength. Any association at all becomes significant with enough respondents, and V is the number that stays still while significance accumulates.

The divisor uses the smaller dimension, not the degrees of freedom

The two most common errors in computing V are using the wrong k and confusing k − 1 with the degrees of freedom. They are different numbers on any non-square table.

k is min(rows, columns). On the tool’s 4×3 preset, k = 3 and the divisor is k − 1 = 2, while the degrees of freedom for the chi-square test are (4−1)(3−1) = 6.

Using the larger dimension makes V too small, and using the degrees of freedom in place of k − 1 makes it far too small on a large rectangular table — both silently, because the result is still a plausible-looking number between 0 and 1.

The cap exists because √(χ²/n) alone exceeds 1 above 2×2. That quantity is the mean-square contingency, and its maximum grows with the table’s smaller dimension. Dividing it back down is precisely what Cramér contributed.

On a 2×2 the correction vanishes — k − 1 = 1 — which is why V and |φ| coincide there and only there.

V has no natural scale, and the published thresholds depend on df

Unlike a correlation, V is not anchored to anything interpretable. 0.27 is not “27% of something”, and the conventional bands are weaker than they look.

Cohen’s benchmarks vary with the degrees of freedom. For df = 1 the small, medium and large marks are 0.10, 0.30 and 0.50; for df = 2 they are 0.07, 0.21 and 0.35; for df = 3 they are 0.06, 0.17 and 0.29. Quoting the df = 1 bands for a larger table overstates the effect.

V is also not a proportion of variance the way r² is. Squaring it gives χ²/(n(k−1)), which has no clean interpretation as shared variance.

And it is always non-negative, so it says nothing about direction. On tables larger than 2×2 direction has no single meaning anyway, but for a 2×2 the signed phi coefficient carries information V discards.

The most useful reading is comparative. V = 0.27 against V = 0.09 on tables of the same shape is a real statement; V = 0.27 read against an absolute band is a convention.

V inherits every assumption of the chi-square underneath it

It is computed from χ², so anything that makes the chi-square unreliable makes V unreliable in the same way and by the same amount.

The cells must be counts of independent observations. Percentages, rates and repeated measurements of the same people all break it — and entering percentages is the single most common way to get a wrong V, because n becomes 100 regardless of the real sample.

Small expected counts distort the chi-square, and therefore V. The usual guidance is that no expected count should fall below about 5; the goodness-of-fit calculator measures what actually happens below that floor.

For a small 2×2, use Fisher’s exact test for the p-value and keep V as the effect size. The two come apart cleanly, and there is no rule that the test and the effect size must share a distribution.

V is also biased upward in small samples, because χ² has a positive expectation even under independence. Bias-corrected variants exist and matter mainly when n is small relative to the number of cells.

A significant table does not say which cells caused it

Both the test and V are omnibus. They describe the whole table and name no part of it.

Standardised residuals are the usual next step. Each cell’s (observed − expected)/√expected shows where the table departs from independence, and values beyond about ±2 mark the cells driving the statistic.

Collapsing categories changes the answer. Merging two columns changes k, the degrees of freedom and the counts at once, so V before and after a merge are not comparable — and merging after seeing the residuals is selecting on the outcome.

Splitting the table into 2×2 sub-tables is multiple testing. Four such comparisons need a correction, the same as any other family of tests.

And an association is not a direction of causation, which matters more here than in most places because contingency tables are so often built from observational survey data where the grouping variable was not assigned.

Reporting Cramér's V

Four things, and the table dimensions are the one that makes the value interpretable.

Give the table’s dimensions and n. V = 0.25 on a 4×3 and V = 0.25 on a 2×2 sit against different benchmarks, and without the shape a reader cannot pick the right one.

Give χ² with its degrees of freedom and p. “χ²(6) = 50.09, p < 0.001, V = 0.250, n = 400” is a complete result in one line.

Say which Cohen benchmark you used, if you label the size at all. The bands move with df, and an unlabelled “medium effect” is not checkable.

And give the full table where space allows. It is a handful of integers, it lets a reader recompute everything including the residuals, and it is the only way anyone can see which cells the association lives in.

Sources and methodology

References for Cramér's V and the chi-square it rescales.

Method. V is computed from the chi-square statistic and the smaller of the two table dimensions, and the scaling table is generated by multiplying the user’s own table rather than by a stored example — which is what makes the invariance claim checkable on any input, not only on the preset. The preset itself is exact: V = 0.27136852 at n = 90 and at n = 1,800, with χ² = 13.2554 and 265.1071 and p = 1.0093e-2 and 3.6172e-56. Proportional rows return a chi-square of exactly zero rather than a rounded near-zero, because observed and expected coincide cell by cell. The equality with |φ| on 2×2 tables is asserted numerically across randomly generated tables. Ragged rows, negative counts and a single row or column all return no result rather than a number. That engine is verified on every change against 69 assertions. The count and the per-case breakdown are published on the formula verification page.

Related calculators

Where this goes next:

Phi CoefficientPhi for a 2x2 table printed against the ceiling its marginals impose: on [10, 40, 0, 50] every case is exposed, a complete association, and phi is 0.3333333, which is exactly max phi.
Chi-SquareGoodness of fit and tests of independence with every expected count and per-cell contribution shown — because the validity condition is about expected counts, not observed ones, and most calculators hide them.
Goodness of FitChi-square with per-cell contributions and standardised residuals, plus a measured answer to the “expected at least 5” rule — below the floor the test is CONSERVATIVE (3.27% at 2 per cell), not liberal.
Fisher's Exact TestThe exact p for a 2×2 table under all three two-sided conventions, because they disagree — 0.0406 against 0.0699 on the built-in table, across the 5% line — plus the test's actual size by enumeration, which is 2.30% at a nominal 5%.
Odds RatioOdds ratio, relative risk, risk difference and number needed to treat from one 2x2 table — because an odds ratio of 6.00 can describe a relative risk of 1.50.
Effect SizeCohen d, Hedges g and the overlap between groups, with a sample-size control that moves the p-value while leaving the effect size fixed — the same d gives t = 1.29 at n=30 and 23.57 at n=10,000.

More in Math, or browse all calculators.

Educational use disclaimer

An educational tool. Cramér’s V inherits every assumption of the chi-square test it rescales — independent observations, counts rather than percentages, and expected counts large enough for the approximation — and it has no natural scale, so the conventional small/medium/large bands shift with the degrees of freedom rather than holding across table shapes.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (5 updates)

Published 12 September 2026

  1. Published the effect size a chi-square test does not give you, for contingency tables of any shape.
  2. Separated effect size from evidence by measurement rather than by explanation: the same 3x3 pattern at n = 90 and at n = 1,800 gives V = 0.27136852 both times, while chi-square goes 13.2554 to 265.1071 and p falls from 1.0093e-2 to 3.6172e-56. Fifty-four orders of magnitude of extra evidence for an association that has not changed at all.
  3. Generated that scaling table from the user's own input rather than from a stored example, so the invariance is demonstrated on whatever table they enter.
  4. Made the k - 1 divisor explicit — k is the SMALLER of rows and columns, which is not the chi-square degrees of freedom on a rectangular table, and confusing the two is the commonest way to compute V wrongly.
  5. Recorded that Cohen's small/medium/large marks fall as degrees of freedom rise (0.10/0.30/0.50 at df = 1 but 0.06/0.17/0.29 at df = 3), so an unlabelled 'medium effect' is not checkable. Verified against 69 assertions.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.