Calculate the confidence interval and margin of error for a sample mean using sample size, mean, and standard deviation.
Runs on your device. Nothing you add is uploaded.
%
95% Confidence interval
[50.3175, 54.4825]
Margin of error (±)
±2.0825
Standard error (σ / √n)
1.0625
Z-critical value
1.96
This z-interval assumes you know the population standard deviation. If you only have the sample standard deviation, use a t-interval.
How to use Confidence interval calculator
- Enter your sample mean, standard deviation, and sample size n.
- Choose any confidence level (commonly 90%, 95%, or 99%).
- Read the lower/upper confidence bounds, margin of error, and standard error.
Questions
Because standard error shrinks with √n, cutting the margin of error in half requires four times as many samples.
Wider: to be 99% confident instead of 95% confident with the same data, the interval must cover a broader range.
How this works
Computes standard-error confidence intervals with Acklam's inverse normal CDF.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy
Related tools
More in CalculatorsSample size calculatorFind the required survey or experiment sample size for a selected confidence level, margin of error, and population size.Z-score calculatorCompute the standard z-score and cumulative normal distribution p-values (one-tailed and two-tailed).Standard Deviation CalculatorCalculate sample and population standard deviation, variance, and mean for any dataset.Age CalculatorFind your exact age in years, months, and days, plus total days lived and your next birthday countdown.BMI CalculatorCalculate your Body Mass Index (BMI) in metric or imperial units with WHO weight categories.Mortgage CalculatorEstimate your monthly mortgage payment, total interest, optional housing costs, and yearly amortization schedule.