Confidence Interval Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Confidence Interval.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A range of values, computed from sample data, that is likely to contain the true population parameter with a specified level of confidence.

You can't know the exact average height of all Americans, but after measuring 200 people you can say: 'I'm 95%95\% confident the true average is between 167 cm and 173 cm.' It's like casting a netβ€”wider nets catch the true value more often, but narrower nets are more useful. A 95%95\% confidence level means that if you repeated this process 100 times, about 95 of those nets would contain the true value.

Read the full concept explanation β†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: A confidence interval is a range from sample data that likely contains the true population value, at a stated confidence level.

Common stuck point: The procedure for confidence interval is the easy part; the trap is saying '95% chance the true value is in THIS interval'. Asking "Am I building a range from a sample that likely contains the true population value at a stated confidence?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Am I building a range from a sample that likely contains the true population value at a stated confidence?

Worked Examples

Example 1

medium
A sample of n=64n=64 has xˉ=85\bar{x}=85 and s=16s=16. Construct a 95% confidence interval for the population mean.

Answer

95% CI: (81.08,88.92)(81.08, 88.92). We are 95% confident the population mean is in this interval.

First step

1
Standard error: SE=sn=1664=168=2SE = \frac{s}{\sqrt{n}} = \frac{16}{\sqrt{64}} = \frac{16}{8} = 2

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan β€” every worked solution, all subjects

Example 2

hard
Compare 90% and 99% confidence intervals for xˉ=100\bar{x}=100, s=15s=15, n=36n=36. Calculate both and explain the trade-off between confidence and precision.

Example 3

hard
A factory needs a 95%95\% CI for mean bolt length with E≀0.5mmE \le 0.5\text{mm}. Known Οƒ=4mm\sigma = 4\text{mm}, zβˆ—=1.96z^*=1.96. Smallest nn?

Example 4

challenge
A 95%95\% CI for a mean is (80,90)(80, 90) with n=64n=64. Estimate Οƒ\sigma assuming zβˆ—=1.96z^* = 1.96.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
A 95% CI for a population mean is (42,58)(42, 58). Find the sample mean xˉ\bar{x} and the margin of error EE.

Example 2

hard
To achieve a margin of error of E=3E=3 with 95% confidence, given Οƒ=20\sigma=20, find the required sample size nn.

Example 3

easy
A sample gives point estimate xˉ=50\bar{x} = 50 with margin of error 44. Write the 95%95\% confidence interval.

Example 4

easy
A 95%95\% CI for a mean is (46,54)(46, 54). What is the point estimate (the center)?

Example 5

easy
A 95%95\% CI is (46,54)(46, 54). What is the margin of error?

Example 6

easy
True or false: increasing the confidence level from 90%90\% to 99%99\% (same data) makes the interval wider.

Example 7

easy
True or false: increasing the sample size nn (same confidence) narrows the interval.

Example 8

easy
Which critical value zβˆ—z^* corresponds to a 95%95\% confidence interval?

Example 9

easy
Should you use a z-interval or a t-interval when Οƒ\sigma is unknown and nn is small?

Example 10

easy
A 90%90\% CI for a proportion is (0.40,0.50)(0.40, 0.50). What is the point estimate p^\hat{p}?

Example 11

medium
A sample has xΛ‰=100\bar{x} = 100, known Οƒ=15\sigma = 15, n=36n = 36. Construct the 95%95\% confidence interval (zβˆ—=1.96z^* = 1.96).

Example 12

medium
A sample has xΛ‰=200\bar{x} = 200, Οƒ=40\sigma = 40, n=64n = 64. Find the 90%90\% CI (zβˆ—=1.645z^* = 1.645).

Example 13

medium
A 95%95\% CI for the mean is (95.1,104.9)(95.1, 104.9). A colleague claims 'there is a 95%95\% probability the true mean lies in this interval.' What is the correct interpretation?

Example 14

medium
A 95%95\% CI for the difference in means is (βˆ’2,6)(-2, 6). Does this suggest a significant difference at Ξ±=0.05\alpha = 0.05?

Example 15

medium
To halve the width of a 95%95\% CI for a mean (same Οƒ\sigma, same confidence), by what factor must nn increase?

Example 16

medium
A poll of n=400n = 400 finds p^=0.50\hat{p} = 0.50. Find the 95%95\% CI (zβˆ—=1.96z^* = 1.96) using SE =p^(1βˆ’p^)/n= \sqrt{\hat{p}(1-\hat{p})/n}.

Example 17

medium
A 99%99\% CI (zβˆ—=2.576z^* = 2.576) uses xΛ‰=60\bar{x} = 60, Οƒ=10\sigma = 10, n=25n = 25. Find the interval.

Example 18

challenge
Two 95%95\% CIs are computed from the same data: one for the mean of single observations and one for the sample mean. Why is the CI for the sample mean narrower, and by what factor for n=25n=25?

Example 19

challenge
A 95%95\% CI for ΞΌ\mu is (48,52)(48, 52). A two-sided test of H0:ΞΌ=50H_0: \mu = 50 at Ξ±=0.05\alpha = 0.05 would reach what conclusion, and why?

Example 20

challenge
A researcher wants a 95%95\% CI for a mean with margin of error at most 11, where Οƒ=8\sigma = 8. What is the smallest sample size nn (zβˆ—=1.96z^* = 1.96)?

Example 21

medium
A sample has xΛ‰=80\bar{x} = 80, known Οƒ=12\sigma = 12, n=144n = 144. Build the 95%95\% CI (zβˆ—=1.96z^* = 1.96).

Example 22

medium
A 95%95\% CI for a proportion is (0.30,0.42)(0.30, 0.42). State the point estimate and the margin of error.

Example 23

easy
A 95%95\% CI for ΞΌ\mu is (20,30)(20, 30). State the point estimate and the margin of error.

Example 24

easy
True or false: a CI is a statement about the population parameter, not about future samples.

Example 25

easy
A 95%95\% CI for ΞΌ\mu is (8,12)(8, 12). What is the width of the interval?

Example 26

easy
True or false: holding everything else constant, a smaller sample size yields a wider CI.

Example 27

easy
A poll reports a margin of error of Β±3%\pm 3\% at 95%95\% confidence. The estimate is p^=0.47\hat{p}=0.47. Write the CI.

Example 28

medium
Compute a 95%95\% CI for ΞΌ\mu given xΛ‰=50\bar{x}=50, Οƒ=10\sigma=10, n=100n=100, zβˆ—=1.96z^*=1.96.

Example 29

medium
Compute a 90%90\% CI for ΞΌ\mu: xΛ‰=72\bar{x}=72, Οƒ=18\sigma=18, n=81n=81, zβˆ—=1.645z^*=1.645.

Example 30

medium
For a proportion with p^=0.6\hat{p}=0.6, n=100n=100, build a 95%95\% CI (zβˆ—=1.96z^*=1.96).

Example 31

medium
A 95%95\% CI is (10,14)(10, 14). What is the EE, and what was xˉ\bar{x}?

Example 32

medium
True or false: 'The probability that the true mean is in this 95%95\% CI is 0.950.95.' Justify briefly.

Example 33

medium
Given xΛ‰=120\bar{x}=120, Οƒ=20\sigma=20, n=400n=400. Build a 99%99\% CI (zβˆ—=2.576z^*=2.576).

Example 34

medium
When should you use a tt-interval instead of a zz-interval?

Example 35

medium
A 95%95\% CI for the difference of means is (1.2,4.8)(1.2, 4.8). Is the difference significantly different from zero?

Example 36

hard
A 95%95\% CI for a proportion: p^=0.32\hat{p}=0.32, n=400n=400, zβˆ—=1.96z^*=1.96. Find the CI.

Example 37

hard
Find the smallest nn for a 95%95\% CI for a proportion with E≀0.03E \le 0.03, assuming worst case p^=0.5\hat{p}=0.5, zβˆ—=1.96z^*=1.96.

Example 38

hard
If 100100 different 95%95\% CIs are constructed from independent samples, about how many are expected to miss the true mean?

Example 39

hard
Two 95%95\% CIs for treatment means overlap. Does overlap automatically imply no significant difference?

Example 40

hard
A 98%98\% CI for ΞΌ\mu with xΛ‰=50\bar{x}=50, Οƒ=20\sigma=20, n=100n=100, zβˆ—=2.326z^*=2.326. Find the CI.

Example 41

challenge
Researcher reports CI (2.3,5.7)(2.3, 5.7) at 95%95\% for the mean difference. Estimate the tt statistic value, assuming a tt-CI with E=E = half-width.

Background Knowledge

These ideas may be useful before you work through the harder examples.

sampling distributioncentral limit theoremz score