Confidence Interval Calculator

With mean 100, known population standard deviation 15, n = 30 and z = 1.96, the standard error is 15/√30 = 2.7386 and margin 5.3677. The interval is 94.6323–105.3677. Under the stated normal-mean procedure, repeated intervals have 95% coverage; this does not assign a 95% probability to the fixed unknown mean after this particular interval is observed.

Confidence Interval Calculator: inputs

Calculated result
Lower bound94.6
Upper bound105.4

Confidence Interval Calculator: Sample mean sensitivity

Confidence Interval Calculator: Sample mean and Lower bound5 calculations vary the “Sample mean” input while holding the other entered inputs constant.8074.69084.610094.6110104.6120114.6

Confidence Interval: formula

Margin of error = z × (σ ÷ √n); interval = mean ± margin

NIST: confidence intervals for known and estimated deviation

A normal-z interval requires the relevant assumptions, including a known population standard deviation or an explicitly justified approximation. When population deviation is estimated from normal data, a t interval accounts for that uncertainty even with larger samples. Bias, dependence and sampling design are not corrected merely by increasing sample size.

Confidence Interval: worked example

Sample mean100
Standard deviation15
Sample size30
Confidence level95%
Lower bound94.6
Upper bound105.4

Use a sample mean, known population standard deviation, positive sample size and the normal critical value for the selected confidence level. A population-normality assumption supports the exact known-deviation mean interval. If deviation is estimated, use an appropriate t procedure or explicitly justified approximation; this z tool does not select that procedure automatically.

Confidence Interval: changing Sample mean

Sample meanLower boundUpper bound
8074.685.4
9084.695.4
100 (example)94.6105.4
110104.6115.4
120114.6125.4

Confidence Interval: compare input ranges

InputTested fromToLower bound: low inputLower bound: high inputSwing
Sample mean9011084.6104.620 (21%)
Confidence level90%99%95.592.92.5 (2.7%)
Standard deviation14179593.91.1 (1.1%)
Sample size273394.394.90.54 (0.6%)

Confidence Interval: individual input comparisons

InputValueLower boundUpper bound
Sample mean8074.685.4
9084.695.4
10094.6105.4
110104.6115.4
120114.6125.4
Standard deviation1295.7104.3
1495105
1594.6105.4
1793.9106.1
1893.6106.4
Sample size2494106
2794.3105.7
3094.6105.4
3394.9105.1
3695.1104.9
Confidence level90%95.5104.5
95%94.6105.4
99%92.9107.1

Confidence Interval: combined input changes

Sample mean / Standard deviation121518
8075.774.673.6
9085.784.683.6
10095.794.693.6
110105.7104.6103.6
120115.7114.6113.6

Confidence Interval: which assumptions move the result?

Confidence Interval: Lower bound as Sample mean changesLower bound starts at 74.6. Moving Sample mean from 80 to 120 changes it to 114.6, with Standard deviation 15; Sample size 30; Confidence level 95% kept fixed.8074.69084.610094.6110104.6120114.6
Chart quantityDisplayed settings
Sample mean80 → 120
Lower bound74.6 → 114.6
Standard deviation15
Sample size30
Confidence level95%
Confidence Interval: Lower bound as Confidence level changesLower bound starts at 95.5. Moving Confidence level from 90% to 99% changes it to 92.9, with Sample mean 100; Standard deviation 15; Sample size 30 kept fixed.90%95.595%94.699%92.9
Chart quantityDisplayed settings
Confidence level90% → 99%
Lower bound95.5 → 92.9
Sample mean100
Standard deviation15
Sample size30

Confidence Interval: values and definitions

Quantity and definitionValue used
Sample mean100
Standard deviation15
Sample size30
Confidence level — How confident the interval should be.95%
Lower bound94.6
Upper bound105.4

Confidence Interval: half and double Sample mean

Sample meanLower bound
5044.6
10094.6
200194.6

Common error: Reading a 95% interval as 95% likely to contain the true value. That statement describes a different, more casual idea than what the confidence level is a guarantee about.

Statistics & Probability calculators: Sample Size Calculator, Binomial Probability Calculator, Normal Distribution Probability Calculator, P-Value from Z-Score Calculator, Expected Value Calculator, Bayes' Theorem Calculator.

A 95% confidence interval does not mean there's a 95% chance the true population mean falls inside this particular interval: the true mean either is or isn't in there, with no probability left to assign once the sample is drawn. What 95% describes is the method: run the same sampling process many times, and about 95% of the intervals it produces would contain the true mean.

Confidence coverage concerns the long-run reliability of the interval procedure, not a probability assigned to this particular fixed interval.

Plan how many observations you need on the sample size calculator, find the standard deviation on its page, and test claims on the z-score and p-value calculators. The mean and median page gives the sample mean, and the normal probability calculator handles areas under the curve.

Confidence Interval Calculator: quantities and terminology

What does a 95% confidence interval mean?

If you repeated the sampling many times, about 95% of the intervals built this way would contain the true population value.

How can I make an interval narrower?

Increase the sample size, reduce variability in the measurements or accept a lower confidence level, which trades certainty for precision.

When should I use the t distribution?

For the usual independent normal-sample mean procedure with unknown population standard deviation, use the sample estimate and the appropriate t critical value. It is not only a small-sample distinction. Check the sampling assumptions and degrees of freedom; another data-generating process may require a different interval procedure.