Skip to content
Toolew.com

Confidence Interval Calculator

Builds a confidence interval for a sample mean using the normal (z) approximation, at 90%, 95% or 99% confidence.

Runs in your browser. Your data is not uploaded.
Loading tool…

Tool guide

What this tool does

Confidence Interval Calculator builds a confidence interval for a sample mean from pasted data, using the normal (z) approximation at your chosen confidence level, with the correct statistical interpretation of what the interval does and doesn’t mean.

A single sample mean is just one estimate of the true population mean, a confidence interval expresses the range that estimate is likely to fall within, given the sample’s size and variability, a more honest summary than a single point estimate alone.

This calculator builds that interval from your pasted sample data at your chosen confidence level (90%, 95%, or 99%), using the normal (z) approximation appropriate for a reasonably large sample.

How to use Confidence Interval Calculator

  1. Paste your sample data, separated by commas, spaces or newlines.
  2. Choose your confidence level.
  3. Review the sample mean, margin of error, and resulting confidence interval.
  4. Report the full interval, not just the point estimate, for an honest summary.

Tips for better results

  • The correct interpretation is: "if we repeated this sampling process many times, X% of the resulting confidence intervals would contain the true population mean," not "there’s an X% chance the true mean is in this specific interval," a common but technically incorrect simplification.
  • This uses the normal (z) approximation, appropriate for a reasonably large sample size (n ≥ 30 is a common rule of thumb); for a small sample, a t-distribution interval would be more accurate and produce a slightly wider (more conservative) interval.
  • A higher confidence level (99% vs 90%) produces a wider interval, there’s an inherent tradeoff between how confident you are and how precise (narrow) the interval can be.
  • A wider margin of error relative to the mean suggests either high variability in your data or a small sample size, collecting more data generally narrows the interval for a given confidence level.

Common use cases

  • Expressing the uncertainty around a sample mean estimate rather than reporting just a single point value.
  • Comparing two samples’ confidence intervals to see whether their ranges overlap meaningfully.
  • Reporting a statistically honest summary of survey or experimental data.
  • Understanding how sample size and variability affect the precision of an estimate.

Common mistakes to avoid

  • Misinterpreting the confidence interval as "there’s a 95% chance the true mean falls in this range", the technically correct interpretation is about the long-run reliability of the method across repeated sampling, not a probability statement about this one specific interval.
  • Using the normal (z) approximation on a small sample (well under n=30) without adjusting, a t-distribution interval would be more appropriate and slightly wider for small samples, this calculator’s z-based result may understate the true uncertainty in that case.
  • Assuming a narrower interval always means better data, a narrow interval from a tiny, unrepresentative sample isn’t more trustworthy than a wider interval from a larger, well-designed one.

Frequently asked questions

What does a 95% confidence interval actually mean?

If the sampling process were repeated many times, 95% of the resulting intervals would contain the true population mean; it’s a statement about the reliability of the method over repeated sampling, not a 95% probability about this one specific interval.

Should I use this for a small sample?

This uses the normal (z) approximation, best suited to a reasonably large sample (n ≥ 30 is a common rule of thumb); for smaller samples, a t-distribution interval would be more accurate and typically wider.

Why does a higher confidence level produce a wider interval?

There’s an inherent tradeoff, being more confident the true value is captured requires casting a wider net; 99% confidence is less precise (wider) than 90% confidence for the same data.

Is my data uploaded anywhere?

No, the interval is computed entirely client-side in your browser; your sample data stays on your device.

Feedback & suggestions

Help us improve Confidence Interval Calculator. We read every message.

Rating (optional)
Necessary
Required for security, language and theme preferences. Always on.