# CHISQ.DIST.RT Function

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

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > CHISQ.DIST.RT Function
- **216 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chisq-dist-rt/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chisq-dist-rt/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chisq-dist-rt/llms-full.txt

---

Return the right-tailed probability of the chi-squared distribution, as used in a chi-squared test. `x` is the value to evaluate, 0 or greater, and `deg_freedom` the number of degrees of freedom, at least 1; other values return `#NUM!`. CHISQ.DIST.RT takes two arguments, although the syntax line names `cumulative`.

### Syntax

```text
CHISQ.DIST.RT(x, deg_freedom, cumulative)
```

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

Available for supported offline calculation.

### Examples

```text
=CHISQ.DIST.RT(2,2)
```

The formula returns 0.3678794412, the probability of a value greater than 2 with 2 degrees of freedom.

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