Confidence Interval Notes

Published on: November 26, 2026

These Confidence Interval Notes explain how to find a range of values that is likely to contain the true mean of a population, with the working shown line by line. The method picks the critical value for the chosen confidence level, finds the standard error, and multiplies them to get the margin of error. That margin is taken away from the sample mean and added to it to give the two ends. The interval is then shaded on a normal curve, and the same pattern works for any confidence level.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the critical value for the confidence level.
  4. Find the standard error.
  5. Find the margin of error.
  6. Take the margin of error away from the mean and add it on.
  7. Show the interval on the normal curve.

Formula: Confidence Interval Formula

This formula gives a range that is likely to hold the true mean. Take the critical value times the standard error away from the sample mean, and add it on.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Useful Tips to Remember

A confidence interval is \(\bar{x} \pm z^* \frac{\sigma}{\sqrt{n}}\). A 95% confidence interval does not mean there is a 95% chance the true mean lies in this particular interval; it means the method captures the true mean 95% of the time. A higher confidence level gives a wider interval, and a larger sample gives a narrower one.

Required knowledge

Where Are Confidence Intervals Used?

A confidence interval gives a range of values that is likely to contain the true population value, based on a sample. Instead of a single guess, it shows how precise the estimate is, such as a mean of 50 with a 95% interval from 48 to 52. Opinion polls report a margin of error, which is half the width of a confidence interval, and medical studies use intervals to show how much a treatment really helps. Businesses and scientists use them to make decisions while being honest about the uncertainty in their data.

  • Reporting the margin of error in opinion polls
  • Showing how effective a medical treatment is
  • Estimating average customer spending from a sample
  • Checking whether a product meets its target weight
  • Reporting the precision of scientific measurements

Confidence Interval Practice Problems

Example 1 builds a 95% interval with \(\bar{x} = 50\), \(\sigma = 8\) and \(n = 64\), and Example 2 builds a 90% interval with \(\bar{x} = 100\). Examples 3 and 4 give you two more problems of the same kind to try. Try each one yourself before checking.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\bar{x} = 50,\; \sigma = 8,\; n = 64,\; 95\%\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the critical value for the confidence level.
  4. Find the standard error.
  5. Find the margin of error.
  6. Take the margin of error away from the mean and add it on.
  7. Show the interval on the normal curve.

Formula

Formula: Confidence Interval Formula

This formula gives a range that is likely to hold the true mean. Take the critical value times the standard error away from the sample mean, and add it on.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding a 95% confidence interval for the true mean, from a sample of \(64\) with mean \(50\) and standard deviation \(8\).

\(\bar{x} = 50,\; \sigma = 8,\; n = 64,\; 95\%\)

Step 2

Step 2 - Write the formula.

In this problem: The interval reaches out from the sample mean by the critical value times the standard error on each side.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 3

Step 3 - Find the critical value for the confidence level.

In this problem: The middle 95% of the standard normal curve lies between \(-1.96\) and \(1.96\), so \(z^{*} = 1.96\).

\(z^{*} = 1.96\)

Step 4

Step 4 - Find the standard error.

In this problem: Dividing the standard deviation by the square root of the sample size gives \(SE = 1\).

\(\frac{\sigma}{\sqrt{n}} = \frac{8}{\sqrt{64}} = 1\)

Step 5

Step 5 - Find the margin of error.

In this problem: Multiplying the critical value by the standard error gives \(1.96 \times 1 = 1.96\).

\(E = 1.96 \times 1 = 1.96\)

Step 6

Step 6 - Take the margin of error away from the mean and add it on.

In this problem: The interval runs from the mean minus the margin of error to the mean plus it.

\(50 \pm 1.96\)

Step 6a

Step 6a - Find the lower end.

In this problem: Taking the margin away gives \(50 - 1.96 = 48.04\).

\(\text{Lower} = 50 - 1.96 = 48.04\)

Step 6b

Step 6b - Find the upper end.

In this problem: Adding the margin gives \(50 + 1.96 = 51.96\).

\(\text{Upper} = 50 + 1.96 = 51.96\)

Step 7

Step 7 - Show the interval on the normal curve.

In this problem: The curve shows where sample means of size \(64\) land. The shaded middle 95% is the interval \((48.04,\; 51.96)\).

Normal curve with the confidence interval shaded

Final Answer

\((48.04,\; 51.96)\)
See Example 2 Hide Example 2

Problem

\(\bar{x} = 100,\; \sigma = 15,\; n = 30,\; 90\%\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the critical value for the confidence level.
  4. Find the standard error.
  5. Find the margin of error.
  6. Take the margin of error away from the mean and add it on.
  7. Show the interval on the normal curve.

Formula

Formula: Confidence Interval Formula

This formula gives a range that is likely to hold the true mean. Take the critical value times the standard error away from the sample mean, and add it on.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding a 90% confidence interval for the true mean, from a sample of \(30\) with mean \(100\) and standard deviation \(15\).

\(\bar{x} = 100,\; \sigma = 15,\; n = 30,\; 90\%\)

Step 2

Step 2 - Write the formula.

In this problem: The interval reaches out from the sample mean by the critical value times the standard error on each side.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 3

Step 3 - Find the critical value for the confidence level.

In this problem: The middle 90% of the standard normal curve lies between \(-1.645\) and \(1.645\), so \(z^{*} = 1.645\).

\(z^{*} = 1.645\)

Step 4

Step 4 - Find the standard error.

In this problem: Dividing the standard deviation by the square root of the sample size gives \(SE \approx 2.7386\).

\(\frac{\sigma}{\sqrt{n}} = \frac{15}{\sqrt{30}} \approx 2.7386\)

Step 5

Step 5 - Find the margin of error.

In this problem: Multiplying the critical value by the standard error gives \(1.645 \times 2.7386 \approx 4.505\).

\(E = 1.645 \times 2.7386 \approx 4.505\)

Step 6

Step 6 - Take the margin of error away from the mean and add it on.

In this problem: The interval runs from the mean minus the margin of error to the mean plus it.

\(100 \pm 4.505\)

Step 6a

Step 6a - Find the lower end.

In this problem: Taking the margin away gives \(100 - 4.505 \approx 95.495\).

\(\text{Lower} = 100 - 4.505 \approx 95.495\)

Step 6b

Step 6b - Find the upper end.

In this problem: Adding the margin gives \(100 + 4.505 \approx 104.505\).

\(\text{Upper} = 100 + 4.505 \approx 104.505\)

Step 7

Step 7 - Show the interval on the normal curve.

In this problem: The curve shows where sample means of size \(30\) land. The shaded middle 90% is the interval \((95.495,\; 104.505)\).

Normal curve with the confidence interval shaded

Final Answer

\((95.495,\; 104.505)\)
See Example 3 Hide Example 3

Problem

\(\bar{x} = 3.2,\; \sigma = 0.5,\; n = 25,\; 99\%\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the critical value for the confidence level.
  4. Find the standard error.
  5. Find the margin of error.
  6. Take the margin of error away from the mean and add it on.
  7. Show the interval on the normal curve.

Formula

Formula: Confidence Interval Formula

This formula gives a range that is likely to hold the true mean. Take the critical value times the standard error away from the sample mean, and add it on.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding a 99% confidence interval for the true mean, from a sample of \(25\) with mean \(3.2\) and standard deviation \(0.5\).

\(\bar{x} = 3.2,\; \sigma = 0.5,\; n = 25,\; 99\%\)

Step 2

Step 2 - Write the formula.

In this problem: The interval reaches out from the sample mean by the critical value times the standard error on each side.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 3

Step 3 - Find the critical value for the confidence level.

In this problem: The middle 99% of the standard normal curve lies between \(-2.576\) and \(2.576\), so \(z^{*} = 2.576\).

\(z^{*} = 2.576\)

Step 4

Step 4 - Find the standard error.

In this problem: Dividing the standard deviation by the square root of the sample size gives \(SE = 0.1\).

\(\frac{\sigma}{\sqrt{n}} = \frac{0.5}{\sqrt{25}} = 0.1\)

Step 5

Step 5 - Find the margin of error.

In this problem: Multiplying the critical value by the standard error gives \(2.576 \times 0.1 = 0.2576\).

\(E = 2.576 \times 0.1 = 0.2576\)

Step 6

Step 6 - Take the margin of error away from the mean and add it on.

In this problem: The interval runs from the mean minus the margin of error to the mean plus it.

\(3.2 \pm 0.2576\)

Step 6a

Step 6a - Find the lower end.

In this problem: Taking the margin away gives \(3.2 - 0.2576 = 2.9424\).

\(\text{Lower} = 3.2 - 0.2576 = 2.9424\)

Step 6b

Step 6b - Find the upper end.

In this problem: Adding the margin gives \(3.2 + 0.2576 = 3.4576\).

\(\text{Upper} = 3.2 + 0.2576 = 3.4576\)

Step 7

Step 7 - Show the interval on the normal curve.

In this problem: The curve shows where sample means of size \(25\) land. The shaded middle 99% is the interval \((2.9424,\; 3.4576)\).

Normal curve with the confidence interval shaded

Final Answer

\((2.9424,\; 3.4576)\)
See Example 4 Hide Example 4

Problem

\(\bar{x} = 72,\; \sigma = 12,\; n = 100,\; 95\%\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the critical value for the confidence level.
  4. Find the standard error.
  5. Find the margin of error.
  6. Take the margin of error away from the mean and add it on.
  7. Show the interval on the normal curve.

Formula

Formula: Confidence Interval Formula

This formula gives a range that is likely to hold the true mean. Take the critical value times the standard error away from the sample mean, and add it on.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding a 95% confidence interval for the true mean, from a sample of \(100\) with mean \(72\) and standard deviation \(12\).

\(\bar{x} = 72,\; \sigma = 12,\; n = 100,\; 95\%\)

Step 2

Step 2 - Write the formula.

In this problem: The interval reaches out from the sample mean by the critical value times the standard error on each side.

\(\bar{x} \pm z^{*} \times \frac{\sigma}{\sqrt{n}}\)

Step 3

Step 3 - Find the critical value for the confidence level.

In this problem: The middle 95% of the standard normal curve lies between \(-1.96\) and \(1.96\), so \(z^{*} = 1.96\).

\(z^{*} = 1.96\)

Step 4

Step 4 - Find the standard error.

In this problem: Dividing the standard deviation by the square root of the sample size gives \(SE = 1.2\).

\(\frac{\sigma}{\sqrt{n}} = \frac{12}{\sqrt{100}} = 1.2\)

Step 5

Step 5 - Find the margin of error.

In this problem: Multiplying the critical value by the standard error gives \(1.96 \times 1.2 = 2.352\).

\(E = 1.96 \times 1.2 = 2.352\)

Step 6

Step 6 - Take the margin of error away from the mean and add it on.

In this problem: The interval runs from the mean minus the margin of error to the mean plus it.

\(72 \pm 2.352\)

Step 6a

Step 6a - Find the lower end.

In this problem: Taking the margin away gives \(72 - 2.352 = 69.648\).

\(\text{Lower} = 72 - 2.352 = 69.648\)

Step 6b

Step 6b - Find the upper end.

In this problem: Adding the margin gives \(72 + 2.352 = 74.352\).

\(\text{Upper} = 72 + 2.352 = 74.352\)

Step 7

Step 7 - Show the interval on the normal curve.

In this problem: The curve shows where sample means of size \(100\) land. The shaded middle 95% is the interval \((69.648,\; 74.352)\).

Normal curve with the confidence interval shaded

Final Answer

\((69.648,\; 74.352)\)

Calculator and Practice Mode