Excel GAMMA.DIST Function
The GAMMA.DIST function returns the gamma distribution. The function is frequently used to provide probabilities for values that may have a skewed distribution, such as queuing analysis.
The GAMMA.DIST function was introduced in Excel 2010. So, it is not available in earlier versions of Excel. For users of earlier Excel versions, please use the GAMMADIST function.
Syntax
=GAMMA.DIST(x, alpha, beta, cumulative)
Arguments
- x (required): The value at which you want to calculate the distribution. Note: x must be greater than or equal to 0.
- alpha (required): A parameter of the distribution. Note: alpha must be positive.
- beta (required): A parameter of the distribution. If beta = 1, then the standard gamma distribution is calculated. Note: beta must be positive.
- cumulative (required): A logical argument that specifies the type of gamma distribution to be calculated:
- TRUE: Calculate the cumulative distribution function;
- FALSE: Calculate the probability density function.
Return Value
The GAMMA.DIST function returns a numeric value.
Function Notes
- GAMMA.DIST returns the #NUM! error if any of the below conditions is met:
- x < 0;
- alpha ≤ 0;
- beta ≤ 0.
- GAMMA.DIST returns the #VALUE! error if:
- x, alpha, or beta is not a numeric value;
- cumulative is not recognized as a logical value.
Example
To calculate both the cumulative distribution function and the probability density function for given x, alpha and beta values, you should set the cumulative argument as TRUE and FALSE respectively. Please copy or enter the formulas below in the result cells and then press Enter to get the results.
=GAMMA.DIST(B6,B9,B12,TRUE)
=GAMMA.DIST(B6,B9,B12,FALSE)
Also, you can type the actual x, alpha and beta values in the formulas as shown below.
=GAMMA.DIST(4,2,1.5,TRUE)
=GAMMA.DIST(4,2,1.5,FALSE)
GAMMA.DIST Vs. GAMMA.INV
The Excel GAMMA.INV function is the inverse of the GAMMA.DIST function (when used to calculate the cumulative distribution function, i.e., the cumulative argument is set to TURE). For a supplied value for x, GAMMA.DIST(x, alpha, beta, TRUE) returns the value of probability such that x = GAMMA.INV(probability, alpha, beta).
Related functions
The GAMMA function returns the value of the gamma function for a specified number.
The GAMMA.DIST.INV function returns the inverse of the gamma cumulative distribution. The function is frequently used to provide probabilities for values that may have a skewed distribution, such as queuing analysis.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
