Ad Space — Top Banner

Confidence Interval Formula

Calculate the range where the true population mean likely falls.
Essential for surveys, experiments, and data analysis.

The Formula

CI = x̄ ± z × (σ / √n)

A confidence interval gives a range of values that is likely to contain the true population parameter. The wider the interval, the more confident you can be — but the less precise the estimate.

Variables

SymbolMeaning
CIConfidence interval (lower bound to upper bound)
Sample mean
zZ-score for desired confidence level (1.96 for 95%, 2.576 for 99%)
σStandard deviation (population or sample)
nSample size
σ/√nStandard error of the mean

Example 1

Sample of 100 students: mean score = 75, σ = 10. Find the 95% CI.

Standard error = 10 / √100 = 10 / 10 = 1

Margin of error = 1.96 × 1 = 1.96

95% CI: 75 ± 1.96 = (73.04, 76.96)

Example 2

Survey of 400 people: mean spending = $150, σ = $40. Find the 99% CI.

Standard error = 40 / √400 = 40 / 20 = 2

Margin of error = 2.576 × 2 = 5.15

99% CI: $150 ± $5.15 = ($144.85, $155.15)

When to Use It

Use the confidence interval formula when:

  • Estimating population parameters from sample data
  • Reporting survey results with a margin of error
  • Determining if two groups are statistically different
  • Deciding how large a sample you need for a desired precision

Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.