Skip to main content

Confidence Interval Calculator

Build a normal (z) confidence interval for a mean from sample mean, SD, sample size, and a common confidence level. Educational large-n form, not a Student-t table product.

Rated 4.8 out of 5 based on 334 reviews

Results

How to build a mean confidence interval

  1. Enter the sample mean you already computed from your data.
  2. Enter standard deviation s (0 or greater) and sample size n as an integer of at least 2.
  3. Choose a confidence percent: 80, 90, 95, 98, or 99. The page maps that choice to a fixed normal z.
  4. Read lower and upper bounds, margin of error, standard error, and the z that was used. Nothing is uploaded.

Normal mean confidence interval

x̄ ± z × (s / √n) for common levels

Formulax̄ ± z × (s / √n)
Levels80, 90, 95, 98, 99 with fixed normal z
OutputsLower bound, upper bound, margin of error, SE, z
Defaultsmean = 100, s = 15, n = 25, level = 95
ApproximationLarge-n normal / z interval
Not includedStudent-t critical values or proportion Wilson intervals

What this confidence interval page computes

A confidence interval for a mean states a range around the sample mean using a critical z and the standard error s / √n. This page supports five common percents and returns both endpoints plus the margin of error. It is a classroom normal approximation. It is not a bootstrap interval, not a Bayesian credible interval, and not a t-table product for small n.

How bounds and margin are formed

SE = s / √n. Margin of error = z × SE. Bounds are mean minus margin and mean plus margin. Built-in z values include about 1.282 for 80%, 1.645 for 90%, 1.960 for 95%, 2.326 for 98%, and 2.576 for 99%. With defaults mean = 100, s = 15, n = 25, and 95%, SE = 3 and the margin is about 5.88, so the interval runs near 94.12 to 105.88.

Margin of error, SE, and related calculators

Entities: sample mean, standard error, critical z, margin of error, and confidence level. The one-sample t statistic without an interval is on t-score. Standardizing a single observation is z-score. Planning how large n should be for a proportion Wald sketch is sample size. Averaging a typed list first is the mean calculator.

Use cases

Homework that already gives x-bar, s, and n and asks for a 95% z interval. Comparing how 90% versus 99% widens the margin for the same SE. Not a survey vendor deliverable and not a replacement for software that uses exact t quantiles when n is small.

How to read the percent

A 95% interval is a procedure that covers the true mean in 95% of repeated samples under the model assumptions. It is not the probability that this one realized interval contains the mean in a Bayesian sense. Raising the confidence percent raises |z| and widens the margin; raising n shrinks SE and tightens the interval.

Limits

Only the listed percents unless you somehow feed a custom z through the engine API. No proportion Wilson/Agresti form on this page. No finite population correction. Educational only. CZNull does not receive the numbers.

Confidence interval questions

What formula builds the interval?
Sample mean plus or minus z times (s divided by the square root of n).
Which z does 95% use?
About 1.960, the usual two-sided normal quantile stored for the 95% choice.
Is this a Student-t interval?
No. The page uses fixed normal z values. Small-sample courses that require t critical values need a table or other software.
What do the defaults produce?
mean 100, s 15, n 25, and 95% give SE = 3 and a margin near 5.88, so roughly 94.12 to 105.88.
Why must n be at least 2?
A sample SD and a meaningful SE for this classroom form need more than one observation. The engine rejects n below 2.
Where do I plan n before sampling?
Use the sample-size calculator for a Wald proportion sketch. This page assumes you already have mean, s, and n.