Chi-Square Table: Critical Values and How to Read Them
A chi square table gives the critical value χ²* that has a chosen area α to its right under the chi-square distribution with df degrees of freedom. Find the row for your df and the column for your α: for df = 3 and α = 0.05 the critical value is 7.815. In a goodness-of-fit test or a test of independence, reject the null hypothesis when your χ² statistic is larger than χ²*; for the exact p-value, use the right-tail area beyond your statistic.
Last updated · by the simstat.com editorial team · How we write
How to read the chi-square table
A chi-square test compares counts you observed with the counts a hypothesis predicts and sums the squared differences, each divided by the expected count, into one statistic, χ². The larger χ² is, the worse the fit. The table tells you how large is too large.
Each row is a number of degrees of freedom (df), which depends on the test: the number of categories minus 1 for a goodness-of-fit test whose proportions are fixed in advance (one fewer for each parameter estimated from the data; NIST/SEMATECH, 2012, section 1.3.5.15), (rows − 1)(columns − 1) for a test of independence. Each column is a right-tail area α: the probability, if the null hypothesis is true, of a χ² larger than the value in the cell. To look up a critical value:
- Choose the significance level α, usually 0.05.
- Work out df for your test.
- Read across row df to column α. For df = 3 and α = 0.05 the cell is 7.815.
- Reject the null hypothesis if your χ² statistic is larger than that value.
Goodness-of-fit and independence tests are right-tailed: Illowsky and Dean (2023) write that the test of independence “is always right-tailed because of the calculation of the test statistic”, and that the goodness-of-fit test “is almost always right-tailed”. Only large χ² values count against the null hypothesis, so these tests use the columns on the right of the table (0.1 to 0.005).
Tables label their columns differently. The table below gives the area to the right of the value. The NIST/SEMATECH e-Handbook (2012) labels its columns by the “Probability less than the critical value”, so its 0.95 column holds the same numbers as the 0.05 column here (7.815 for df = 3). Check the heading before you read off a number.
Chi-square distribution table (df 1 to 100)
| df \ area to the right | 0.995 | 0.99 | 0.975 | 0.95 | 0.9 | 0.1 | 0.05 | 0.025 | 0.01 | 0.005 |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.0000393 | 0.000157 | 0.000982 | 0.00393 | 0.0158 | 2.706 | 3.841 | 5.024 | 6.635 | 7.879 |
| 2 | 0.0100 | 0.0201 | 0.0506 | 0.103 | 0.211 | 4.605 | 5.991 | 7.378 | 9.210 | 10.597 |
| 3 | 0.0717 | 0.115 | 0.216 | 0.352 | 0.584 | 6.251 | 7.815 | 9.348 | 11.345 | 12.838 |
| 4 | 0.207 | 0.297 | 0.484 | 0.711 | 1.064 | 7.779 | 9.488 | 11.143 | 13.277 | 14.860 |
| 5 | 0.412 | 0.554 | 0.831 | 1.145 | 1.610 | 9.236 | 11.070 | 12.833 | 15.086 | 16.750 |
| 6 | 0.676 | 0.872 | 1.237 | 1.635 | 2.204 | 10.645 | 12.592 | 14.449 | 16.812 | 18.548 |
| 7 | 0.989 | 1.239 | 1.690 | 2.167 | 2.833 | 12.017 | 14.067 | 16.013 | 18.475 | 20.278 |
| 8 | 1.344 | 1.646 | 2.180 | 2.733 | 3.490 | 13.362 | 15.507 | 17.535 | 20.090 | 21.955 |
| 9 | 1.735 | 2.088 | 2.700 | 3.325 | 4.168 | 14.684 | 16.919 | 19.023 | 21.666 | 23.589 |
| 10 | 2.156 | 2.558 | 3.247 | 3.940 | 4.865 | 15.987 | 18.307 | 20.483 | 23.209 | 25.188 |
| 11 | 2.603 | 3.053 | 3.816 | 4.575 | 5.578 | 17.275 | 19.675 | 21.920 | 24.725 | 26.757 |
| 12 | 3.074 | 3.571 | 4.404 | 5.226 | 6.304 | 18.549 | 21.026 | 23.337 | 26.217 | 28.300 |
| 13 | 3.565 | 4.107 | 5.009 | 5.892 | 7.042 | 19.812 | 22.362 | 24.736 | 27.688 | 29.819 |
| 14 | 4.075 | 4.660 | 5.629 | 6.571 | 7.790 | 21.064 | 23.685 | 26.119 | 29.141 | 31.319 |
| 15 | 4.601 | 5.229 | 6.262 | 7.261 | 8.547 | 22.307 | 24.996 | 27.488 | 30.578 | 32.801 |
| 16 | 5.142 | 5.812 | 6.908 | 7.962 | 9.312 | 23.542 | 26.296 | 28.845 | 32.000 | 34.267 |
| 17 | 5.697 | 6.408 | 7.564 | 8.672 | 10.085 | 24.769 | 27.587 | 30.191 | 33.409 | 35.718 |
| 18 | 6.265 | 7.015 | 8.231 | 9.390 | 10.865 | 25.989 | 28.869 | 31.526 | 34.805 | 37.156 |
| 19 | 6.844 | 7.633 | 8.907 | 10.117 | 11.651 | 27.204 | 30.144 | 32.852 | 36.191 | 38.582 |
| 20 | 7.434 | 8.260 | 9.591 | 10.851 | 12.443 | 28.412 | 31.410 | 34.170 | 37.566 | 39.997 |
| 21 | 8.034 | 8.897 | 10.283 | 11.591 | 13.240 | 29.615 | 32.671 | 35.479 | 38.932 | 41.401 |
| 22 | 8.643 | 9.542 | 10.982 | 12.338 | 14.041 | 30.813 | 33.924 | 36.781 | 40.289 | 42.796 |
| 23 | 9.260 | 10.196 | 11.689 | 13.091 | 14.848 | 32.007 | 35.172 | 38.076 | 41.638 | 44.181 |
| 24 | 9.886 | 10.856 | 12.401 | 13.848 | 15.659 | 33.196 | 36.415 | 39.364 | 42.980 | 45.559 |
| 25 | 10.520 | 11.524 | 13.120 | 14.611 | 16.473 | 34.382 | 37.652 | 40.646 | 44.314 | 46.928 |
| 26 | 11.160 | 12.198 | 13.844 | 15.379 | 17.292 | 35.563 | 38.885 | 41.923 | 45.642 | 48.290 |
| 27 | 11.808 | 12.879 | 14.573 | 16.151 | 18.114 | 36.741 | 40.113 | 43.195 | 46.963 | 49.645 |
| 28 | 12.461 | 13.565 | 15.308 | 16.928 | 18.939 | 37.916 | 41.337 | 44.461 | 48.278 | 50.993 |
| 29 | 13.121 | 14.256 | 16.047 | 17.708 | 19.768 | 39.087 | 42.557 | 45.722 | 49.588 | 52.336 |
| 30 | 13.787 | 14.953 | 16.791 | 18.493 | 20.599 | 40.256 | 43.773 | 46.979 | 50.892 | 53.672 |
| 40 | 20.707 | 22.164 | 24.433 | 26.509 | 29.051 | 51.805 | 55.758 | 59.342 | 63.691 | 66.766 |
| 50 | 27.991 | 29.707 | 32.357 | 34.764 | 37.689 | 63.167 | 67.505 | 71.420 | 76.154 | 79.490 |
| 60 | 35.534 | 37.485 | 40.482 | 43.188 | 46.459 | 74.397 | 79.082 | 83.298 | 88.379 | 91.952 |
| 70 | 43.275 | 45.442 | 48.758 | 51.739 | 55.329 | 85.527 | 90.531 | 95.023 | 100.425 | 104.215 |
| 80 | 51.172 | 53.540 | 57.153 | 60.391 | 64.278 | 96.578 | 101.879 | 106.629 | 112.329 | 116.321 |
| 90 | 59.196 | 61.754 | 65.647 | 69.126 | 73.291 | 107.565 | 113.145 | 118.136 | 124.116 | 128.299 |
| 100 | 67.328 | 70.065 | 74.222 | 77.929 | 82.358 | 118.498 | 124.342 | 129.561 | 135.807 | 140.169 |
Row: degrees of freedom (df). Column: the area to the right of the value. Values to 3 decimals (small values to 3 significant digits). Computed with simstat.com’s own code and checked cell by cell against R 4.3.3.
simstat.com · Chi-square table: critical values of the χ² distribution (χ² with the given area to its right)
To keep a copy, use your browser’s Print or Save as PDF: the page’s print layout prints only the table, on a page of its own.
Every cell is computed when the site is built by our own quantile code, and our tests check each cell against R
4.3.3’s qchisq(alpha, df, lower.tail = FALSE) (R Core Team, 2024): they agree to at least 10
significant digits, so it serves as a chi square critical value table for the ten α levels in its columns. The rows run from df = 1 to 30 and then 40, 50, …, 100. For df between the listed rows, such as 45, the
critical value lies between the two neighbouring rows; for the exact value or p-value, use software or our
p-value calculator.
The left-hand columns: lower critical values
The columns 0.995 to 0.9 hold small values: χ² falls below them only with probability 0.005 to 0.1. For df = 3, a χ² below 0.352 has probability 0.05 (it lies in the 0.95 column, so 95% of the distribution lies to its right). NIST/SEMATECH (2012) explains why both ends are tabled: “Because of the lack of symmetry of the chi-square distribution, separate tables are provided for the upper and lower tails of the distribution.”
You need these columns when small values matter, as in a test or confidence interval for a variance. NIST/SEMATECH (2012, section 1.3.5.8) gives the statistic (N − 1)s²/σ₀² on N − 1 degrees of freedom and turns it into an interval. Illowsky and Dean (2023, section 11.6) add that such a test “assumes that the underlying distribution is normal”. In this table’s notation, a 95% confidence interval for a population variance σ² from a sample of size n with sample variance s² is:
where χ²0.025 and χ²0.975 are the table values in the columns 0.025 and 0.975 for df = n − 1. For n = 10 (df = 9) they are 19.023 and 2.700. The large critical value gives the lower limit and the small one the upper limit.
The chi-square distribution in brief
The chi-square distribution with k degrees of freedom is the distribution of “the sum of k independent, squared standard normal variables” (Illowsky and Dean, 2023). A few facts follow:
- It is never negative, and “The curve is nonsymmetrical and skewed to the right” (Illowsky and Dean, 2023).
- Its mean is df and its variance 2 × df; R’s documentation puts it as “The mean and variance are n and 2n” (R Core Team, 2024). So the centre of the table moves right as df grows.
- With more degrees of freedom the skew fades: “When df > 90, the chi-square curve approximates the normal distribution” (Illowsky and Dean, 2023).
- With df = 1, χ² is a single squared z. The 0.05 critical value 3.841 is the square of z = 1.959964, the two-sided 5% value from the z table (1.96 to two decimals), which you can also check with our normal CDF calculator.
Goodness-of-fit test: Mendel’s peas
A goodness-of-fit test asks whether counts in k categories match proportions fixed in advance. The statistic is
where Oi is the observed count in category i and Ei = n × pi the count expected under the null hypothesis, with n the total count and pi the hypothesised proportion.
In his first experiment with two characters, Mendel (1866) crossed peas with round yellow seeds and peas with wrinkled green seeds. He reports: “In all, 556 seeds were yielded by 15 plants”. He sums up the offspring in the combination series AB + Ab + aB + ab + 2ABb + 2aBb + 2AaB + 2Aab + 4AaBb, where A stands for round and B for yellow (both dominant). Adding its coefficients by appearance gives the four seed types in the proportions 9:3:3:1, the null hypothesis tested here.
Worked example: Goodness of fit to 9:3:3:1
Step 1: expected counts. The ratio parts add up to 16, so the expected count for round yellow seeds is 556 × 9/16 = 312.75, and so on.
| Seed type | Ratio | Observed O | Expected E | O − E | (O − E)²/E |
|---|---|---|---|---|---|
| Round, yellow | 9 | 315 | 312.75 | 2.25 | 0.0162 |
| Round, green | 3 | 108 | 104.25 | 3.75 | 0.1349 |
| Wrinkled, yellow | 3 | 101 | 104.25 | −3.25 | 0.1013 |
| Wrinkled, green | 1 | 32 | 34.75 | −2.75 | 0.2176 |
| Total | 16 | 556 | 556 | 0.470 |
Step 2: the statistic. χ² = 0.470. Every expected count is far above 5.
Step 3: degrees of freedom. k = 4 categories, so df = 4 − 1 = 3.
Step 4: the table. In row 3, the 0.05 column gives 7.815. Since 0.470 is far below 7.815, do not reject the 9:3:3:1 hypothesis. The statistic even lies between the 0.95 column (0.352) and the 0.9 column (0.584), so the p-value is between 0.9 and 0.95.
Step 5: the exact p-value. The right-tail area beyond 0.470 on 3 df is p = 0.9254.
R gives the same values with chisq.test(c(315, 108, 101, 32), p = c(9, 3, 3, 1) / 16). The counts fit
Mendel’s ratio closely.
Test of independence: hair and eye colour
A test of independence asks whether two categorical variables measured on the same people are related. The expected count in each cell is (row total × column total)/n, and
for a table with r rows and c columns. R’s HairEyeColor data come, according to R’s documentation, from a
survey of 592 statistics students at the University of Delaware; the documentation calls the data “useful for illustrating various techniques for
the analysis of contingency tables, such as the standard chi-squared test” (R Core Team, 2024). Summed over sex, as in the
original survey report, the counts are:
| Hair \ Eye | Brown | Blue | Hazel | Green | Total |
|---|---|---|---|---|---|
| Black | 68 | 20 | 15 | 5 | 108 |
| Brown | 119 | 84 | 54 | 29 | 286 |
| Red | 26 | 17 | 14 | 14 | 71 |
| Blond | 7 | 94 | 10 | 16 | 127 |
| Total | 220 | 215 | 93 | 64 | 592 |
Worked example: Are hair colour and eye colour independent?
Step 1: expected counts. For blond hair and blue eyes, E = 127 × 215 / 592 = 46.12; the other 15 cells follow the same rule.
Step 2: check the expected counts. The smallest is 7.68 (red hair, green eyes), so every cell meets the rule that “The expected value for each cell needs to be at least five” (Illowsky and Dean, 2023).
Step 3: the statistic. Adding (O − E)²/E over all 16 cells gives χ² = 138.29.
Step 4: degrees of freedom. 4 hair colours and 4 eye colours: df = (4 − 1)(4 − 1) = 9.
Step 5: the table. Row 9, column 0.05: 16.919. Our χ² = 138.29 is far larger, so reject independence. It also exceeds the last column, 0.005 (23.589), so the table says p < 0.005.
Step 6: the exact p-value. The right-tail area beyond 138.29 on 9 df is p = 2.3253 × 10⁻²⁵.
R’s chisq.test(apply(HairEyeColor, c(1, 2), sum)) returns the same statistic and df; it prints the
p-value only as < 2.2e-16, and chisq.test(apply(HairEyeColor, c(1, 2), sum))$p.value shows the exact
value. The two
largest contributions to χ² explain the result: blond hair with blue eyes (94
students against 46.1 expected, contributing 49.7) and blond hair with
brown eyes (7 against 47.2, contributing 34.2).
How to report a chi-square test
Give the statistic with its degrees of freedom and sample size, and the p-value:
Mendel’s seed counts were consistent with a 9:3:3:1 ratio, χ²(3, N = 556) = 0.47, p = 0.93.
Hair colour and eye colour were not independent, χ²(9, N = 592) = 138.29, p < 0.001.
Also report the observed counts (or the full table), the hypothesised proportions for a goodness-of-fit test, and
that all expected counts were at least 5. If you used software, name it: R’s chisq.test applies a
continuity correction to 2 × 2 tables by default (“continuity correction is only used in the 2-by-2 case”; R Core
Team, 2024), which changes χ² and p for those tables.
If you only have the table, report the interval it gives (for example 0.01 < p < 0.025, or p < 0.005); the p-value calculator gives the exact value from χ² and df.
Common mistakes
Reading a left-tail column. For a goodness-of-fit or independence test you need the right-tail column for α (0.05), not the 0.95 column. In row 3 those are 7.815 and 0.352. With a table labelled by the area to the left, such as NIST’s, the roles swap, so read the heading first.
Using the wrong df. df is not the sample size. For Mendel’s peas it is 4 − 1 = 3, not 556 − 1; for the hair and eye table it is (4 − 1)(4 − 1) = 9, not 4 × 4 − 1. A df that is too large gives a critical value that is too large and hides real effects.
Ignoring small expected counts. The table’s chi-square distribution only approximates the behaviour of a statistic built from counts: R computes the p-value “from the asymptotic chi-squared distribution of the test statistic” (R Core Team, 2024). Illowsky and Dean (2023) require every expected count to be at least five. The rule is about expected counts, not observed ones: the hair and eye table has an observed count of 5 but no expected count below 7.68. If cells fall short, combine categories, or use an exact or simulated p-value.
Using percentages or proportions instead of counts. χ² grows with the sample size, so the test needs the raw counts; R’s documentation says “The entries of x must be non-negative integers” (R Core Team, 2024). Converting the hair and eye table to percentages of its 592 students turns χ² = 138.29 into 23.36: every term is multiplied by 100/592, so the statistic reflects an arbitrary total of 100 instead of the 592 students actually counted.
Using a two-tailed α. Splitting 0.05 into 0.025 in each tail, as for a t table, is wrong for these tests: all of α goes in the right tail.
Where next
The p-value calculator turns any χ², t, z or F statistic into an exact p-value. For other critical values, see the t table and the z table; for why test statistics have distributions at all, read about the sampling distribution. The statistics hub lists every guide and calculator.
References
- NIST/SEMATECH (2012). e-Handbook of Statistical Methods, Section 1.3.6.7.4: Critical Values of the Chi-Square Distribution. National Institute of Standards and Technology.
- NIST/SEMATECH (2012). e-Handbook of Statistical Methods, Section 1.3.5.8: Chi-Square Test for the Variance. National Institute of Standards and Technology.
- NIST/SEMATECH (2012). e-Handbook of Statistical Methods, Section 1.3.5.15: Chi-Square Goodness-of-Fit Test. National Institute of Standards and Technology.
- Illowsky, B. & Dean, S. (2023). Introductory Statistics 2e, Section 11.1: Facts About the Chi-Square Distribution. OpenStax, Rice University.
- Illowsky, B. & Dean, S. (2023). Introductory Statistics 2e, Section 11.2: Goodness-of-Fit Test. OpenStax, Rice University.
- Illowsky, B. & Dean, S. (2023). Introductory Statistics 2e, Section 11.3: Test of Independence. OpenStax, Rice University.
- Illowsky, B. & Dean, S. (2023). Introductory Statistics 2e, Section 11.6: Test of a Single Variance. OpenStax, Rice University.
- R Core Team (2024). chisq.test: Pearson's Chi-squared Test for Count Data (stats package documentation). R Foundation for Statistical Computing (R 4.3.3).
- R Core Team (2024). Chisquare: The (non-central) Chi-Squared Distribution (stats package documentation). R Foundation for Statistical Computing (R 4.3.3).
- R Core Team (2024). HairEyeColor: Hair and Eye Color of Statistics Students (datasets package documentation). R Foundation for Statistical Computing (R 4.3.3).
- Mendel, G. (1866). Experiments in Plant Hybridization (English translation by C. T. Druery and W. Bateson, MendelWeb edition by R. B. Blumberg). Verhandlungen des naturforschenden Vereines in Brünn; MendelWeb.
Try it
- P-value calculator: z, t, chi-square and F: The p-value for a z, t, χ² or F statistic, two-tailed, left or right, with a shaded curve, the working and TI-84 syntax.
- Normal CDF calculator: Probability between two bounds for any normal distribution, inverse normal, a shaded curve and TI-84 syntax.
- Confidence interval calculator: z and t intervals for a mean, Wilson and Wald intervals for a proportion, with every step of the working shown.
Related reading
- What Is a Sampling Distribution? Central Limit Theorem and Standard Error
- Z-Score for a 95% Confidence Interval and Other Levels
- Correlation vs Causation: Why Correlation Does Not Imply Causation
- Effect Size: Definition, Cohen's d and How to Interpret It
- How to Calculate Standard Error: Mean, Proportion and Difference
- More on statistics