In Excel: use =CONFIDENCE.NORM(0.05, sd, n) — it returns the margin of error for a 95 % confidence interval around a mean.
Syntax
Arguments
| Argument | 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
n = 6 · mean = 14.67
Variance = 17.067
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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. 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, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “confidence interval excel graph”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
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.
Other ways people ask this
This guide also answers
- confidence interval chart excel