Calculators
Confidence Interval Calculator (Mean)
Compute a confidence interval for a population mean from raw data or summary statistics, using the t-distribution — correct for the small samples the normal formula gets wrong.
The Formula Behind the Result
- Paste raw measurements separated by commas, spaces, or newlines — the tool computes mean, standard deviation, and n for you.
- Or switch to summary mode and enter the mean, standard deviation, and sample size directly.
- The interval uses the t-distribution with n−1 degrees of freedom, which widens intervals honestly for small samples.
- Standard error and margin of error are reported separately so you can see what drives the width.
Worked Example
Common Questions
When should I use t instead of z (1.96)?
Whenever the standard deviation is estimated from the sample — which is almost always. The t-distribution accounts for that extra uncertainty; below n ≈ 30 the difference is material, and above a few hundred it becomes negligible.
What assumptions does this interval make?
Roughly independent observations and a distribution that is not extremely skewed (the Central Limit Theorem helps with larger n). For heavy-tailed data or tiny samples, consider reporting the median with a bootstrap interval instead.
Why is my interval so wide?
Width scales with s/√n: halving the width requires four times the data, and reducing measurement variability is often cheaper than collecting more. The tool separates SE and margin of error so you can see which lever matters.
Related Calculators
Confidence Interval Calculator (Proportion)
Build a confidence interval for a proportion from successes and trials — with the Wilson interval that stays accurate for small samples and 0% or 100% results.
RMSE & MAE Calculator
Paste paired predictions and observations to get RMSE, MAE, MAPE, bias, and R² — the standard error metrics for evaluating forecasts, models, and measurements.
Sample Size Calculator
Find the minimum sample size for a survey or experiment: one-proportion studies with a margin of error, or two-group comparisons powered at 80% with α = 0.05.