Z Test Calculator

Rejection region calculator

=—
—
—
Rejection region calculator visualizationAligned z and sample-mean number lines showing reject and fail-to-reject regions

    The working, step by step

      In plain words

      Assumption check

        What Is a Rejection Region?

        A rejection region (critical region) is the set of test-statistic values that lead to rejecting the null hypothesis at a chosen significance level α.

        The rejection region sits in the tail or tails of the test statistic's distribution, and its total area equals α. A test statistic inside the region means the result is too extreme to fit H₀. The idea comes from Jerzy Neyman and Egon Pearson's 1933 framework for hypothesis testing. Run complete z-tests with the Z Test Calculator.

        How to Write a Rejection Region (Notation)

        There are 3 ways to write a rejection region, one for each tail.

        Two-Tailed: z < −zα/2 or z > zα/2

        At α = 0.05, the rejection region is z < −1.96 or z > 1.96, often written |z| > 1.96.

        Left-Tailed: z < −zα

        At α = 0.05, the rejection region is z < −1.645.

        Right-Tailed: z > zα

        At α = 0.05, the rejection region is z > 1.645.

        How to Use the Rejection Region Calculator

        To use the rejection region calculator, follow 4 steps:

        1. Enter the hypothesized mean (μ₀), the population standard deviation (σ) and the sample size (n).
        2. Choose the tail.
        3. Set α.
        4. Enter an observed sample mean (optional) to check it against the region.

        The graph draws 2 aligned number lines, one in z units and one in sample-mean units, with the reject and fail-to-reject bands. The calculator writes the region in both forms, such as "z ≤ −1.960 or z ≥ 1.960" and "x̄ ≤ 95.84 or x̄ ≥ 104.16".

        Rejection Regions for Z and T Tests

        Z-test rejection regions use fixed z cut-offs, while t-test rejection regions use t cut-offs that depend on the degrees of freedom.

        TestαTwo-tailed regionRight-tailed region
        z0.05|z| > 1.960z > 1.645
        t, df = 120.05|t| > 2.179t > 1.782
        t, df = 120.01|t| > 3.055t > 2.681

        This calculator handles z-tests. Find t, chi-square and F cut-offs with the critical value calculator.

        The Decision Rule: When to Reject H₀

        The decision rule says: reject H₀ when the test statistic falls inside the rejection region, and fail to reject H₀ otherwise. For a sample mean, convert the z cut-offs to x̄ cut-offs with x̄* = μ₀ ± z* × σ/√n. For μ₀ = 100, σ = 15 and n = 50, the two-tailed cut-offs at α = 0.05 are 100 ± 1.96 × 2.1213, giving 95.84 and 104.16.

        Rejection Region and Type I Error

        The area of the rejection region equals the probability of a Type I error, rejecting a true H₀. At α = 0.05, a true null hypothesis gets rejected in 5% of samples. Shrinking the rejection region to α = 0.01 cuts Type I errors to 1% but raises the chance of a Type II error, missing a real effect.

        Examples

        There are 2 worked examples below.

        Example 1: Two-Tailed Z-Test, α = 0.05

        μ₀ = 100, σ = 15, n = 50, two-tailed, α = 0.05.

        1. Critical values
          z* = ±1.960
        2. Region in z units
          z < −1.960 or z > 1.960
        3. Standard error
          SE = 15 / √50 = 2.1213
        4. Region in x̄ units
          x̄ < 95.84 or x̄ > 104.16
        5. Check
          a sample mean of 104.2 gives z = 1.98, inside the region, so reject H₀.

        Example 2: Left-Tailed T-Test, df = 12, α = 0.01

        A left-tailed one-sample t-test with 13 observations (df = 12) at α = 0.01.

        1. Critical value
          t* = −t₀.₀₁,₁₂ = −2.681
        2. Region
          t < −2.681
        3. Check
          t = −2.9 falls inside the region, so reject H₀; t = −2.1 falls outside, so fail to reject H₀.

        Seeing the Rejection Region on a Graph

        The rejection region shows up as the shaded tails of the bell curve. Plot any z statistic against the shaded region, then download the picture, with the z test graph.

        FAQs

        Is the rejection region the same as the critical region?

        Yes, the rejection region and the critical region are the same thing. Both names describe the test-statistic values that lead to rejecting H₀. The complement is the acceptance region, more accurately called the fail-to-reject region.

        What if my test statistic lands exactly on the critical value?

        Reject H₀ when the test statistic lands exactly on the critical value, since the region includes its boundary (p = α). With continuous data, an exact tie is extremely rare. Report the exact p-value either way.

        Does a bigger sample make the rejection region bigger?

        No, a bigger sample does not change the rejection region in z units. The z cut-offs depend only on α and the tail. In sample-mean units the region moves closer to μ₀, since the standard error σ/√n shrinks, so smaller differences reach the region.

        Do the rejection region and p-value methods always agree?

        Yes, the rejection region and p-value methods always agree at the same α. A test statistic inside the rejection region always has p ≤ α, and one outside always has p > α.

        How do I choose the right tail for my test?

        Choose the tail from the alternative hypothesis, before looking at the data. Use a two-tailed region for H₁: μ ≠ μ₀, a left-tailed region for H₁: μ < μ₀ and a right-tailed region for H₁: μ > μ₀. Write the hypotheses and see the decision with the hypothesis test calculator, and look up z* for any α with the z critical value calculator.