Home Templates Calculators Videos Academy Software About Contact Login
Statistics

Confidence Interval Calculator

Calculate confidence intervals for a mean or a proportion — choose your confidence level (90%, 95%, 99% or custom), and see the margin of error and lower and upper bounds.

PDF Guide
Was this useful?

Enter your values

Enter a valid sample mean.
Enter a valid SD (greater than 0).
Enter a sample size of at least 2.
Enter a confidence level between 50 and 99.99.
📏

Ready to calculate

Enter your values on the left, then press Calculate.

Margin of error
±
Lower bound
Upper bound
Confidence width
What this means

Simulation Lab

Confidence Interval Simulation

25 patient wait times, mean 18.4 min, SD 4.2 min. Enter the lab and build the 95% confidence interval for the true average.

Complete guide

Confidence Interval Calculator Guide

Use the calculator above to compute confidence intervals for a sample mean or proportion at 90%, 95%, 99% or any custom confidence level. The interval quantifies the precision of a sample estimate — and turns a single number into an honest range that reflects sampling uncertainty.

What it is

What is confidence interval?

A confidence interval (CI) is a range of values that, given the sampling method, is expected to contain the true population parameter at a stated level of confidence. A 95% CI means that if you repeated the sampling many times, 95% of those intervals would contain the true value — not that there is a 95% chance the true value is inside this particular one.

Calculation logic

How the calculation works

For a mean: CI = x̄ ± z × (s ÷ √n), where x̄ is the sample mean, s the standard deviation, n the sample size, and z the critical value from the normal distribution at the chosen confidence level (1.96 for 95%). For a proportion: CI = p̂ ± z × √(p̂(1−p̂)/n).

Worked example

Worked example: precision of a customer-satisfaction estimate

A survey of 400 customers gives a satisfaction score with mean 7.8 and standard deviation 1.5. At 95% confidence: CI = 7.8 ± 1.96 × (1.5 ÷ √400) = 7.8 ± 0.147. The true mean satisfaction is between 7.65 and 7.95 with 95% confidence.

If you doubled the sample to 800, the interval shrinks to 7.8 ± 0.104 — a 30% improvement in precision for double the sampling cost. CIs make the precision-vs-cost trade-off explicit before committing to a sample size.

Why it matters

Operational impact

Confidence intervals replace point estimates with honest ranges. They protect against over-claiming precision and force decisions to be made against a range of plausible outcomes rather than a single number that may be coincidence.

Decision making

When to use it

Use CIs every time you report a sample mean, sample proportion or process capability index. Also use them to test whether a process change has produced a statistically meaningful improvement.

Lean Six Sigma

Link to Six Sigma

CIs sit alongside hypothesis testing and DOE in the inferential statistics toolkit. CIs quantify precision; hypothesis tests answer yes/no questions; DOE optimises across multiple inputs.

Industry examples

Where confidence interval is useful

Quality controlReport process capability indices with CIs to expose how much sampling uncertainty sits behind the headline number.
Market researchReport survey scores as ranges so leadership doesn’t overreact to small movements within noise.
HealthcareReport treatment effects as CIs to honestly communicate clinical significance.
A/B testingReport uplift CIs alongside p-values to show both significance and the practical size of the effect.
Common mistakes

Watch-outs before using confidence interval

  • Saying "there is a 95% chance the true value is in this interval" — that is a Bayesian statement, not what a frequentist CI means.
  • Confusing confidence level (95%) with precision — a narrow CI at 90% may be more useful than a wide CI at 99%.
  • Reporting a CI without the sample size — readers need n to judge the figure.
  • Using the z formula when n is small (under 30); use the t-distribution instead.
  • Comparing two CIs visually instead of running a proper hypothesis test on the difference.
What to do next

Turn the result into action

Use the CI width to decide whether your sample size is adequate. If the interval is wider than the difference you need to detect, increase the sample. Re-run after any process change to see if the new CI overlaps the old one.

Resources

Templates, videos and learning

Pair CIs with hypothesis testing and sample size calculation to make the inferential workflow watertight.

Frequently asked questions

What is a confidence interval?

A range of values that, given the sampling method, is expected to contain the true population parameter at the chosen confidence level (commonly 95%).

What does 95% confidence mean?

If you repeated the same sampling process many times, 95% of the intervals you produce would contain the true value. It is not a probability statement about this particular interval.

Should I use 90%, 95% or 99% confidence?

95% is the default. 90% gives narrower intervals (less rigour) and 99% gives wider intervals (more rigour). The right choice depends on the cost of being wrong.

How do you make a confidence interval narrower?

Increase the sample size — width shrinks proportional to 1/√n. Reducing variability or accepting lower confidence also narrows the interval.

When should I use t instead of z?

When the sample size is small (under 30) or the population standard deviation is unknown — which is most real cases. The t-distribution has heavier tails, giving slightly wider, more honest intervals.

Want to understand how confidence intervals inform decision-making in improvement projects? The Green Belt covers this in full.

View Green Belt →
ml>