Confidence Interval Calculator
Estimate a two-sided Student's t interval for a sample mean or a Wilson score interval for a sample proportion from summary sample data.
137 of 250 respondents support the proposal. Use proportion mode to estimate a plausible support range before reporting the poll.
Wilson intervals still widen when confidence rises or n falls. For the same n, proportions near 50% are less precise than proportions near 0% or 100%. Here, 95% confidence with 137 successes out of 250 gives a half-width of 6.123.
Plausible range under the chosen model, not an exact or guaranteed truth. Sample quality, independence, and the selected confidence level all affect how persuasive the interval is.
Was this useful?
Examples
How It Works
Formula
Variables
- Sample mean
- Sample standard deviation
- Sample size
- Degrees of freedom, equal to n - 1 in mean mode
- Two-sided Student's t critical value for the chosen confidence level
- Number of successes in proportion mode
- Sample proportion, equal to x / n
- Two-sided normal critical value used by the Wilson score interval
Choose mean interval or proportion interval, enter the sample summary you already have, and the calculator returns the interval, margin of error, standard error, and critical value.
Mean mode uses the two-sided Student's t interval with , so smaller samples carry a wider critical value than a normal-model shortcut. Proportion mode uses the Wilson score interval on purpose instead of the naive Wald form , because Wilson behaves better when is modest or the sample proportion sits near 0 or 1.