Confidence Intervals

A practical guide to understanding and calculating the range where a true population mean likely lies.

What is a Confidence Interval?

It's often impossible to survey an entire population (like every stock in the market). Instead, we take a smaller sample (like the S&P 500) and calculate its mean (average) return.

A confidence interval uses this sample mean to construct a range of values and says, "We are X% confident that the true average of the entire population falls within this range." It's a way of putting boundaries on uncertainty.

The Formula

CI=xˉ±ZσnCI = \bar{x} \pm Z \cdot \frac{\sigma}{\sqrt{n}}
Standard Error=σn\text{Standard Error} = \frac{\sigma}{\sqrt{n}}
Interactive Calculator
Adjust the parameters to see how they affect the confidence interval in real-time.

Calculated 95% Confidence Interval

---