Z Test Calculator

Critical value calculator

=—
—
—
Critical value calculator visualizationChosen distribution with labelled critical values and a table across significance levels

    The working, step by step

      In plain words

      Assumption check

        What Is a Critical Value?

        A critical value is the cut-off point of a test statistic's distribution that separates the rejection region from the fail-to-reject region at a chosen significance level α.

        A test statistic beyond the critical value leads to rejecting the null hypothesis. Critical values depend on 3 things: the distribution (z, t, χ² or F), the degrees of freedom and the tail. Before software, researchers read critical values from printed tables; this calculator gives exact values for any α and df. Run z-tests on your own data with the Z Test Calculator.

        How to Use the Critical Value Calculator

        To use the critical value calculator, follow 4 steps:

        1. Choose the distribution: normal (z), Student t, chi-square or F.
        2. Enter the degrees of freedom (one df for t and χ², two for F).
        3. Enter α or the confidence level.
        4. Choose two-tailed, left-tailed or right-tailed.

        The graph shades the rejection region on the chosen curve, and the table under it lists the critical value at α = 0.10, 0.05, 0.025, 0.01, 0.005 and 0.001.

        Critical Values by Distribution

        Each distribution gives its own critical values.

        Z Critical Values

        Z critical values come from the standard normal distribution and do not depend on sample size: ±1.960 at α = 0.05 two-tailed. Find z* for any confidence level with the z critical value calculator.

        T Critical Values

        A t critical value comes from Student's t distribution with df degrees of freedom, and it shrinks toward the z value as df grows. At α = 0.05 two-tailed, t* = 2.776 for df = 4, 2.131 for df = 15 and 2.042 for df = 30. William Sealy Gosset derived the t distribution in 1908 while working for the Guinness brewery.

        Chi-Square Critical Values

        A chi-square critical value comes from the χ² distribution with df degrees of freedom, and chi-square tests use the right tail. At α = 0.05, χ²* = 3.841 for df = 1, 5.991 for df = 2 and 9.488 for df = 4.

        F Critical Values

        An F critical value comes from the F distribution with numerator df₁ and denominator df₂. At α = 0.05, F* = 3.009 for df = (3, 24) and 3.682 for df = (2, 15). George W. Snedecor tabulated the distribution in 1934 and named it after Ronald A. Fisher.

        Which Distribution Should You Use?

        Pick the distribution from the test you run:

        TestDistributionDegrees of freedom
        Z-test, σ knownNormal (z)none
        One-sample or paired t-testtn − 1
        Two-sample t-test (pooled)tn₁ + n₂ − 2
        Chi-square test of independenceχ²(r − 1)(c − 1)
        Chi-square goodness of fitχ²k − 1
        One-way ANOVAF(k − 1, N − k)
        F-test for two variancesF(n₁ − 1, n₂ − 1)

        Run the matching test with the t test calculator, the chi-square calculator or the one-way ANOVA calculator.

        One-Tailed vs. Two-Tailed Critical Values

        A two-tailed test splits α between both tails, so each critical value cuts off α/2; a one-tailed test puts all of α in one tail. For t with df = 15 at α = 0.05, the two-tailed cut-offs are ±2.131 and the right-tailed cut-off is 1.753. For χ² and F, a two-tailed test has two different positive cut-offs, such as 0.415 and 2.327 for F(20, 24).

        Critical Value Approach vs. P-Value Approach

        The critical value approach and the p-value approach always reach the same decision at the same α. The critical value approach compares the test statistic with the cut-off; the p-value approach compares the p-value with α. Convert a statistic straight to a p-value with the p-value calculator.

        Examples

        There are 3 worked examples below.

        Example 1: t Critical Value, df = 15, α = 0.05

        Find the two-tailed t critical value for df = 15 at α = 0.05.

        1. Area to the left
          1 − 0.025 = 0.975
        2. Critical values
          t* = ±2.131
        3. Rule
          reject H₀ when |t| ≥ 2.131

        Example 2: Chi-Square Critical Value, df = 4

        Find the chi-square critical value for df = 4 at α = 0.05.

        1. Tail
          right tail, area 0.05
        2. Critical value
          χ²* = 9.488
        3. Rule
          reject H₀ when χ² ≥ 9.488

        Example 3: F Critical Value, df = (3, 24)

        Find the F critical value for df₁ = 3 and df₂ = 24 at α = 0.05.

        1. Tail
          right tail, area 0.05
        2. Critical value
          F* = 3.009
        3. Rule
          reject H₀ when F ≥ 3.009

        FAQs

        Why does the t critical value get smaller as degrees of freedom increase?

        The t critical value gets smaller as df increases, since a larger sample gives a more reliable estimate of σ and the t distribution's tails thin out. At α = 0.05 two-tailed, t* falls from 12.706 at df = 1 to 2.228 at df = 10 and 1.984 at df = 100, approaching z* = 1.960.

        Why are chi-square and F tests usually right-tailed?

        Chi-square and F tests are right-tailed, since both statistics grow as the data depart from H₀. A chi-square of 0 means a perfect fit, and an F of 1 means equal variances, so only large values count as evidence against H₀.

        What degrees of freedom do I use for a two-sample t-test?

        Use df = n₁ + n₂ − 2 for the pooled t-test and the Welch–Satterthwaite df for Welch's t-test. Welch's df is usually a decimal, such as 25.27, and falls between the smaller n − 1 and n₁ + n₂ − 2.

        How do I find critical values in Excel?

        Use T.INV.2T, CHISQ.INV.RT and F.INV.RT in Excel or Google Sheets. =T.INV.2T(0.05,15) returns 2.131, =CHISQ.INV.RT(0.05,4) returns 9.488 and =F.INV.RT(0.05,3,24) returns 3.009. In R, use qt, qchisq and qf.

        What if my df isn't in a printed table?

        Use this calculator, which handles any df, including decimals. Printed tables skip values such as df = 37 or 45, and the old advice was to round df down. The calculator gives the exact value, so no rounding is needed. To state the region in z and x̄ units, use the rejection region calculator.