Mathematics· Exact, step by step
Build a confidence interval for a mean with the t or z distribution, and see the margin of error.
Formula
x̄ ± critical value × s ÷ √n (t with n − 1 df, or z when σ is known)
Worked example
Mean 50, s = 8, n = 25, 95%: t = 2.0639, margin 3.3023, interval 46.70 to 53.30.
Free to use with a link back. Nothing you type is shared.
Preparing citation…
Keep exploring
Calculate the standard error of the mean from a standard deviation and sample size, or from raw data.
Open calculatorFind how many responses you need for a survey proportion or a mean at a chosen confidence and margin of error.
Open calculatorRun one-sample, independent (Welch or pooled) and paired t-tests from raw data.
Open calculator