Analyst Dojo
Lesson 2 of 13 11–14% of the exam

Confidence intervals for a mean return

A confidence interval for the mean return is the sample mean plus or minus a critical value times the standard error: x̄ ± Z × s ÷ √n. The half-width is the margin of error. At 95% use Z = 1.96, at 99% Z = 2.576; higher confidence means a wider interval.

6 min cram, 28 min full read. Based on the 2027 CFA® Program Level I curriculum, Quantitative Methods, Learning Module 7.

Tailor this to you: take the self-assessment

Before this: The central limit theorem and the standard error of the mean

On the exam

  • Explain the central limit theorem and the application of confidence intervals and sampling methodologies

Explain the application of confidence intervals and calculate one for a mean return. Expect a three-step calculation (standard error, margin of error, bounds) where wrong options use s instead of s ÷ √n or stop at the standard error, plus 'what happens if confidence rises or n grows?' and when an interval misleads.

How deeply to learn each part
Know the idea
Understand it in general. It frames other topics, but you will not calculate with it.
Use it
Understand it well enough to solve a question with it. Recognize when it applies.
Memorize
Learn it by heart. The exam will not give it to you.

You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.

You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.

Cram mode: the one-screen version of this lesson. Switch to Full for the explanations, worked examples and interactives.

From a point estimate to an interval

The sample mean is a point estimate : one best guess at the population mean. An interval estimate wraps a range around it. A confidence interval is an interval estimate built to contain the true mean with a stated probability, the confidence level , 1 − α.

Why it works: by the central limit theorem, x̄ is approximately normal around μ with a standard deviation of σ ÷ √n, so 95% of sample means land within 1.96 standard errors of μ. Turned around, x̄ ± 1.96 standard errors covers μ in 95% of samples.

A 95% interval is a statement about the method: build intervals this way from many samples and about 95 in 100 contain μ. Each tail outside holds α ÷ 2, which is 2.5% at 95%.

In practice σ is unknown, so the sample standard deviation s replaces it. The calculation below is the large-sample version.

The formula and the margin of error

Memorize

The interval is centered on the sample mean. How far it reaches on each side is set by a critical Z-value and the standard error.

The parts of a confidence interval
Confidence interval for a meanx̄ ± Z × s ÷ √n
  • Point estimate Use it the sample mean x̄, the center of the interval
  • Margin of error Memorize Z × s ÷ √n, the half-width
    • Critical Z-value Memorize 1.96 at 95%, 2.576 at 99%; α ÷ 2 in each tail
    • Standard error Memorize s ÷ √n, how precise x̄ is
Confidence interval for a mean Memorize
xˉ±Zα/2×sn\bar{x} \pm Z_{\alpha/2} \times \frac{s}{\sqrt{n}}

The lower bound is xˉ−Zα/2 s/n\bar{x} - Z_{\alpha/2}\, s/\sqrt{n} and the upper bound is xˉ+Zα/2 s/n\bar{x} + Z_{\alpha/2}\, s/\sqrt{n}. The distance from the mean to either bound is the margin of error , the half-width of the interval.

Margin of error Memorize
E=Zα/2×snE = Z_{\alpha/2} \times \frac{s}{\sqrt{n}}

It is the sampling error you allow for on each side of the estimate. The critical values:

Confidence levelZProbability in each tail
90%1.6455%
95%1.962.5%
99%2.5760.5%

The 95% and 99% values are the ones to know.

Worked example: three steps

Memorize

Questions also turn the formula around: they give the interval and ask for the margin, the mean or the sample size.

Rearrange itConfidence interval for a mean: solve for any one
The question asks for
An equity fund has 144 monthly returns with a sample standard deviation of 4.2%. Using Z = 1.96, the margin of error of the confidence interval for the mean return is closest to:

1.96 × 4.2% ÷ √144 = 0.686%

Margin of error0.69%

On your calculator
  1. 4.2÷144√x×1.96=the margin of error

√x square root

  1. 4.2ENTER144g√x÷1.96×the margin of error

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

InteractiveBuild a confidence interval for a mean return

Try this 0 of 3

  • Make the 95% interval half as wide without changing s.
  • Find a confidence level at which the worked example's interval includes zero.
  • On the Coverage tab, draw until one interval misses μ.

144 returns, mean 0.72%, standard deviation 4.20%: standard error 0.35%, margin of error 0.686%, 95% interval 0.034% to 1.406%. More confidence or less data makes the interval wider.

−0.5%0%0.5%1%1.5%2%Mean monthly return95%x̄ 0.72%0.034%1.406%zero
  • Confidence level 95%
  • 2.5% in each tail
Lower bound0.034%
Upper bound1.406%
Standard error, s ÷ √n0.35%
Z1.96
Margin of error0.686%
Sample
Interval
Confidence level
Show working

Standard error = s ÷ √n = 4.2 ÷ √144 = 4.2 ÷ 12 = 0.35%.

Margin of error = Z × standard error = 1.96 × 0.35 = 0.686% (95% confidence, so 2.5% in each tail).

Interval = x̄ ± margin = 0.72 ± 0.686 = 0.034% to 1.406%.

The whole interval is above zero.

Divide s by √n before multiplying by Z: s itself is the spread of single returns, not of the mean.

95% interval on your calculator
  1. 4.2÷144√x×1.96=STO10.686, the margin of error
  2. 0.72−RCL1=0.034
  3. 0.72+RCL1=1.406

√x square root · STO store · RCL recall a stored number

  1. 4.2ENTER144g√x÷1.96×STO10.686, the margin of error
  2. 0.72RCL1−0.034
  3. 0.72RCL1+1.406

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root · STO store · RCL recall a stored number

Display: 0.686

More confidence or less data makes the interval wider; about 95 in 100 intervals built at 95% contain the true mean.

Move the confidence level and the sample size, then switch to the second tab and draw twenty intervals from a population with a known mean. About one in twenty misses at 95%.

What makes an interval wider or narrower?

ChangeEffect on the intervalWhy
Higher confidence levelwidera bigger Z
Larger nnarrower√n is in the denominator; four times the data halves the width
More volatile returns (larger s)widerthe standard error rises with s

The same fund with 576 months (48 years) and the same s: standard error 4.20 ÷ 24 = 0.175%, and the 95% margin is 0.343%, half the 144-month margin of 0.686%.

Exam tip Multiply the data by four and the width halves. If an option shows a quarter, it is the trap.

Go deeper How many observations for a target margin?

Turn the margin formula around: n = (Z × s ÷ E)². For s = 4.20%, a 95% interval and a target margin of 0.35%, n = (1.96 × 4.20 ÷ 0.35)² = 23.52² = 553.2, so you would need 554 monthly returns, about 46 years. Halving the target margin always means four times the data.

When does an interval mislead?

Use it

The interval leans on the central limit theorem, which assumes a finite variance and data drawn from one stable distribution. Price levels that trend for years break that: their histogram can have two humps, the long-run average price says little about today, and an interval around it is not meaningful. These are non-stationary data . Work with percentage changes (returns), which are far more stable, before you estimate.

A commodity that traded near 300 for a decade and near 1,500 for the next has an “average price” of about 900 that it hardly ever traded at. An interval around that average describes a price that never occurred.

Memorize this

MemorizeConfidence interval for a mean

ConfidenceZIn each tail
95%1.962.5%
99%2.5760.5%

Memory hook "Nineteen-six" for 95, "two-five-seven-six" for 99: two tails share α, so each holds half.

Know it cold Interval = xˉ±Z×s/n\bar{x} \pm Z \times s/\sqrt{n}. Margin of error = the half-width. Divide s by n\sqrt{n} before multiplying by Z.

MemorizeWhat changes the width

ChangeWidth
Higher confidence levelwider (bigger ZZ)
Larger nnnarrower (n\sqrt{n} in the denominator)
Four times the datahalf as wide
More volatile returns (larger ss)wider

Memory hook Width follows Z and s up, and the square root of n down.

Know it cold More confidence costs width. Only more data, or calmer data, buys it back.

The parts of a confidence interval
Confidence interval for a meanx̄ ± Z × s ÷ √n
  • Point estimate Use it the sample mean x̄, the center of the interval
  • Margin of error Memorize Z × s ÷ √n, the half-width
    • Critical Z-value Memorize 1.96 at 95%, 2.576 at 99%; α ÷ 2 in each tail
    • Standard error Memorize s ÷ √n, how precise x̄ is
Confidence interval for a mean Memorize
xˉ±Zα/2×sn\bar{x} \pm Z_{\alpha/2} \times \dfrac{s}{\sqrt{n}}
Quick example

100 monthly returns, mean 1.0%, s = 5.0%. Standard error 5.0 ÷ √100 = 0.5%; margin 1.96 × 0.5 = 0.98%. 95% interval: 0.02% to 1.98%.

On your calculator
  1. 5÷100√x×1.96= 0.98, the margin of error

√x square root

  1. 5ENTER100g√x÷1.96× 0.98, the margin of error

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

Margin of error Memorize
E=Zα/2×snE = Z_{\alpha/2} \times \dfrac{s}{\sqrt{n}}
Quick example

64 returns with s = 4.0%. Standard error 4.0 ÷ 8 = 0.5%. At 99%, the margin is 2.576 × 0.5 = 1.288%.

On your calculator
  1. 4÷64√x×2.576= 1.288

√x square root

  1. 4ENTER64g√x÷2.576× 1.288

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

How it is asked

  1. Build the interval

    81 months, mean 1.50%, s 3.60%. 95% interval?

    Standard error 0.40, margin 1.96 × 0.40 = 0.784: 0.72% to 2.28%. Traps: −5.56% to 8.56% (used s), 1.10% to 1.90% (stopped at the standard error).

  2. Confidence level changes

    Same data, 99% instead of 95%?

    Wider: Z rises from 1.96 to 2.576.

  3. Sample size changes

    n rises from 144 to 576?

    Width halves (√4 = 2). A quarter is the trap.

  4. Will the interval be meaningful?

    Interval for the average price level of a strongly trending commodity?

    No: non-stationary levels; use returns.

Exam traps

  • Multiplying Z by the standard deviation s instead of the standard error s ÷ √n.
  • Reporting the standard error, or Z alone, as the margin of error.
  • Thinking more confidence gives a narrower interval. It needs a bigger Z, so the interval widens.
  • Building an interval around the average of a trending price level. Use returns.

Checkpoint

3 exam-style questions. About 90 seconds each.

  1. 1An equity index has 100 monthly returns with a mean of 0.80% and a sample standard deviation of 4.50%. The 95% confidence interval for the mean monthly return is closest to:

  2. 2With the same sample, an analyst switches from a 95% to a 99% confidence interval for a fund's mean return. The interval most likely becomes:

  3. 3An analyst builds a 95% confidence interval for the long-run average price of a commodity from 25 years of weekly prices, during which the price trended from about 300 to about 1,900. The interval is most likely:

Key takeaways

  • Confidence interval = x̄ ± Z × s ÷ √n; the margin of error is the half-width.
  • Z = 1.96 at 95% and 2.576 at 99%: higher confidence, wider interval.
  • Four times the data halves the width.
  • Intervals around trending price levels mislead; use returns.
Confidence interval for a mean Memorize
xˉ±Zα/2×sn\bar{x} \pm Z_{\alpha/2} \times \dfrac{s}{\sqrt{n}}
Quick example

100 monthly returns, mean 1.0%, s = 5.0%. Standard error 5.0 ÷ √100 = 0.5%; margin 1.96 × 0.5 = 0.98%. 95% interval: 0.02% to 1.98%.

On your calculator
  1. 5÷100√x×1.96= 0.98, the margin of error

√x square root

  1. 5ENTER100g√x÷1.96× 0.98, the margin of error

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

Margin of error Memorize
E=Zα/2×snE = Z_{\alpha/2} \times \dfrac{s}{\sqrt{n}}
Quick example

64 returns with s = 4.0%. Standard error 4.0 ÷ 8 = 0.5%. At 99%, the margin is 2.576 × 0.5 = 1.288%.

On your calculator
  1. 4÷64√x×2.576= 1.288

√x square root

  1. 4ENTER64g√x÷2.576× 1.288

ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root

All Quantitative Methods formulas, every lesson

Practice exam-style questions on Estimation and Hypothesis Testing

Questions about this lesson?

Where this comes back

Questions candidates ask

How do you calculate a 95% confidence interval for a mean return?

Divide the sample standard deviation by the square root of n to get the standard error, multiply it by 1.96 to get the margin of error, then subtract it from and add it to the sample mean. For 144 months, mean 0.72% and s 4.20%, the interval is 0.03% to 1.41%.

What does a 95% confidence interval mean?

If you built intervals the same way from many samples, about 95 in 100 would contain the true mean. It does not mean this one interval has a 95% chance of containing it after the fact; it describes the reliability of the method.

Why does a 99% interval come out wider than a 95% one?

To be more confident of covering the true mean, the interval must reach further: Z rises from 1.96 to 2.576 while the standard error stays the same. Only more data, or less volatile data, narrows an interval at a given confidence level.

Spotted an error? Tell us and we will fix it.

  1. The central limit theorem and the standard error of the mean
  2. Confidence intervals for a mean return
  3. Value at risk from the normal distribution
  4. Sampling methods and sampling error
  5. How a hypothesis test works: four steps from claim to decision
  6. Type I and Type II errors and the power of a test
  7. t-tests of a mean, a difference in means and paired differences
  8. Chi-square and F-tests of variance
  9. Is a correlation significant? The t-test of correlation
  10. P-values, p-hacking and critical values from software
  11. Parametric vs non-parametric tests
  12. Spearman rank correlation: the non-parametric test
  13. Chi-square test of independence with a contingency table

Ask Sensei Listen instead

Questions on Confidence intervals for a mean return

Learn with Sensei, out loud The voice tutor, in early access

Sensei teaches the lesson aloud and stops when you interrupt: "wait, why is the geometric mean lower?" It answers with the lesson's own example, then quizzes you by voice. Every account can try Sensei on one module, with one voice question.

USD 149 a month founding price (regular USD 199), kept for as long as you stay subscribed. Everything in Plus included.

In active development and improving every day. Send feedback · Plans and pricing

Analyst Dojo Plus

Your free review list holds 10 items.

Plus keeps everything you save, for USD 19 a month. To make room on the free plan, remove something from your review list.

See Plus

Lessons, checkpoints and the lesson questions in practice stay free. Compare plans