# GAMMA.DIST

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function returns the gamma distribution.

## Syntax

GAMMA.DIST(*x*,*alpha*,*beta*,*cumulative*)

## Arguments

This function has these arguments:

| **Argument** | **Description** |
| -------- | ----------- |
| *x* | Value at which to evaluate the distribution |
| *alpha* | Alpha parameter of the distribution |
| *beta* | Beta parameter of the distribution |
| *cumulative* | Logical value that determines the form of the function If cumulative is TRUE, then this function returns the cumulative distribution function; if FALSE, it returns the probability density function. |

## Remarks

The equation for this function is:
![GAMMADIST Equation](https://cdn.mescius.io/document-site-files/images/0ed25d3e-6b2a-4cf0-8f1b-7ed5ab18cf12/artwork/func-gammadist-true.png)

## Data Types

Accepts numeric data for all arguments. Returns numeric data.

## Examples

`GAMMA.DIST(A5,1,3,FALSE)`
`GAMMA.DIST(R5C1,2,1,TRUE)`
`GAMMA.DIST(4,3,2,TRUE)` gives the result 0.3233235838169362
`GAMMA.DIST(4,3,2,FALSE)` gives the result 0.1353352832366127

## Version Available

This function is available in Spread for Windows Forms 11.0 or later.

## See Also

[GAMMA](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/functionGAMMA)