Interactive module guide
Confidence Interval Calculator — From Summaries
This confidence interval calculator builds z, t, Wilson, exact, and chi-square intervals directly from summary statistics.
Free · No sign-up · Calculations stay in your browser
This calculator builds confidence intervals directly from summary statistics—no raw data required.
Five interval types are supported: the t interval for a mean (σ estimated), the z interval for a mean (σ known), Wilson and Clopper–Pearson intervals for a proportion, and the χ² interval for a standard deviation.
Each result reports the interval, its margin of error or width, and a one-line statement of the method’s assumptions, so the interval can be quoted with its fine print attached.
Use the confidence interval calculator when only summary statistics are available; pick the interval type that matches how the summaries were produced.
When to use this confidence interval calculator
Use it when
- Use it when only summaries are available—a published mean and SD, a report’s count of successes—and the interval is needed without reconstructing raw data.
- Use it for survey margins of error: successes and trials in, Wilson interval out, with small-sample behavior far better than the textbook Wald formula this site deliberately does not offer.
- Use it in teaching to separate estimation from testing: the same summaries that feed a hypothesis test here produce a range of compatible parameter values instead of a verdict.
Choose another method when
- Avoid the z-mean interval unless σ truly is known from an independent source; “I used the sample SD as σ” is the t interval done wrong.
- Avoid the χ² interval for spread when the data are visibly non-normal; unlike the mean intervals, it has no central-limit safety net and its coverage degrades quickly.
- Avoid combining intervals from non-random or clustered samples with the independence-based formulas here; the arithmetic will run, and the coverage claim will be false.
Interactive tool
The calculator loads as you approach this section so the guide remains fast on mobile connections.
Example preview
Mean interval from a summary line
- Inputs
- x̄=10, s=2, n=25; 95% t interval.
- Representative result
- The interval is 10 ± 0.8256, or [9.17, 10.83], with df=24.
Illustrative only. Load the interactive tool to enter your own values and review assumptions.
Watch the explanation
2:37 minThe player loads only after you press play. You can also watch on YouTube.
Read the complete transcript
Confidence Intervals. A confidence interval pairs an estimate with sampling uncertainty. Ninety-five percent describes the long-run coverage of the procedure, not a ninety-five percent probability about this fixed interval. Route the parameter first: an unknown-sigma t mean, a known-sigma z mean, a Wilson proportion, an exact binomial proportion, or a standard deviation. Choose confidence before looking at the endpoints. The remaining alpha is split across two tails, and the reference distribution supplies the critical quantile. For the usual mean interval, population sigma is unknown. Use x bar plus or minus t star times s over square root n, with n minus one degrees of freedom. Use the z branch only when population sigma is known independently. A large sample alone does not turn an estimated standard deviation into known sigma. For proportions, Wilson inverts the score test and behaves well near zero, one, and in smaller samples. Clopper-Pearson instead inverts exact binomial tails. Exact here means at-least-nominal coverage, not guaranteed equality. Those limits are often wider. For a standard deviation, a chi-square pivot creates asymmetric limits and assumes normality.
Start a ninety-five percent t interval with x bar ten, sample s two, and twenty-five independent observations. The standard error is point four. With twenty-four degrees of freedom, t star is about two point zero six three nine. The margin is point eight two five six, so the interval runs from nine point one seven four four to ten point eight two five six. Now observe fifty-four successes in eighty trials. The Wilson ninety-five percent interval is about fifty-six point six four to seventy-six point seven six percent. The exact binomial interval is about fifty-six point one one to seventy-seven point five five percent. Its extra width is the price of conservative tail coverage. With sample s two and n twenty-five, the normal-model interval for population standard deviation is one point five six one seven to two point seven eight two three. Asymmetry is correct. Margins shrink only with the square root of n, so halving one needs roughly four times the data. These tools do not repair clustering, selection bias, or nonnormal variance data. Build an interval free at Distri Scope dot com.
How to read the result
The margin of error halves only when the sample size quadruples; the √n law is the first thing to check against expectations.
Asymmetry in the proportion and σ intervals is correct behavior near boundaries, not a computational quirk.
An interval is a statement about the procedure’s long-run coverage — 95% of such intervals contain the parameter — not a 95% probability statement about this one interval.
How to use the confidence interval calculator
Pick the interval type first; the form then shows only the summaries that type needs (mean/SD/n, successes/trials, or SD/n).
The confidence level is entered as a proportion (0.95, not 95); levels between 0.5 and 0.9999 are accepted.
Proportion inputs are raw counts, not percentages, so the calculator can apply exact and score methods.
Formula, hypotheses, and assumptions
Conditions to review
- Summary statistics come from one simple random sample
- Mean intervals assume approximate normality of the mean
- The σ interval is sensitive to non-normality
- Proportion intervals need genuine binary outcomes
Calculator parameters
- Interval Type: default Mean (σ unknown, t).
- Sample Mean (x̄): default 10.
- Sample Std Dev (s): default 2.
- Population Std Dev (σ): default 2.
- Sample Size (n): default 25.
- Successes (x): default 54.
- Trials (n): default 80.
- Confidence Level: default 0.95.
What the method is doing
Mean intervals use x̄ ± q·SE with the normal or t quantile; the t version carries n − 1 degrees of freedom and is the default.
The Wilson interval inverts the score test; Clopper–Pearson inverts exact binomial tails and guarantees at-least-nominal coverage at the cost of extra width — the display names which one was used.
The σ interval pivots on (n−1)s²/σ² ~ χ²(n−1) and is asymmetric around s by construction.
Worked example: a mean from one summary line
A report states x̄ = 10, s = 2, n = 25 for a measurement of interest. Build the 95% t interval for the population mean and read its fine print.
- 1The standard error is s/√n = 2/5 = 0.4.
- 2The t quantile at 24 degrees of freedom is t₀.₉₇₅ = 2.0639.
- 3The margin of error is 2.0639 × 0.4 ≈ 0.8256, giving the interval [9.174, 10.826].
- 4Fine print: the interval assumes the 25 observations were one independent random sample; with clustering or selection, the stated 95% coverage would be fiction.
Interpretation
Values of the population mean between about 9.17 and 10.83 are compatible with the summary at the 95% level. Quadrupling the sample to n = 100 would roughly halve the margin to ±0.40 — the concrete cost of precision. The same inputs fed to a one-sample t test against any μ₀ outside the interval would reject; estimation and testing are two readings of one calculation.
Common mistakes
- Do not quote the interval without its n; a wide interval from n = 5 and a narrow one from n = 500 carry very different information at identical confidence levels.
- Do not use the Wald proportion interval from textbooks for small samples; this calculator deliberately offers Wilson and exact methods instead.
- Do not interpret 95% as the probability the parameter is inside this specific interval; the probability statement belongs to the procedure.
Limits and independent validation
Only single-sample intervals are built here; intervals for differences appear inside the corresponding hypothesis-test modules.
The σ interval’s normality sensitivity has no built-in diagnostic — that requires raw data and the fitting tool.
Bootstrap intervals require raw data and live in the data-fitting workspace, not here.
Before using the result
- Recompute the margin by hand (quantile × SE) for the mean intervals; it is a two-step check.
- For proportions, compare Wilson and Clopper–Pearson on the same counts: exact should be wider, and both should contain p̂.
- Check the duality against the matching hypothesis test: a μ₀ inside the 95% interval must not be rejected at α = 0.05 two-sided.
Related modules and resources
Explore Other Hypothesis Tests
- One Sample Z-Test Calculator
- One Sample T-Test Calculator
- Two Sample Z-Test Calculator
- Two Sample T-Test Calculator
- Paired T-Test Calculator
- One-Way ANOVA Calculator
- Two-Way ANOVA with Replication
- Chi-Square Test Calculator
- Chi-Square Goodness-of-Fit Test
- F-Test Calculator
- One-Proportion Z-Test
- Two-Proportion Z-Test
- Exact Binomial Test
- Fisher’s Exact Test
- McNemar Test
- Mann-Whitney U Test
- Wilcoxon Signed-Rank Test
- Sign Test
- Kruskal-Wallis Test
- Friedman Test
- Pearson Correlation Test
- Spearman Correlation Test
- Kendall Tau Test
- Levene Test
- Brown-Forsythe Test
- Welch ANOVA
- Repeated Measures ANOVA
- TOST Equivalence Test
- Power & Sample Size
- Confidence Interval Calculator
- Critical Value Lookup
See every option in the Statistical Hypothesis Test Calculator or review the DistriScope methodology. Educational information; last reviewed 2026-08-09. Verify consequential calculations independently.