Margin of Error Calculator
Margin of error for a survey or poll result.
A confidence interval for a mean or a proportion, t values included.
For a mean.
For a mean.
For a proportion.
| Confidence level | Critical value | Margin of error | Interval |
|---|
Confidence Interval Calculator builds an interval around a sample mean or a sample proportion. The interval is the estimate plus and minus a margin of error, and the margin is a critical value times the standard error of the estimate.
For a mean from a small sample the critical value comes from the t distribution rather than the normal one, and the calculator uses the t table for up to thirty degrees of freedom. This matters: with eight observations the 95 per cent t value is 2.365 against the normal 1.96, so using z would produce an interval about twenty per cent too narrow. A too-narrow interval is a statement of more confidence than the data supports.
The interpretation is the part most often got wrong, and it is worth being precise about. A 95 per cent interval does not mean there is a 95 per cent chance the true value lies in this particular interval. It means the procedure produces intervals that contain the true value 95 per cent of the time. The true value is fixed; it is the interval that varies from sample to sample.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
Looking for something this does not cover? FreeToolStation.com is a second collection of the same kind of everyday tools, and it is worth a look if confidence interval calculator is only part of what you are working on.
The confidence interval calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
For a mean from a sample of fewer than about thirty, where the population standard deviation is unknown. That is the usual case, and the calculator does it automatically.
That the method produces intervals containing the true value 95 per cent of the time. It is a property of the procedure, not a probability about this one interval.
Small samples and large variation both widen it. The margin shrinks with the square root of the sample size, so halving it takes four times the data.
If the confidence interval calculator is not quite what you need, these other free tools solve closely related problems, and there are 13 more in statistics calculators.
Margin of error for a survey or poll result.
Required sample size for a margin of error.
Z-score with percentile and tail probabilities.
Standard deviation, variance, mean, median and quartiles from any list.
Sample and population variance with the full working.
Checked and rebuilt on 2026-10-14. The method this calculator uses is described in the section above, and corrections go through the contact page.