# CHIINV Function

> Return the inverse of the right-tailed chi-squared probability with CHIINV, the compatibility form of CHISQ.INV.RT in TX Sheet Control: arguments and #NUM!.

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

---

Return the inverse of the right-tailed probability of the chi-squared distribution. CHIINV is the older form of CHISQ.INV.RT, kept for compatibility. `probability` must be greater than 0 and less than 1, and `deg_freedom` is the number of degrees of freedom, at least 1; other values return `#NUM!`.

### Syntax

```text
CHIINV(probability, deg_freedom)
```

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

Available for supported offline calculation.

### Examples

```text
=CHIINV(0.5,2)
```

The formula returns 1.3862943611.

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:** [CHIDIST Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chidist/llms-full.txt)
- **Next:** [CHISQ.DIST Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chisq-dist/llms-full.txt)
