Compatibility Excel 2007 (Compatibility) ◉ 19 views

=CONFIDENCE()

Returns the confidence interval for a population mean, using a normal distribution. The confidence interval is a range of values. Your sample mean, x, is at the center of this range and the range is x ± CONFIDENCE. For example, if x is the sample mean of delivery times for products ordered through the mail, x ± CONFIDENCE is a range of population means. For any population mean, μ0, in this range, the probability of obtaining a sample mean further from μ0 than x is greater than alpha; for any population mean, μ0, not in this range, the probability of obtaining a sample mean further from μ0 than x is less than alpha. In other words, assume that we use x, standard_dev, and size to construct a two-tailed test at significance level alpha of the hypothesis that the population mean is μ0. Then we will not reject that hypothesis if μ0 is in the confidence interval and will reject that hypothesis if μ0 is not in the confidence interval. The confidence interval does not allow us to infer that there is probability 1 – alpha that our next package will take a delivery time that is in the confidence interval. For more information about the new functions, see CONFIDENCE.NORM function and CONFIDENCE.T function.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=CONFIDENCE(alpha,standard_dev,size)
Hover argument names in the table for details.
Output typeNumber
Popularity28 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =CONFIDENCE() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
Download CONFIDENCE.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
alpha Number Required The significance level used to compute the confidence level. The confidence level equals 100*(1 - alpha)%, or in other words, an alpha of 0.05 indicates a 95 percent confidence level.
standard_dev Number Required The population standard deviation for the data range and is assumed to be known.
size Number Required The sample size.

▣ Examples

▦ Data
CellValueDescription
A2 0.05 Significance level
A3 2.5 Standard deviation of the population
A4 50 Sample size
A5 0.05 Significance level
A6 2.5 Standard deviation of the population
A7 50 Sample size
Confidence interval for a population mean. In other words, the confidence interval for the underlying population mean for travel to work equals 30 ± 0.692952 minutes, or 29.3 to 30.7 minutes. =CONFIDENCE(A2,A3,A4)
Result: 0.692951912

§ Remarks

  • If any argument is non-numeric, CONFIDENCE returns the #VALUE! error value.
  • If Alpha is ≤ 0 or ≥ 1, CONFIDENCE returns the #NUM! error value.
  • If Standard_dev ≤ 0, CONFIDENCE returns the #NUM! error value.
  • If Size is not an integer, it is truncated.
  • If Size < 1, CONFIDENCE returns the #NUM! error value.
  • If we assume Alpha equals 0.05, we need to calculate the area under the standard normal curve that equals (1 - alpha), or 95 percent. This value is ± 1.96. The confidence interval is therefore:

✦ Tips

  • This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. Although this function is still available for backward compatibility, you should consider using the new functions from now on, because this function may not be available in future versions of Excel.
  • If Size is not an integer, it is truncated.
  • If we assume Alpha equals 0.05, we need to calculate the area under the standard normal curve that equals (1 - alpha), or 95 percent. This value is ± 1.96. The confidence interval is therefore:

⚠ Common Errors

#VALUE! If any argument is non-numeric, CONFIDENCE returns the #VALUE! error value.
Fix: برای هر سه آرگومان مقدار عددی وارد کنید.
#NUM! If Alpha is ≤ 0 or ≥ 1, CONFIDENCE returns the #NUM! error value. If Standard_dev ≤ 0, CONFIDENCE returns the #NUM! error value. If Size < 1, CONFIDENCE returns the #NUM! error value.
Fix: Allowed values

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.