z-interval vs t-interval: when to use each
By Jude Wallis · Published
Use a z-interval for a proportion, where the standard error comes from p-hat alone; use a t-interval for a mean, where the population standard deviation is unknown and estimated by s, so the t distribution absorbs the extra uncertainty.
In the Fall 2026 AP Statistics course, the z-interval for a proportion is built in Unit 3 topic 3.3, and the t-interval for a mean is built in Unit 4 topic 4.2 because the population standard deviation is unknown; this comparison spans both units.
What a z-interval is
A z-interval is a confidence interval built with critical values from the standard normal distribution. In AP Statistics it is the interval for a population proportion , using , where (p-hat) is the sample proportion and is the normal critical value. There is no separate spread parameter to estimate, because the standard error of a proportion depends only on and the sample size . That is why the normal distribution applies directly.
What a t-interval is
A t-interval is a confidence interval built with critical values from a t distribution. In AP Statistics it is the interval for a population mean , using , where (x-bar) is the sample mean, is the sample standard deviation, and has degrees of freedom. Because the population standard deviation is unknown, you estimate it with , and that added uncertainty makes the t distribution's tails heavier than the normal. Heavier tails give a larger critical value, so a t-interval is slightly wider than a z-interval at the same confidence level.
z-interval vs t-interval at a glance
The parameter you are estimating decides which interval you build.
| Feature | z-interval | t-interval |
|---|---|---|
| Parameter | Population proportion | Population mean |
| Critical value | from the normal | from the t distribution |
| Standard error | ||
| Degrees of freedom | None | |
| Why | SE depends only on | unknown, estimated by |
| AP unit | Unit 3 | Unit 4 |
When to use which
Ask what kind of parameter you are estimating. If the data are categorical and summarized as a proportion, build a z-interval. If the data are quantitative and summarized as a mean, build a t-interval, because you almost never know the true . The tie-breaker is the same one that governs z-tests and t-tests: proportions use z, and means use t; see t-test vs z-test.
The classic mix-up and how to avoid it
The usual mistake is using a normal critical value for a mean when is unknown. That produces an interval that is too narrow, understating the uncertainty, especially at small sample sizes where is noticeably larger than . A second slip is forgetting the degrees of freedom and reading the wrong row of the t-table. Avoid both by naming the parameter first: a proportion means , and a mean means with degrees of freedom.
A t-interval for a mean, and why z would mislead
A random sample of has and . Build a confidence interval for the population mean, then show what using a z critical value instead would do.
Standard error of the mean: .
Degrees of freedom: . The t critical value for confidence with 15 degrees of freedom is .
Margin of error: .
Confidence interval: , which is .
Using by mistake gives a margin of only and the narrower interval , which understates the true uncertainty from estimating .
The 95% t-interval is ; the incorrect z-interval is too narrow because it ignores the extra uncertainty of estimating with .
Frequently asked questions
When would you ever use a z-interval for a mean?
Only if the population standard deviation is known, which almost never happens with real data. Because is nearly always unknown and estimated by , AP Statistics builds intervals for a mean with the t distribution.
Why is a t-interval wider than a z-interval?
The t distribution has heavier tails than the normal, so its critical value is larger than the matching at the same confidence level. That larger multiplier makes the margin of error and the interval wider, which honestly reflects the uncertainty of estimating .