User Rating 0.0
Total Usage 0 times
Between 0 and 1 (exclusive)
Positive integer ≥ 1
Quick presets:
Is this tool helpful?

Your feedback helps us improve.

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.

critical value z-score t-distribution chi-square f-distribution hypothesis testing significance level statistics calculator p-value

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 α:

P(X c) = α c = F−1(1 α)

For a left-tailed test:

P(X c) = α c = F−1(α)

For a two-tailed test, the area α is split equally into both tails:

clower = F−1(α2) cupper = F−1(1 α2)

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

DistributionTypical Useα = 0.10α = 0.05α = 0.025α = 0.01α = 0.005α = 0.001
Z (right-tail)Large-sample proportion/mean tests1.28161.64491.96002.32632.57583.0902
t (df=5, right)Small-sample mean test1.47592.01502.57063.36494.03225.8934
t (df=10, right)Small-sample mean test1.37221.81252.22812.76383.16934.1437
t (df=20, right)Small-sample mean test1.32531.72472.08602.52802.84533.5518
t (df=30, right)Moderate-sample mean test1.31041.69732.04232.45732.75003.3852
χ2 (df=1, right)Goodness-of-fit, independence2.70553.84155.02396.63497.879410.8276
χ2 (df=5, right)Goodness-of-fit, independence9.236411.070512.832515.086316.749620.5150
χ2 (df=10, right)Goodness-of-fit, independence15.987218.307020.483223.209325.188229.5883
χ2 (df=20, right)Goodness-of-fit, independence28.412031.410434.169637.566239.996845.3147
F (df1=1, df2=10, right)ANOVA, regression F-test3.28504.96466.936710.044312.826521.0398
F (df1=2, df2=10, right)ANOVA2.92454.10285.45647.55949.427014.9098
F (df1=5, df2=20, right)ANOVA2.15822.71093.28914.10274.76166.4612
F (df1=3, df2=30, right)ANOVA2.27582.92233.58944.50975.23887.0527
F (df1=10, df2=50, right)Multi-factor ANOVA1.74592.02612.30552.69852.99303.6710

Frequently Asked Questions

A one-tailed test places the entire rejection region α in one tail of the distribution. A right-tailed test rejects when the test statistic exceeds c = F⁻¹(1 − α); a left-tailed test rejects below c = F⁻¹(α). A two-tailed test splits α equally, placing α/2 in each tail, producing two critical values. For example, a two-tailed Z test at α = 0.05 gives critical values of ±1.9600, while a one-tailed test at the same α gives +1.6449 (right) or −1.6449 (left).
Use the t-distribution when the population standard deviation is unknown and estimated from the sample. With small samples (n < 30), the t-distribution has heavier tails than the standard normal, producing larger critical values that account for the additional estimation uncertainty. As degrees of freedom increase beyond approximately 120, the t-distribution converges to the Z-distribution. At df = ∞, they are identical.
The Chi-Square distribution is right-skewed with its shape governed entirely by df. As df increases, the distribution shifts rightward and becomes more symmetric (approaching normal by the Central Limit Theorem). For a fixed α = 0.05, the right-tail critical value increases roughly linearly with df: χ²(df=1) ≈ 3.84, χ²(df=10) ≈ 18.31, χ²(df=50) ≈ 67.50. Each additional degree of freedom adds approximately 1.0 to the critical value at moderate df.
In one-way ANOVA, the F-statistic equals the ratio of between-group variance to within-group variance: F = MS_between / MS_within. The critical value F_crit depends on df1 (number of groups minus 1) and df2 (total observations minus number of groups). If the computed F exceeds F_crit at your chosen α, you reject the null hypothesis that all group means are equal. The F-distribution is always right-tailed in ANOVA; a left-tail critical value is used only in specialized variance ratio tests.
The choice of α depends on the cost of a Type I error (false positive). In medical trials, α = 0.01 or 0.005 is common because falsely approving an ineffective drug has severe consequences. In social sciences, α = 0.05 is conventional. In particle physics, the 5σ standard corresponds to α ≈ 2.87 × 10⁻⁷. Some researchers advocate moving the default from 0.05 to 0.005 (Benjamin et al., 2018) to reduce irreproducibility. Always report exact p-values alongside critical value comparisons.
Textbook tables are truncated to 3-4 decimal places due to print constraints and were computed from approximations available decades ago. This calculator uses Acklam's rational approximation for the normal distribution (relative error < 1.15 × 10⁻⁹) and continued fraction expansions for Beta and Gamma functions with convergence to machine precision. The extra digits matter when computing p-values near decision boundaries or when cascading calculations (e.g., Bonferroni-corrected thresholds for multiple comparisons) amplify rounding errors.
Yes. Select "Left-tailed" to find the value below which a specified proportion α of the χ² distribution falls. Left-tail χ² critical values are used in confidence interval construction for population variance: the lower bound uses χ²(α/2) and the upper bound uses χ²(1 − α/2). For example, with df = 10 and α = 0.05 (left-tail), the critical value is approximately 3.9403, meaning only 5% of the χ² distribution with 10 degrees of freedom lies below this value.