# CHIDIST Function

> Calculate the right-tailed chi-squared probability with CHIDIST, the compatibility form of CHISQ.DIST.RT in TX Sheet Control: x, degrees of freedom and #NUM!.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > CHIDIST Function
- **220 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chidist/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chidist/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chidist/llms-full.txt

---

Return the right-tailed probability of the chi-squared distribution. CHIDIST is the older form of CHISQ.DIST.RT, kept for compatibility. `x` is the value to evaluate, 0 or greater, and `deg_freedom` the number of degrees of freedom, at least 1; a decimal is truncated. A negative `x` or fewer than 1 degree of freedom returns `#NUM!`. CHIDIST takes two arguments, although the syntax line names `cumulative`.

### Syntax

```text
CHIDIST(x, deg_freedom, cumulative)
```

Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=CHIDIST(2,2)
```

The formula returns 0.3678794412.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [CHAR Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/char/llms-full.txt)
- **Next:** [CHIINV Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chiinv/llms-full.txt)
