AP Stats Confidence Intervals: Explained With Examples
AP Stats confidence intervals explained: the formula, conditions, worked examples for proportions and means, and how to interpret an interval for full credit.
A confidence interval in AP Statistics is a range of plausible values for a population parameter, built as point estimate ± margin of error. A 95% confidence level means that if you repeated the sampling process many times, about 95% of the intervals you built would capture the true parameter. On the exam, full credit depends on four things: naming the procedure, checking conditions, doing the calculation, and interpreting in context.
Below, you will find the formula, worked examples for proportions and means, and the exact interpretation language graders want.
What is the general formula for a confidence interval?
Every confidence interval in AP Stats has the same structure:
statistic ± (critical value) × (standard error of the statistic)
- The statistic is your point estimate, such as a sample proportion p̂ or a sample mean x̄.
- The critical value (z* or t*) depends on the confidence level.
- The standard error measures how much the statistic typically varies from sample to sample.
- The critical value times the standard error is the margin of error.
These formulas appear on the provided formula sheet, so focus your energy on choosing the right one and using it correctly. Our AP Stats formula sheet guide explains what every symbol means.
Common z* critical values
| Confidence level | z* |
|---|---|
| 90% | 1.645 |
| 95% | 1.960 |
| 99% | 2.576 |
For means, you use t* instead, which depends on degrees of freedom (n − 1 for one sample) and is slightly larger than z*, especially for small samples.
What are the four steps for a confidence interval?
The AP exam rewards a consistent structure. Use the State–Plan–Do–Conclude framework:
- State: Identify the parameter in context and the confidence level.
- Plan: Name the procedure (for example, "one-sample z-interval for p") and check conditions.
- Do: Calculate the interval, showing the formula with numbers substituted.
- Conclude: Interpret the interval in context.
What conditions do you need to check?
Conditions are where many students lose points. Check them explicitly, with numbers, in context.
| Condition | Proportions | Means |
|---|---|---|
| Random | Data come from a random sample or randomized experiment | Same |
| 10% (sampling without replacement) | n ≤ 10% of the population | Same |
| Normal/Large Counts | n·p̂ ≥ 10 and n(1 − p̂) ≥ 10 | Population is approximately normal, or n ≥ 30, or the sample data show no strong skew or outliers |
Each condition has a purpose. Random allows you to generalize. The 10% condition lets you treat observations as independent. The Normal condition justifies using z* or t* critical values.
Worked example: confidence interval for a proportion
A random sample of 400 high school juniors at a large district finds that 248 plan to take at least one AP exam. Construct a 95% confidence interval for the true proportion.
State. p = the true proportion of all juniors in the district who plan to take at least one AP exam. 95% confidence.
Plan. One-sample z-interval for p.
- Random: the problem states a random sample.
- 10%: 400 is less than 10% of all juniors in a large district.
- Large Counts: 248 ≥ 10 and 152 ≥ 10.
Do. p̂ = 248/400 = 0.62.
SE = √(0.62 × 0.38 / 400) = √(0.000589) ≈ 0.0243
Margin of error = 1.96 × 0.0243 ≈ 0.0476
Interval: 0.62 ± 0.0476 → (0.572, 0.668)
Conclude. We are 95% confident that the interval from 0.572 to 0.668 captures the true proportion of juniors in this district who plan to take at least one AP exam.
Worked example: confidence interval for a mean
A random sample of 25 students records nightly study time. The sample mean is 84 minutes with a standard deviation of 20 minutes, and a dotplot shows no strong skew or outliers. Build a 90% confidence interval for the mean.
Plan. One-sample t-interval for μ. Random sample stated; 25 is less than 10% of all students; the sample shows no strong skew or outliers, so the Normal condition is reasonable even though n < 30.
Do. df = 24, so t* ≈ 1.711.
SE = 20/√25 = 4
Margin of error = 1.711 × 4 ≈ 6.84
Interval: 84 ± 6.84 → (77.16, 90.84) minutes
Conclude. We are 90% confident that the interval from about 77.2 to 90.8 minutes captures the true mean nightly study time for students at this school.
How do you interpret a confidence interval correctly?
There are two different interpretations, and the exam may ask for either.
Interpreting the interval:
We are [C]% confident that the interval from [low] to [high] captures the true [parameter in context].
Interpreting the confidence level:
If we took many random samples of the same size and built a [C]% interval from each, about [C]% of those intervals would capture the true [parameter in context].
Common interpretation mistakes
- Saying "there is a 95% probability the true proportion is in this interval." Once computed, a specific interval either captures the parameter or it does not.
- Talking about the sample statistic instead of the population parameter. You are always estimating the population value.
- Saying "95% of the data fall in this interval." A confidence interval says nothing about individual values.
What affects the width of a confidence interval?
Margin of error controls width, and two levers drive it:
| Change | Effect on margin of error |
|---|---|
| Increase confidence level | Wider (larger critical value) |
| Increase sample size n | Narrower (smaller standard error) |
| More variability in the data | Wider |
Because n sits under a square root, you must quadruple the sample size to cut the margin of error in half. This is a classic multiple-choice question.
Finding the sample size for a desired margin of error
To get a margin of error of at most 0.03 at 95% confidence for a proportion with no prior estimate, use p̂ = 0.5 (it gives the largest possible standard error):
1.96 × √(0.5 × 0.5 / n) ≤ 0.03
√(0.25/n) ≤ 0.01531 → 0.25/n ≤ 0.0002343 → n ≥ 1067.1
Always round up, so n = 1,068.
How do confidence intervals connect to hypothesis tests?
A two-sided test at significance level α and a (1 − α) confidence interval tell a consistent story for means. If the hypothesized value falls outside a 95% interval, a two-sided test at α = 0.05 would reject the null; if it falls inside, it would not. For proportions the link is approximately true, since the two procedures use slightly different standard errors. The interval also gives you more information: a set of plausible values, not just a yes-or-no decision. For the full testing procedure, see our guide to AP Stats hypothesis testing.
If you want a one-page reference for every interval and test, our AP Statistics inference cheat sheet lays them out side by side.
How Ivystar can help
Confidence intervals are mechanical once you have a reliable structure, and our tutors build that structure through targeted FRQ practice. Ivystar's AP Exam Prep program comes with a "Get an A or we work for free" guarantee on your class grade, and 91% of our AP students score a 5. Check your progress with the AP Statistics score calculator, then book a free strategy call.
Frequently asked questions
When do you use z* versus t* in AP Stats?+
Use z* for confidence intervals about proportions. Use t* for intervals about means, because you estimate the population standard deviation with the sample standard deviation.
Why use p-hat = 0.5 when finding a sample size?+
When you have no prior estimate, 0.5 gives the largest possible value of p(1 - p), so the resulting sample size guarantees the margin of error regardless of the true proportion.
Does a 95% confidence interval mean there is a 95% chance the parameter is inside it?+
No. The 95% describes the long-run success rate of the method. Any single computed interval either captures the parameter or it does not.
Do I need to show the formula on the AP exam if I use my calculator?+
Naming the procedure and checking conditions is essential, and showing the formula with values substituted protects you if a calculation error occurs. Calculator syntax alone is not enough.
Get a plan built for your student
Book a free 20-minute strategy call with Ivystar's founder. Get an A — or we work for free.