Confidence Interval Calculator
Calculate the confidence interval for a population mean using sample data. Uses z-based approximation suitable for large samples.
Inputs
Results
Lower Bound
48.04
Upper Bound
51.96
Margin of Error
1.96
How to Use This Calculator
- Enter Sample Mean (x̄), Standard Deviation (σ or s), and Sample Size (n).
- Set Confidence Level (%).
- Review Lower Bound, Upper Bound, and Margin of Error.
- Use Standard Error and Z-Value to inform your decision.
- Use the chart to visualize the results and explore different scenarios by adjusting inputs.
How the result changes with Sample Mean (x̄)
| Sample Mean (x̄) | Lower Bound | Upper Bound | Margin of Error |
|---|---|---|---|
| -800,000 | -800,001.96 | -799,998.04 | 1.96 |
| -300,000 | -300,001.96 | -299,998.04 | 1.96 |
| 300,000 | 299,998.04 | 300,001.96 | 1.96 |
| 800,000 | 799,998.04 | 800,001.96 | 1.96 |
What each input means
- Sample Mean (x̄)
- The arithmetic mean of your sample data.
- Standard Deviation (σ or s)
- Population or sample standard deviation. Use sample SD if population SD is unknown.
- Sample Size (n)
- Number of observations in the sample. Larger samples yield narrower intervals.
- Confidence Level (%)
- Desired confidence level as a percentage. Common choices: 90%, 95%, 99%.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersSample Mean (x̄) = 50, Standard Deviation (σ or s) = 10, Sample Size (n) = 100, Confidence Level (%) = 95 = 4 input(s) provided
- Calculate Lower BoundLower Bound48.0396 = 48.0396
- Calculate Upper BoundUpper Bound51.9604 = 51.9604
- Calculate Margin of ErrorMargin of Error1.9604 = 1.9604
- Calculate Standard ErrorStandard Error1 = 1
- Calculate Z-ValueZ-Value1.9604 = 1.9604
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
T-Test Calculator
Calculate the t-statistic, degrees of freedom, and approximate p-value for a one-sample t-test.
StatisticsPower Analysis Calculator
Calculate the required sample size for a study given the effect size, significance level, and desired statistical power.
StatisticsConfidence Interval Calculator
Calculate the confidence interval for a population mean. Determine the margin of error and range where the true population parameter likely falls.
Survey ResearchMargin of Error Calculator
Calculate the margin of error for your survey results based on sample size, confidence level, population size, and expected proportion.
DevopsCI/CD Pipeline Cost Calculator
Calculate total CI/CD cost including platform fees and developer wait time.
More in Math & Statistics.