About Confidence Interval Calculator
A confidence interval estimates a population mean by pairing the sample mean with a margin of error. This calculator uses the t distribution because the population standard deviation is estimated from the sample, and it shows the degrees of freedom and t critical value behind the interval.
Choose 90%, 95% or 99% confidence. The result is a range of plausible values under the sampling model, not a probability statement about this particular interval: the method has long-run coverage, while the realized interval either contains the fixed population mean or does not.
What this tool does
t-based interval, not a z shortcut
The critical value comes from Student's t distribution with n − 1 degrees of freedom, matching an estimated sample SD.
Margin of error and standard error
See the standard error, the t critical value, the margin of error and both interval bounds, not just the final range.
90%, 95% and 99% confidence
Switch the confidence level and watch the interval widen or narrow while the point estimate and sample statistics stay fixed.
Frequentist interpretation included
A dedicated note explains coverage and why a 95% interval is not a 95% probability that the parameter lies inside this specific range.
Assumptions and formula shown
The assumptions and the substituted SE = s/√n calculation sit next to the result so the method is auditable.
Private browser calculation
The summary statistics are processed locally; no data is uploaded and no account is required.
How to use Confidence Interval Calculator
- 01
Enter the sample summary
Type the sample mean, the sample standard deviation using n − 1, and the sample size. The size must be a whole number of at least 2.
- 02
Choose a confidence level
Pick 90%, 95% or 99%. The alpha used for the critical value changes with the selected level.
- 03
Read the interval and margin
The lower and upper bounds show the interval; the margin of error is half its width, and the standard error is s/√n.
- 04
Check the assumptions
Confirm a random sample, independent observations and approximate normality, especially for small n or skewed data.
- 05
Report it with the estimate
Present the mean and interval together, and avoid describing the interval as a probability that the parameter is inside it.
How this tool works
- Works with
- MEAN & SD → CONFIDENCE INTERVAL
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Requirements
- A modern browser with JavaScript enabled · A sample mean, sample standard deviation and whole-number sample size of at least 2
Limitations worth knowing
- Only a confidence interval for a single population mean is produced; proportions, medians, differences between groups and regression coefficients need different formulas.
- The interval assumes a random sample, independent observations and approximate normality; it does not test or repair those conditions.
- The sample SD is assumed to be valid for the sample and the model; outliers and measurement errors can widen or distort the interval.
- The result is a frequentist interval, not a Bayesian credible interval, and it does not provide a probability that this specific interval contains the parameter.
Privacy and file handling
The sample mean, standard deviation and size are calculated entirely inside this browser tab. No value is uploaded or stored, and the tool makes no network request with your data. Closing the page clears the inputs and result.
Read the full privacy policy
