Collapse the table of content
Expand the table of content
Expand Minimize

WorksheetFunction.ChiDist Method (Excel)


Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the one-tailed probability of the chi-squared distribution.

Important note Important

This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality.

For more information about the new functions, see the ChiSq_Dist_RT and ChiSq_Dist methods.

expression .ChiDist(Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.




Data Type





The value at which you want to evaluate the distribution.




The number of degrees of freedom.

Return Value


The χ 2 distribution is associated with a χ 2 test. Use the χ 2 test to compare observed and expected values.

For example, a genetic experiment might hypothesize that the next generation of plants will exhibit a certain set of colors. By comparing the observed results with the expected ones, you can decide whether your original hypothesis is valid.

  • If either argument is nonnumeric, ChiDist generates an error.

  • If x is negative, ChiDist generates an error.

  • If degrees_freedom is not an integer, it is truncated.

  • If degrees_freedom < 1 or degrees_freedom > 10^10, ChiDist generates an error.

  • ChiDist is calculated as ChiDist = P(X>x), where X is a χ2 random variable.

© 2015 Microsoft