# CHISQ.DIST Function

> Calculate the left-tailed chi-squared distribution or its density with CHISQ.DIST in TX Sheet Control: x, degrees of freedom, the cumulative flag and #NUM!.

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

---

Return the left-tailed chi-squared distribution, used to test variances and goodness of fit. `x` is the value to evaluate, 0 or greater, and `deg_freedom` the number of degrees of freedom, at least 1. `cumulative` TRUE returns the cumulative distribution function and FALSE the probability density function; TX Sheet Control uses TRUE when it is omitted. A negative `x` returns `#NUM!`.

### Syntax

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

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

Available for supported offline calculation.

### Examples

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

The formula returns 0.6321205588, the cumulative probability at 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:** [CHIINV Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chiinv/llms-full.txt)
- **Next:** [CHISQ.DIST.RT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chisq-dist-rt/llms-full.txt)
