# WEIBULL.DIST Function

> Return the Weibull distribution for time-to-failure models with WEIBULL.DIST in TX Sheet Control: shape, scale, cumulative or density and #NUM! errors.

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

---

Return the Weibull distribution, which is often used to model time to failure. `x` is the value, `alpha_or_lambda` the shape and `beta_or_cumulative` the scale parameter of the distribution. `cumulative` TRUE returns the cumulative distribution function and FALSE the probability density. A negative `x` or a shape or scale of 0 or less returns `#NUM!`.

### Syntax

```text
WEIBULL.DIST(x, alpha_or_lambda, beta_or_cumulative, cumulative)
```

Category: Statistics. Minimum arguments: 4. Maximum arguments: 4.

Available for supported offline calculation.

### Examples

```text
=WEIBULL.DIST(1,2,1,TRUE)
```

The formula returns 0.6321205588, the probability of a value up to 1 with shape 2 and scale 1.

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:** [WEIBULL Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weibull/llms-full.txt)
- **Next:** [WORKDAY Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/workday/llms-full.txt)
