CONFIDENCE Function in Excel: Margin of Error (Older Name)

CONFIDENCE Function in Excel: Margin of Error (Older Name) 1
⏱ 1 min readUpdated 5 October 2026

StatisticsLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. CONFIDENCE in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions

CONFIDENCE returns the normal margin of error for a mean. It is a compatibility function: Excel keeps it so workbooks from Excel 2007 and earlier still calculate, but Microsoft recommends CONFIDENCE.NORM for new work. Both give the same result.

Advertisement

Syntax

=CONFIDENCE(alpha, standard_dev, size)
Argument What it means
alpha 0.05
standard_dev SD
size n

Examples

Example 1

=ROUND(CONFIDENCE(0.05,A2,B2),2)

Result: 2.35. See the worked example table below for more cases.

💡 For new workbooks use CONFIDENCE.NORM: it gives the same answer and is the name Microsoft keeps documenting.

CONFIDENCE in practice

Where you will use it

  • Opening and checking older workbooks that use CONFIDENCE
  • Understanding formulas shared by colleagues on older Excel versions
  • Knowing when to swap in CONFIDENCE.NORM for clarity

Worked example

SDnFormulaResult
12100=ROUND(CONFIDENCE(0.05,A2,B2),2)2.35
12400=ROUND(CONFIDENCE(0.05,A3,B3),2)1.18
530=ROUND(CONFIDENCE(0.05,A4,B4),2)1.79

Results calculated in Excel. Same result as CONFIDENCE.NORM.

Mistakes people make

MistakeWhat to do instead
Using CONFIDENCE in new filesPrefer CONFIDENCE.NORM: same result, clearer name, and the function Microsoft keeps improving
Mixing old and new names in one modelPick one style per workbook so formulas are easy to audit

CONFIDENCE.NORM

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

Advertisement
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong