Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Ci Interval Calculator

Confidence Interval Calculator works out Lower limit and Upper limit from Interval for, Sample size (n) and Confidence level. The default figures on this page give margin of error of 1.959964; change any entry and the result, the working and the sources update together.

Margin of error
1.959964
Confidence Interval Calculator
Lower limit
48.040036
Upper limit
51.959964
Point estimate
50
Standard error
1
Critical value
1.959964
Confidence level
95 %
Alpha (1 - confidence)
0.05
Width of the interval
3.919928
Finite population correction
1
Interval
(48.040036, 51.959964)
Method
z interval for a mean with a known population standard deviation
Worked out from NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.2 Confidence Limits for the Mean and 4 other sources.
A confidence interval only describes sampling error under its stated model. It says nothing about bias, non-response or measurement error, and the Bayesian mode is only as defensible as the prior you enter.

Your figures

Updates as you type
Required for the mean intervals.
Used by the t interval.
Used by the z interval, when sigma is genuinely known.
Used by the proportion intervals.
An alternative to the success count for the Wald and Wilson intervals.
Beta(1,1) is the uniform prior. Only used by the Bayesian method.
Applies the finite population correction when the sample is a large share of the population.

How this is worked out

4 steps
  1. Standard error = 10 / sqrt(100) = 1.
  2. The 97.5th percentile of the standard normal distribution is 1.9599639845.
  3. Margin of error = 1.9599639845 x 1 = 1.9599639845.
  4. Interval = 50 +/- 1.9599639845 = (48.04003602, 51.95996398).

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

5 sources
NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.2 Confidence Limits for the Mean
2012 · xbar +/- t(1-alpha/2, n-1) s / sqrt(n), and the z form when sigma is known.
Wilson, E.B. (1927), "Probable Inference, the Law of Succession, and Statistical Inference", JASA 22(158), 209-212
The score interval for a binomial proportion used by the Wilson method here.
Brown, L.D., Cai, T.T. & DasGupta, A. (2001), "Interval Estimation for a Binomial Proportion", Statistical Science 16(2), 101-133
Shows the Wald interval's coverage failure near 0 and 1 and recommends the Wilson score interval, which is why both are offered and Wald is warned about.
Cochran, W.G. (1977), Sampling Techniques, 3rd ed., section 2.8
Finite population correction sqrt((N - n)/(N - 1)) applied to the standard error.
Gelman et al. (2013), Bayesian Data Analysis, 3rd ed., chapter 2
Beta-binomial conjugacy: a Beta(a, b) prior with x successes in n trials gives a Beta(a + x, b + n - x) posterior; the equal-tailed credible interval is the pair of posterior quantiles.

What the Confidence Interval Calculator calculates

Computes a confidence interval for a population mean (Student t when sigma is unknown, z when it is known) or for a proportion (Wald or Wilson score), with the critical value, standard error, margin of error and an optional finite-population correction, plus the Bayesian credible interval from a Beta posterior.

How to use this Confidence Interval Calculator

Enter Interval for, Sample size (n), Confidence level and Sample mean. Lower limit updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Lower limit, Upper limit and Point estimate.

The method follows NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.2 Confidence Limits for the Mean, Wilson, E.B. (1927), "Probable Inference, the Law of Succession, and Statistical Inference", JASA 22(158), 209-212, Brown, L.D., Cai, T.T. & DasGupta, A. (2001), "Interval Estimation for a Binomial Proportion", Statistical Science 16(2), 101-133, Cochran, W.G. (1977), Sampling Techniques, 3rd ed., section 2.8 and Gelman et al. (2013), Bayesian Data Analysis, 3rd ed., chapter 2.

Mean with a known sigma: n = 100, mean 50, sigma 10, 95% example

With Interval for: mean-z, Sample size (n): 100, Sample mean: 50, Population standard deviation (sigma): 10, the calculator returns Standard error: 1, Critical value: 1.95996398, Margin of error: 1.95996398. This example is checked against an independent source in the test suite.

What you can compare

Change one input at a time to see how it affects Lower limit, Upper limit and Point estimate. The inputs you can vary are Interval for, Sample size (n), Confidence level, Sample mean, Sample standard deviation (s) and Population standard deviation (sigma).

Understanding Lower limit, Upper limit and Point estimate

A confidence interval only describes sampling error under its stated model. It says nothing about bias, non-response or measurement error, and the Bayesian mode is only as defensible as the prior you enter.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How to calculate a 95% confidence level?

Computes a confidence interval for a population mean (Student t when sigma is unknown, z when it is known) or for a proportion (Wald or Wilson score), with the critical value, standard error. Open “How this is worked out” beside the result to see each step for your own figures.

How many SD is 95% confidence?

On the figures this page opens with — confidence level 95%, sample mean 50 and population standard deviation (sigma) 10 — the margin of error is 1.959964. No single number fits everyone: change any figure above and the answer updates as you type, with each step of the arithmetic beside it.

How is confidence calculated?

It needs Interval for, Sample size (n), Confidence level, Sample mean, Sample standard deviation (s) and Population standard deviation (sigma). Nothing else is required, and the figures stay in your browser.

How to use TI-84 for confidence interval?

The result gives Lower limit, Upper limit, Point estimate, Margin of error, Standard error and Critical value, each labelled with its unit so the figure can be read on its own.

What information do I need for the Confidence Interval Calculator?

You need Interval for, Sample size (n), Confidence level, Sample mean, Sample standard deviation (s), Population standard deviation (sigma), Number of successes (x) and Sample proportion. The page opens with default figures that give margin of error of 1.959964, so you can see the scale before entering your own.

What does this Confidence Interval Calculator show?

It shows Lower limit, Upper limit, Point estimate, Margin of error, Standard error, Critical value, Degrees of freedom and Confidence level, with the working and any warnings for your entries.

Related calculators

View all related calculators11 more