Unknown and known population spread
For iid normal observations with unknown positive population variance, n≥2 and observed s>0. tᵤ,ν denotes the quantile with cumulative left probability u.[1][3]
For known positive population standard deviation σ and iid normal data; n≥1. σ is not the sample standard deviation calculated from these same observations.[3]
Outside normal models, analogous intervals may be approximately valid with appropriate independent data and a sufficiently accurate limit approximation. No universal sample size guarantees this for arbitrary skewed, heavy-tailed or dependent data. The calculated bounds do not check representativeness, independence or normality. Constant rounded data with s=0 do not establish certainty about the population mean; these calculators are restricted to positive spreads.[1][3]
From a pivot to a random interval
This distribution holds under the iid normal assumptions. S/√n is positive with probability one.[3]
Multiplying and rearranging the same inequality gives the endpoints. With known σ, use the same step with the standard-normal pivot.[1][3]
In this frequentist statement μ is fixed and the endpoints are random before sampling. Repeating the appropriate procedure gives long-run coverage 1−α of the fixed value. An already calculated interval either contains μ or does not. Saying “μ has 95% probability of lying in this particular interval” would require a different, explicitly Bayesian model.[1]
SE and h have the data unit. h is the half-width rather than total width.[1]
With c and spread fixed, multiplying n by four halves the half-width. In a t interval the quantile additionally changes through df=n−1 and must be recalculated. An interval for an individual future observation is a prediction interval, answering a different question from this interval for μ.[1][2]
A t interval and a z interval
Unknown sigma with nine observations
- Given
- An iid normal sample has n=9, x̄=42 mg and s=6 mg. For a two-sided 95% interval the left-cumulative quantile t0.975;8≈2.306 is supplied.
- Find
- Calculate standard error, half-width and both endpoints.
First state the general setup for the supplied quantities, then substitute the particular numbers. Here d=s is the estimated sample SD.
Find degrees of freedom and standard error.
Multiply by the matching t quantile.
Place endpoints around the sample mean.
Result: Using the supplied rounded quantile gives approximately [37.388,46.612] mg.
Check: The midpoint is 42 mg and total width is 9.224 mg, twice h. The quantile belongs to eight rather than nine degrees of freedom. Because the quantile is rounded, the 95% label is correspondingly approximate.
Known sigma with sixteen observations
- Given
- Independent normal data have known σ=8 mm. n=16 and x̄=100 mm. For 95%, z0.975≈1.95996398454 is supplied.
- Find
- Calculate the z interval.
First state the general setup for the supplied quantities, then substitute the particular numbers. Here d=σ is the known population SD.
Use the known population spread in the standard error.
Form the half-width from the z quantile.
Calculate both endpoints.
Result: The interval runs approximately from 96.0801 to 103.9199 mm.
Check: Standardizing each endpoint relative to x̄ gives ±1.95996398454 in standard-error units. Since σ is known, no t quantile for estimated spread is needed. The interval concerns the mean, not 95% of individual lengths.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises on half-width and interpretation
Calculate · Foundation
n=25, x̄=10, s=5 and supplied c=2.064 for the approximate 95% t interval. Find its endpoints.
Show hint
SE=5/√25.
Learning goal: Form endpoints from a matching quantile.
Show solution and calculation
SE=1 and h=2.064.
Endpoints are [7.936,12.064].
Check: midpoint is ten and width is 4.128. df=24 matches the supplied quantile.
Rearrange · Application
Known σ=6, fixed supplied c=2 and desired half-width h≤1.5. What is the smallest integer n?
Show hint
Solve cσ/√n≤h and round n upward.
Learning goal: Plan a minimum count for a fixed quantile.
Show solution and calculation
n≥(2·6/1.5)2=64.
With n=64, h=12/8=1.5; n=63 gives a larger half-width.
This holds c fixed and is not general planning with an n-dependent t quantile.
Interpret · Foundation
Someone says: “95% of individual measurements lie in the computed 95% mean interval.” Why does that not follow?
Show hint
The interval uses standard error of the mean.
Learning goal: Do not confuse mean coverage with individual-value coverage.
Show solution and calculation
The 95% refers to long-run coverage of fixed μ by the procedure.
Individual values vary with population spread; the mean interval shrinks as n grows without requiring individuals to vary less.
New individual values require an appropriate prediction interval.
Error analysis · Application
In the first example, 1.96 is used instead of 2.306 although σ is unknown. How do the numbers change?
Show hint
Standard error remains two.
Learning goal: Do not swap z and t without checking.
Show solution and calculation
The incorrect half-width is 1.96·2=3.92 instead of 4.612, giving [38.08,45.92].
Under the stated iid normal model this is not the desired 95% t procedure.
The narrower width reflects an inappropriate quantile rather than improved precision.
Transfer · Challenge
A file is doubled by copying every observation identically. Can standard error be reduced by √2 solely for this reason?
Show hint
The copies provide no independent information.
Learning goal: Do not count copied values as new independent observations.
Show solution and calculation
No.
Doubling rows does not double independent observations.
The assumption behind σ/√n or s/√n is violated.
Correct uncertainty calculation must account for dependence; enlarging the file alone adds no information.
Check your understanding with the formula’s reference test.
7 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Supply the quantile deliberately
The two calculators distinguish known σ with a z quantile from unknown σ using s and a t quantile. They calculate standard error, half-width and either endpoint for integer n up to one billion. Supply a positive quantile matching the level and, for t, df=n−1. It is not computed automatically from a confidence-level input. Endpoint calculation combines the root with the mean before rounding the final result.
Sample variance supplies s2, whose root s enters the t interval. The One-sample t statistic uses the same standardization for a specified null hypothesis. The Normal distribution explains z quantiles for known sigma.
Sources for this explanation
Quanta · Updated November 1, 2026
- NIST Engineering Statistics Handbook §1.3.5.2: mean confidence limits, one-sample t statistic and test directions
- NIST Engineering Statistics Handbook §1.3.6.7.2: left-cumulative t critical values
- UC Berkeley Stat135, Confidence Intervals for the Population Mean: iid normal theorem3 and pivotal construction
- NIST Engineering Statistics Handbook §1.3.6.6.4: Student t distribution and degrees-of-freedom limits
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored a full German-English article with an original explanation, two worked examples and five varied exercises.
Cite this reference page
Quanta. Confidence interval and standard error of the mean. Updated November 1, 2026. https://quanta-study.de/en/formula-sheet/konfidenzintervall-mittelwert
When citing a specific scientific statement, also cite the specialist source linked to that statement.