Critical Value Calculator: z, t, Chi-Square and F Tables
By FindMySum · Last reviewed
Every hypothesis test ends with the same comparison: is the test statistic far enough out in the tail of its distribution to be called significant? The critical value is the line that decides. This calculator finds it for the four distributions used in almost every introductory and applied statistics course (the standard normal z, Student's t, chi-square and F) for any significance level and any degrees of freedom, and it also works the other way, turning a statistic into a p-value.
What the calculator gives you
- Critical value from α: choose the distribution, the test type (left, right or two-tailed), the significance level and the degrees of freedom. You get the critical value or values, the rejection region in words, a chart of the distribution with the region marked, and a table of critical values at the six α levels most textbooks print.
- P-value from a statistic: enter your z, t, χ² or F statistic and get the tail area beyond it, with a yes or no at your α.
Worked example: the default
The calculator opens with Student's t, 10 degrees of freedom, α = 0.05, two-tailed. That is the setting for a one-sample t-test with 11 observations, or a 95% confidence interval for a mean from 11 values.
Two-tailed means the 5% is split: 2.5% in each tail. The critical value is the t with 2.5% of the area to its right, which is 2.2281. The test rejects the null hypothesis when the statistic is above 2.2281 or below −2.2281. The NIST t table prints 2.228 in the 10 df row.
Compare that with z = 1.960 for the same α. The t value is larger because a sample of 11 gives an uncertain estimate of the standard deviation, and the t distribution's heavier tails account for that uncertainty.
One-tailed or two-tailed
| Hypothesis | Test type | Rejection region |
|---|---|---|
| The mean is different from μ₀ | Two-tailed | Both tails, α/2 each |
| The mean is greater than μ₀ | Right-tailed | Right tail, all of α |
| The mean is less than μ₀ | Left-tailed | Left tail, all of α |
Pick the direction before you see the data. Switching to a one-tailed test after seeing which way the result went doubles the real false-positive rate.
The four distributions
z (standard normal). Used when the population standard deviation is known, for large-sample tests of proportions, and as the limit of t when degrees of freedom are large. It has no degrees of freedom.
Student's t. Used for means when the standard deviation is estimated from the sample: one-sample, paired and two-sample t-tests, regression coefficients and confidence intervals for a mean. Degrees of freedom are usually n − 1 for one sample and n₁ + n₂ − 2 for two pooled samples.
Chi-square (χ²). Used for goodness-of-fit and independence tests on counts, and for tests and intervals about a single variance. Degrees of freedom come from the number of categories or table cells. The distribution is skewed right and never negative.
F. The ratio of two variances. Used in ANOVA, regression's overall F-test and comparisons of two variances. It has two degrees of freedom, numerator (df₁) and denominator (df₂), and their order matters.
How the values are computed
Tables print critical values to three decimals for a few rows. The calculator computes them directly:
- z from an accurate inverse of the normal distribution,
- t and F from the regularised incomplete beta function,
- χ² from the regularised incomplete gamma function.
It then solves for the value whose tail area equals α (or α/2) by repeated halving of an interval until the answer is accurate to the last digit a computer stores. The values agree with Excel's NORM.S.INV, T.INV.2T, CHISQ.INV.RT and F.INV.RT and with R's qnorm, qt, qchisq and qf.
From statistic to p-value
The p-value is the probability, if the null hypothesis is true, of a statistic at least as extreme as yours:
- right-tailed: area to the right of the statistic,
- left-tailed: area to the left,
- two-tailed: twice the smaller of the two, capped at 1.
For example, t = 2.5 with 15 df has 1.23% of the area to its right, so the two-tailed p-value is 0.0245. That is below 0.05 but above 0.01: significant at the 5% level, not at 1%.
For χ² and F, the "two-tailed" p-value doubles the smaller tail, the convention used for a two-sided test of a variance. Goodness-of-fit, independence and ANOVA F-tests are right-tailed: choose right-tailed for those.
Reading the reference table
The breakdown table lists the critical values at α = 0.10, 0.05, 0.025, 0.01, 0.005 and 0.001 for your distribution, degrees of freedom and test type, with your α highlighted if it is one of them. It is a printed t, χ² or F table row, computed for exactly your degrees of freedom instead of the nearest printed row.
Common mistakes
- Using z when the standard deviation came from the sample. With small samples, z gives intervals that are too narrow and tests that reject too often.
- Using α instead of α/2 for a two-tailed test, or the reverse.
- Swapping df₁ and df₂ for F. The numerator df belongs to the variance on top of the ratio.
- Using a two-tailed χ² critical value for a goodness-of-fit test, which is always right-tailed.
- Reading "not significant" as "no effect". A test with few observations can miss a real difference.
More questions
Is the critical value the same as the p-value?
No, they are two views of the same decision. The critical value is a point on the statistic's scale fixed by α before you look at the data; the p-value is an area computed from your statistic. Your statistic is beyond the critical value exactly when the p-value is below α.
Can degrees of freedom be a decimal?
Yes. Welch's two-sample t-test and some mixed models give fractional degrees of freedom. The calculator accepts any positive df; printed tables cannot, which is why people round down to the nearest row, a slightly conservative choice.
What α should I use?
0.05 is the convention in most fields, 0.01 where false positives are costly, and much smaller values in particle physics and genome-wide studies, where thousands of tests are run. Choose α before collecting data; changing it afterwards to reach significance invalidates the test.
Why is the F critical value for a two-tailed test not symmetric?
The F distribution starts at 0 and is skewed to the right, so the point with 2.5% below it and the point with 2.5% above it are not the same distance from the centre. The lower critical value of F(d₁, d₂) is the reciprocal of the upper critical value of F(d₂, d₁).
How does the critical value relate to a confidence interval?
A two-tailed critical value at α is the multiplier of the standard error in a (1 − α) confidence interval. For a mean with an estimated standard deviation and 10 degrees of freedom, the 95% interval is the mean ± 2.228 standard errors; with a known σ it would be ± 1.960.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.