Confidence Interval Calculator
Confidence intervals for a mean (t or z), a proportion (Wilson, Agresti–Coull or Wald) or a difference of two means, with assumptions stated.
Open toolWork out how many responses you need for a survey proportion or a mean at a chosen margin of error and confidence — or the margin for a given sample.
Estimate the sample size needed to measure a proportion (such as the share of customers who agree with a statement) or a mean to within a chosen margin of error at 80–99.9% confidence. Enter a population size to apply the finite population correction for small populations, or switch to solve for the margin of error a given sample will achieve.
The working is shown — the critical value, the unrounded n₀ and the corrected n — with a table of sample sizes at other margins and confidence levels and a reminder to allow for non-response. The formulas assume a simple random sample and cover sampling error only. Everything is calculated in your browser; nothing you enter is uploaded.
Your details
Numbers
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Shown instantly, ready to copy or export
Choose proportion or mean.
Set the confidence level and the margin of error.
Enter the expected proportion (50% if unsure) or an estimated standard deviation.
Optionally enter the population size.
Zero-upload architecture
Free, with no sign-up or watermark · Your details stay on your device
Launch the app. There is nothing to install and no account to create.
Set the confidence level and the margin of error.
Optionally enter the population size.
Confidence intervals for a mean (t or z), a proportion (Wilson, Agresti–Coull or Wald) or a difference of two means, with assumptions stated.
Open toolWrite survey questions with Likert, multiple-choice, rating and ranking formats, and get instant warnings about biased wording.
Open toolRun one-sample, Welch, paired, proportion and chi-square tests: test statistic, p-value, decision at α, effect size and plain-language interpretation.
Open toolCalculate mean, median, mode, variance, standard deviation, quartiles, outliers and skewness, with a box plot and frequency table.
Open tool