# BETAINV Function

> Return the inverse of the cumulative beta distribution with BETAINV, the compatibility form of BETA.INV in TX Sheet Control: probability, shape and bounds.

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

---

Return the inverse of the cumulative beta distribution. BETAINV is the older form of BETA.INV, kept for compatibility. `probability` is the probability, `alpha` and `beta` are the two shape parameters, both greater than 0, and `lower` and `upper` the bounds of the interval of the result, 0 and 1 when omitted. A `probability` outside 0 to 1 returns `#NUM!`.

### Syntax

```text
BETAINV(probability, alpha, beta, lower, upper)
```

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

Available for supported offline calculation.

### Examples

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

The formula returns 0.5.

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