What the Z Test Graph Shows
The z test graph shows the standard normal curve with the rejection regions shaded in the tails, the critical values marked, the p-value area hatched and the z statistic drawn as a gold needle.
One picture answers the decision question: a needle inside a red tail rejects H₀, and a needle inside the central region fails to reject H₀. The graph updates live as you change z, the tail or α. Run the full test with a confidence interval and effect size in the Z Test Calculator.
Parts of the Graph
The z test graph has 5 parts.
The Standard Normal Curve
The standard normal curve is the bell-shaped distribution of the z statistic when H₀ is true, with mean 0 and standard deviation 1. Carl Friedrich Gauss described the curve in 1809, and Abraham de Moivre found the same shape as a limit of the binomial distribution in 1733. The total area under the curve equals 1.
Critical Value Lines
Critical value lines are the dashed cut-offs (z*) that separate the rejection region from the rest of the curve. At α = 0.05, the lines sit at ±1.96 for a two-tailed test and at 1.645 for a one-tailed test. Small ticks on the axis mark the cut-offs for α = 0.10, 0.05 and 0.01 at once.
Rejection Region (Shaded Tails)
The rejection region is the red tail area beyond the critical values, and the red area always equals α. A two-tailed test splits α into two tails of α/2 each, and a one-tailed test puts all of α in one tail.
Test Statistic Marker
The test statistic marker is the gold needle at your z value. In "Mean and SD" mode, a second axis under the curve shows raw values, and in "Sample mean, σ and n" mode it shows sample means.
P-Value Area
The p-value area is the hatched region beyond the z statistic. For a two-tailed test, the hatching covers both tails beyond |z|. The hatched area falls inside the red area exactly when p ≤ α.
How to Use the Z Test Graph
To make a z test graph, follow 5 steps:
- Choose "A z statistic", "Mean and SD" or "Sample mean, σ and n".
- Enter z, or enter μ, σ and a test value x, or enter x̄, σ, n and μ₀.
- Pick a left-tailed, two-tailed or right-tailed test.
- Set α with the buttons (0.10, 0.05, 0.025, 0.01, 0.005, 0.001) or the slider.
- Drag across the graph to move z, then download the graph.
"Mean and SD" mode draws any normal distribution in its own units. For μ = 0 and σ = 1.7 at α = 0.05 two-tailed, the critical values sit at x = ±3.33 (z = ±1.96). For IQ scores with μ = 100 and σ = 15, a test value of 130 gives z = 2.00 and lands inside the right rejection region of a two-tailed test.
Reading Two-Tailed, Left-Tailed and Right-Tailed Graphs
Each tail type has its own shading pattern:
| Test | Shaded rejection region | Critical value at α = 0.05 | P-value area |
|---|---|---|---|
| Two-tailed | both tails, α/2 each | ±1.960 | both tails beyond ±|z| |
| Left-tailed | left tail only | −1.645 | left of z |
| Right-tailed | right tail only | +1.645 | right of z |
How the Significance Level Changes the Graph
A smaller α moves the critical values outward and shrinks the red rejection region. At α = 0.10 the two-tailed cut-offs are ±1.645, at α = 0.05 they are ±1.960 and at α = 0.01 they are ±2.576. The fail-to-reject region in the middle grows from 90% to 95% to 99% of the area. The curve itself never changes.
P-Value Area vs. Rejection Region on the Graph
The rejection region depends only on α and the tail, while the p-value area depends on your z statistic. The two areas give the same decision: reject H₀ when the hatched p-value area is smaller than or equal to the red α area, which happens when the needle sits inside the red region. List the cut-offs in notation form with the rejection region calculator, or compute the hatched area alone with the z score to p-value calculator.
Z Test Graph Examples
There are 2 worked examples below.
Example 1: z = 2.3, Two-Tailed, α = 0.05
Plot z = 2.3 for a two-tailed test at α = 0.05.
- Critical values±1.960
- Rejection region2.5% in each tail, 5% in total
- P-value area2 × P(Z ≥ 2.3) = 0.0214
- Graphthe needle sits 0.34 past the upper critical line, inside the red region
- Decision0.0214 ≤ 0.05, so reject H₀.
Example 2: z = −1.2, Left-Tailed, α = 0.10
Plot z = −1.2 for a left-tailed test at α = 0.10.
- Critical value−1.282
- Rejection region10% in the left tail
- P-value areaP(Z ≤ −1.2) = 0.1151
- Graphthe needle sits 0.08 short of the critical line, inside the central region
- Decision0.1151 > 0.10, so fail to reject H₀.
Saving or Exporting the Graph
To save the z test graph, select "Download PNG" for a 1800 × 840 pixel image or "Download SVG" for a vector file. PNG files suit slides and documents, and SVG files stay sharp at any size in reports and posters.
FAQs
Why is the curve centred at 0?
The curve is centred at 0, since the z statistic equals 0 when the sample result matches H₀ exactly. Standardizing removes the original units: every z-test, whatever the data, uses the same curve with mean 0 and SD 1.
Why are both tails the same size in a two-tailed test?
Both tails are the same size, since a two-tailed test treats a difference in either direction as equally important. α splits evenly: 0.025 in each tail at α = 0.05. The normal curve is symmetric, so the cut-offs are ±1.96.
What does it mean if my z statistic falls off the edge of the chart?
A z statistic off the edge of the chart means the result is extreme and the p-value is very small. The chart widens up to ±9, and an arrow on the label marks values beyond that range. z = 10 gives a two-tailed p-value below 10⁻²².
Can I graph a t-distribution instead?
No, the z test graph draws the standard normal curve only. For unknown σ and small samples, the t distribution has heavier tails and larger critical values. The t test calculator draws the t curve against the normal curve.
Can I use the graph in homework or a report?
Yes, you can use the graph in homework, reports and slides. Download the PNG or SVG and add a caption with the tail, α, z and p-value, such as "Two-tailed z-test, α = 0.05, z = 2.30, p = .021".