Confidence Interval Calculator

Switch between mean and proportion modes to estimate population parameters from sample data.

Inputs — Mean

Common values: 90, 95, 99

Results — Mean

Use this Confidence Interval Calculator to estimate a confidence interval for a population mean or population proportion from sample data.

Calculation Method

This calculator currently uses Z-based confidence intervals.

Mean confidence interval:

x̄ ± z × (s ÷ √n)

Proportion confidence interval:

p̂ ± z × √[p̂(1 − p̂) ÷ n]

Where:

p̂ = number of successes ÷ sample size

Example

Suppose a sample has:

Mean = 50
Standard deviation = 10
Sample size = 100
Confidence level = 95%

The standard error is:

SE = 10 ÷ √100 = 1

Using z = 1.96:

Margin of error = 1.96 × 1 = 1.96

The 95% confidence interval is:

50 ± 1.96 = 48.04 to 51.96

Important Note

A 95% confidence interval does not mean there is a 95% probability that the true value lies inside one calculated interval. Under repeated sampling with the same method, approximately 95% of such intervals would contain the true parameter.

For small samples with an unknown population standard deviation, a t-based mean interval may be more appropriate. Simple normal proportion intervals may also be unsuitable for small samples or proportions close to 0 or 1.

Sources

View Sponsored Offers →

Related Tools

Median Calculator

Use our Median Calculator to find the middle value of any data set. Supports raw numbers, value:count input, sorted preview, and instant live results.

Sample Size Calculator

Use our Sample Size Calculator to estimate sample size for a mean or proportion from confidence level, margin of error, and optional finite population correction.

IQ PERCENTILE CALCULATOR

Use our IQ Percentile Calculator to convert an IQ score into percentile rank, percent above, and percent below using SD 15 or SD 16 normal-distribution scales.

Standard Deviation Calculator

Use our Standard Deviation Calculator to find sample or population standard deviation from a data set. Get variance, mean, range, and sorted values fast.

Margin of Error Calculator

Use our Margin of Error Calculator to find margin of error for a mean or proportion from sample size, confidence level, and z value.

Z-score Calculator

Use our Z-Score Calculator to standardize a value or sample mean, convert percentile to z, convert z to percentile, and view left-tail and right-tail probabilities.

t-test Calculator

Use our T-Test Calculator to compute t statistic, p-value, confidence interval, and conclusion for one-sample, Welch, pooled, or paired t-tests.

Chi-Square Calculator

Use our Chi-Square Calculator to run goodness-of-fit and independence tests, or find right-tail p-values and critical χ² values from df and alpha.

Percentile Calculator

Use our Percentile Calculator to find percentile values from a data set with nearest rank or linear interpolation. Supports raw numbers and value:count input.