- Lower bound
- 45.87
- Upper bound
- 54.13
- Margin of error
- 4.13
- Critical value
- 2.06
How it works

More confidence produces wider intervals
Using the same sample, raising confidence from 95% to 99% increases the critical value and widens the interval. A narrower interval is not automatically better if it was obtained simply by accepting lower coverage.
How does a larger sample narrow a confidence interval?
- Confidence level
- 95%
- Population standard deviation
- 10

| Sample size | Calculation | Margin of error |
|---|---|---|
| A 25 | 1.96 × 10 ÷ √25 | 3.92 |
| B 100 | 1.96 × 10 ÷ √100 | 1.96 |
Both rows assume independent observations and a known population standard deviation. Quadrupling the sample size halves the margin of error at the same confidence level.
Interpreting a mean confidence interval
With a sample mean of 100, known population standard deviation of 15, and sample size of 100, the standard error is 15 ÷ √100 = 1.5. A 95% normal-z interval is approximately 100 ± 1.96 × 1.5, or 97.06 to 102.94. If the standard deviation is estimated from the sample, select Student t instead. The interval estimates the population mean; it is not a range containing 95% of individual observations. Its coverage relies on the sampling and distribution assumptions.
Match the method to the standard deviation you actually know
Enter the sample mean, the standard deviation of individual observations and the sample size. Select Student t when the standard deviation is estimated from that sample; the calculator uses n − 1 degrees of freedom. Select Normal z when a population standard deviation is known independently. A large sample alone does not turn an estimated standard deviation into a known population value.
Do not enter an already calculated standard error in the standard-deviation field. The calculator divides the supplied standard deviation by √n, so entering a standard error would divide by √n a second time.
Follow a complete 95% interval calculation
Suppose the mean is 100, the known population standard deviation is 12 and n = 36. The standard error is 12 ÷ 6 = 2. Choose Normal z and 95% confidence. The critical value is approximately 1.959964, so the margin is 3.919928 and the interval runs from about 96.0801 to 103.9199.
If 12 is instead a sample standard deviation, choose Student t. With 35 degrees of freedom, its larger critical value makes the interval a little wider. This reflects uncertainty in estimating the population spread.
| Step | Working | Result |
|---|---|---|
| Standard error | 12 ÷ √36 | 2 |
| 95% critical value | 97.5th normal percentile | 1.959964 |
| Margin of error | 1.959964 × 2 | 3.919928 |
| Lower and upper bounds | 100 ± 3.919928 | 96.0801 to 103.9199 |
Interpret confidence as a property of the procedure
A 95% confidence procedure is designed so that 95% of intervals from repeated samples cover the fixed population mean, under its assumptions. After one sample is observed, the computed interval either covers that mean or it does not.
This is not the interval containing 95% of individual observations. For the known-normal example above, individual values have standard deviation 12, while the estimated mean has standard error 2. Distribution coverage and uncertainty about a mean answer different questions.
Understand which changes narrow or widen the interval
Holding the other inputs fixed, increasing confidence widens the interval and increasing sample size narrows it. In the Normal-z calculation, quadrupling n halves the margin because √n doubles. Increasing standard deviation increases the margin in direct proportion.
The assumptions still matter: independent observations and a suitable sampling design are needed, and the usual t procedure is exact for a normal population. Large-sample approximations depend on the distribution; severe skew, outliers or dependence can make a simple mean interval unreliable. This page does not calculate a proportion interval, a paired difference or a two-sample comparison.
Mean confidence interval: formula and assumptions
Interval = mean ± critical value × standard deviation / √n.
Use Student t when the population standard deviation is estimated from a sample. Normality or sufficient sample size is required.
Worked example
Using the Mean confidence interval example:
- Sample mean
- 50
- Standard deviation
- 10
- Sample size
- 25
- Confidence level (%)
- 95
- Method
- Student t (sample standard deviation)
Interval = mean ± critical value × standard deviation / √n.
Example result
Lower bound: 45.87
Upper bound: 54.13
Margin of error: 4.13
Critical value: 2.06
These are illustrative inputs. Change the values to explore a different scenario.
Formula references
- NIST: confidence limits for the mean (opens in a new tab)
- OpenStax: Algebra and Trigonometry (opens in a new tab)
- NIST statistical methods handbook (opens in a new tab)
References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.
Common questions
When should I use Student t instead of normal z?
Use Student t when the standard deviation is estimated from the sample; the z method assumes a known population standard deviation.
Is the interval a range containing most individual observations?
No. It describes uncertainty in the estimated mean under the model, rather than a prediction range for individual values.
Should I enter standard deviation or standard error?
Enter the standard deviation of individual observations. The calculator obtains standard error by dividing that input by the square root of the sample size.
Does 95% confidence mean a 95% probability for this fixed population mean?
In the frequentist interpretation used here, the coverage rate belongs to the repeated-sampling procedure. The fixed mean is either inside or outside the interval computed from one sample.
Why does 99% confidence produce a wider interval than 95%?
A higher confidence level requires a larger critical value. With the same mean, spread and sample size, that increases the margin on both sides.
Can I use this page for a survey percentage?
This page calculates an interval for a mean using standard deviation. Proportions use a different sampling variance and may need a Wilson, exact or another suitable proportion interval.
See our methodology and editorial policy.
