Course contentsShow
← Data Science
Lesson 269 of 2,1458. Confidence IntervalsFree lesson

Confidence Interval Formula for One Mean

Computing confidence intervals using sample mean, standard error, and critical values: x̄ ± t* × SE.

Confidence Interval Formula for One Mean

What you'll learn: How to compute a confidence interval around a sample mean using a simple, powerful formula.

The Core Formula

You've learned what confidence intervals are, how to interpret confidence levels, and why we use critical values from the t-distribution. Now it's time to put it all together into one practical formula:

CI = x̄ ± t × SE*

Where:

  • x̄ (x-bar) is your sample mean
  • t* is the critical value from the t-distribution (based on your confidence level and degrees of freedom)
  • SE is the standard error of the mean

Understanding Each Component

Think of this formula like building a confidence fence around your estimate. The sample mean (x̄) is your best guess at the center. The standard error (SE) tells you how much variability to expect. The critical value (t*) acts as a multiplier—stretching your fence wider for higher confidence levels (like 99%) or keeping it tighter for lower ones (like 90%).

The ± symbol means you create two boundaries: add the margin of error to get the upper bound, subtract it to get the lower bound.

The Margin of Error

The term t × SE* is called the margin of error. It quantifies the wiggle room around your sample mean. Larger samples produce smaller standard errors, which shrinks your margin of error and gives you a more precise interval.

Putting It Together

If your sample mean is 50, your standard error is 3, and your critical value is 2.1, your confidence interval becomes:

50 ± 2.1 × 3 = 50 ± 6.3 = [43.7, 56.3]

Key Takeaway: The confidence interval formula x̄ ± t* × SE combines your sample mean, sampling variability, and desired confidence level into a range that captures the true population mean with a specified level of confidence.