Critical Value Calculator
Calculate critical values for Z, t, Chi-Square, and F distributions. Enter significance level and degrees of freedom for precise hypothesis testing.
About
Hypothesis testing hinges on comparing a test statistic against a critical value derived from the relevant sampling distribution. An incorrect critical value means either a false rejection of a true null hypothesis (Type I error at rate α) or a failure to detect a real effect. This calculator implements inverse cumulative distribution functions for four core distributions: Standard Normal (Z), Student's t, Chi-Square (χ2), and Fisher's F. It supports one-tailed (left or right) and two-tailed tests. All computations use numerical algorithms (Acklam's rational approximation for Z, regularized incomplete Beta and Gamma functions for t, χ2, and F) with iterative refinement to at least 8 significant digits.
Limitations: the t and F distributions assume normally distributed populations. The χ2 approximation loses accuracy below df = 1 combined with extreme α values (< 0.0001). For practical research work, confirm results against published tables (e.g., NIST/SEMATECH) when operating near distribution tails beyond the 99.99% confidence level.
Formulas
The critical value c satisfies the equation where the cumulative distribution function equals the target probability. For a right-tailed test at significance level α:
For a left-tailed test:
For a two-tailed test, the area α is split equally into both tails:
The inverse standard normal Φ−1(p) uses Acklam's rational approximation with six coefficients per numerator and denominator polynomial, yielding maximum relative error < 1.15 × 10−9. The inverse t-distribution leverages the relationship t = sign(p − 0.5) ⋅ √df ⋅ 1 − Ix−1Ix−1 where Ix−1 is the inverse regularized incomplete Beta function I−1(df2, 12; q). The χ2 inverse uses χ2 = 2 ⋅ P−1(df2, p) where P−1 is the inverse regularized lower incomplete Gamma function.
Where α = significance level, df = degrees of freedom, F−1 = inverse CDF of the chosen distribution, p = cumulative probability, Ix = regularized incomplete Beta function, P = regularized lower incomplete Gamma function.
Reference Data
| Distribution | Typical Use | α = 0.10 | α = 0.05 | α = 0.025 | α = 0.01 | α = 0.005 | α = 0.001 |
|---|---|---|---|---|---|---|---|
| Z (right-tail) | Large-sample proportion/mean tests | 1.2816 | 1.6449 | 1.9600 | 2.3263 | 2.5758 | 3.0902 |
| t (df=5, right) | Small-sample mean test | 1.4759 | 2.0150 | 2.5706 | 3.3649 | 4.0322 | 5.8934 |
| t (df=10, right) | Small-sample mean test | 1.3722 | 1.8125 | 2.2281 | 2.7638 | 3.1693 | 4.1437 |
| t (df=20, right) | Small-sample mean test | 1.3253 | 1.7247 | 2.0860 | 2.5280 | 2.8453 | 3.5518 |
| t (df=30, right) | Moderate-sample mean test | 1.3104 | 1.6973 | 2.0423 | 2.4573 | 2.7500 | 3.3852 |
| χ2 (df=1, right) | Goodness-of-fit, independence | 2.7055 | 3.8415 | 5.0239 | 6.6349 | 7.8794 | 10.8276 |
| χ2 (df=5, right) | Goodness-of-fit, independence | 9.2364 | 11.0705 | 12.8325 | 15.0863 | 16.7496 | 20.5150 |
| χ2 (df=10, right) | Goodness-of-fit, independence | 15.9872 | 18.3070 | 20.4832 | 23.2093 | 25.1882 | 29.5883 |
| χ2 (df=20, right) | Goodness-of-fit, independence | 28.4120 | 31.4104 | 34.1696 | 37.5662 | 39.9968 | 45.3147 |
| F (df1=1, df2=10, right) | ANOVA, regression F-test | 3.2850 | 4.9646 | 6.9367 | 10.0443 | 12.8265 | 21.0398 |
| F (df1=2, df2=10, right) | ANOVA | 2.9245 | 4.1028 | 5.4564 | 7.5594 | 9.4270 | 14.9098 |
| F (df1=5, df2=20, right) | ANOVA | 2.1582 | 2.7109 | 3.2891 | 4.1027 | 4.7616 | 6.4612 |
| F (df1=3, df2=30, right) | ANOVA | 2.2758 | 2.9223 | 3.5894 | 4.5097 | 5.2388 | 7.0527 |
| F (df1=10, df2=50, right) | Multi-factor ANOVA | 1.7459 | 2.0261 | 2.3055 | 2.6985 | 2.9930 | 3.6710 |