Calculates the confidence value for the confidence interval of a population mean

Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets. Start Free

T Confidence Interval in Excel

The T Confidence Interval Function[1] is categorized under Excel Statistical functions. The function calculates the confidence value that can be used to construct the confidence interval for a population mean for a supplied probability and sample size.  It is often used in determining the t value for a 95 confidence interval.

As a financial analyst, the CONFIDENCE.T function is useful in predicting the value-at-risk for a given portfolio.

T Confidence Interval Formula


The function uses the following arguments:

  1. Alpha (required argument) – This is the significance level used to compute the confidence level. The significance level is equal to 1– confidence level. So, a significance level of 0.05 is equal to a 95% confidence level.
  2. Standard_dev (required argument) – This is the population standard deviation for the data range. It is assumed that we know it.
  3. Size (required argument) – This is the sample size.

To calculate the confidence interval for a population mean, the returned confidence value must then be added to and subtracted from the sample mean. For example, for the sample mean x:

Confidence Interval =  x  ±  CONFIDENCE

How to use the CONFIDENCE.T Function in Excel?

To understand the uses of CONFIDENCE.T function, let’s consider an example:


Suppose we know the mean salary of CEOs in the healthcare industry is $200,000. We can use the CONFIDENCE.T function if we wish to calculate how close this sample mean is to the actual population mean, specifically, if we want to know what range of salaries, working at a 95% confidence level, includes the population mean. Using the data below:

  • Significance level: 0.05 (i.e. 95% confidence)
  • Standard deviation of the population: 50,000
  • Sample size: 100

The CONFIDENCE.T function is used to calculate the confidence interval with a significance of 0.05 (i.e., a confidence level of 95%).

To find out the confidence interval for the population mean, we will use the following formula:



We get the result below:


CONFIDENCE.T Function - Example

Therefore, the confidence interval is 200,000 ± 9921.0848, which is equal to the range 190,078.9152 and 209,921.0852.


Notes about the Function

  1. #NUM! error – Occurs if either:
    • The given alpha is less than or equal to zero or is greater than or equal to 1.
    • The given standard deviation is less than or equal to zero.
    • The size argument given is less than one.
  2. #VALUE! error – Occurs when any of the argument provided is non-numeric
  3. #DIV/0! error – Occurs when the size argument is equal to 1.
  4. If the size argument is not an integer, it is truncated.

Click here to download the sample Excel file

Additional Resources

Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional CFI resources:

Article Sources

  1. T Confidence Interval Function
0 search results for ‘