In Excel: use =CONFIDENCE.NORM(0.05, sd, n) — it returns the margin of error (the ± half-width) of a confidence interval around a mean, at a confidence level of 1 − alpha: alpha 0.05 gives 95 %, alpha 0.01 gives 99 %.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
alpha | required | Significance level — 0.05 for 95 % confidence. |
standard_dev | required | The population or sample standard deviation. |
size | required | The sample size. |
Related functions
Compute the sample mean, standard deviation and count.
Type =CONFIDENCE.T( for a small sample or =CONFIDENCE.NORM( for a large one.
Enter 0.05 for 95 % confidence — the argument is alpha, not the confidence level.
Add the deviation and the sample size, then report the mean plus and minus the result.
What this does
CONFIDENCE returns the half-width of a confidence interval: the ± figure you place around a sample mean. The alpha argument is a significance level, not a confidence level, so 95 % confidence means passing 0.05 — the most common mistake with this function by a wide margin. CONFIDENCE.T uses the t-distribution and is the correct choice for small samples where the population deviation is unknown, which describes most real survey and test data. The result shrinks with the square root of the sample size, which is why quadrupling a sample only halves the error. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “confidence interval excel graph” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected chart shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a visual that makes the number obvious at a glance into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
A survey of 400 people with a mean of 7.2 and a deviation of 1.8: =CONFIDENCE.NORM(0.05, 1.8, 400) returns about 0.18, so the interval is 7.2 ± 0.18. Reporting it: ="7.2 ± " & ROUND(CONFIDENCE.NORM(0.05,1.8,400),2). For a sample of 25, =CONFIDENCE.T(0.05, 1.8, 25) is the honest choice and returns a noticeably wider figure. CONFIDENCE is what turns a sample mean into an honest claim, and the alpha-versus-confidence confusion is what makes it so often wrong. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. For “confidence interval excel graph”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Passing 0.95 instead of 0.05, which produces a nonsensically small margin.
- Using CONFIDENCE.NORM on a small sample where the t-distribution is correct and gives a wider, honest interval.
- Reporting a mean without an interval at all, which implies a precision the sample does not support.
Frequently asked questions
What alpha do I use for 95 % confidence?
0.05. Alpha is the significance level, which is 1 minus the confidence level.
CONFIDENCE.NORM or CONFIDENCE.T?
T for small samples with an unknown population deviation — which is most real data. NORM for large samples.
How do I halve my margin of error?
Quadruple the sample size. The margin shrinks with the square root of n.