# Google Sheets GAMMA.DIST Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/gamma.dist-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

The GAMMA.DIST function calculates the probability density or cumulative distribution of the gamma distribution for given parameters.

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

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the GAMMA.DIST you need in plain EnglishGenerate Formula

## Parameters

**`x`**: The value at which you want to evaluate the distribution.

**`alpha`**: The shape parameter of the distribution, which must be greater than 0.

**`beta`**: The scale parameter of the distribution, which must be greater than 0.

**`cumulative`**: A logical value that determines the form of the function. If TRUE, GAMMA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.

## What is GAMMA.DIST?

The *GAMMA.DIST* function in Google Sheets is a statistical function used to calculate the probability density function or the cumulative distribution function of the gamma distribution. This function is particularly useful in various fields such as finance, engineering, and natural sciences, where it can model waiting times or lifetimes of events.

In simpler terms, GAMMA.DIST helps you understand the likelihood of a certain outcome occurring within a specified range based on the gamma distribution.

## A Practical Example

Imagine you are analyzing the time it takes for a machine to complete a task, and you want to determine the probability of the machine completing the task within a certain time frame.

### Parameters:

- **k**: The shape parameter (number of events).
- **theta**: The scale parameter (average time per event).
- **x**: The value at which you want to evaluate the function.
- **cumulative**: A logical value that determines the form of the function. If TRUE, GAMMA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.

## GAMMA.DIST Formula

To calculate the probability density function for a machine completing a task in 5 hours with a shape parameter of 2 and a scale parameter of 3, you would use the GAMMA.DIST function as follows:

```
=GAMMA.DIST(5, 2, 3, FALSE)
```

In this formula:

- `5` is the value at which you want to evaluate the function (the time in hours).
- `2` is the shape parameter (k).
- `3` is the scale parameter (theta).
- `FALSE` indicates that you want the probability density function.

## Result of the Formula

When you apply the GAMMA.DIST formula, it will return a numerical value representing the probability density at the specified time. This value can help you understand how likely it is for the machine to complete the task in that specific time frame.

## Why Use GAMMA.DIST?

GAMMA.DIST is beneficial because it provides a way to model and analyze data that follows a gamma distribution. It is particularly useful in scenarios involving waiting times, service times, or any situation where events occur continuously and independently. The function allows for both probability density and cumulative distribution calculations, making it versatile for different analytical needs.

## Key Takeaways:

- **GAMMA.DIST**: A statistical function that calculates the probability density or cumulative distribution of the gamma distribution.
- **Versatile**: Useful in various fields for modeling waiting times and event lifetimes.
- **Probability Density and Cumulative Distribution**: Can return both types of results based on the input parameters.
- **Common Use Cases**: Ideal for reliability analysis, queuing theory, and any scenario where event timing is analyzed.

GAMMA.DIST is an essential function for anyone working with statistical data in Google Sheets, providing a powerful way to enhance data analysis and decision-making capabilities.

Happy spreadsheeting!

## Example use case

You have a table with project completion times in Column A and their frequencies in Column B. Use GAMMA.DIST to calculate the probability of completing a project within a specific time frame, aiding in project planning and resource allocation.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [How To Unhide Columns In Google Sheets](https://betteranalyst.com/google-sheets/how-to-unhide-all-columns-in-google-sheets)
- [How To Unhide Rows In Google Sheets](https://betteranalyst.com/google-sheets/how-to-unhide-all-rows-in-google-sheets)
- [How To Unprotect Google Sheets](https://betteranalyst.com/google-sheets/how-to-unprotect-google-sheets)
- [How To Wrap Text In Google Sheets](https://betteranalyst.com/google-sheets/how-to-wrap-text-in-google-sheets)
- [Google Sheets Conditional Formatting](https://betteranalyst.com/google-sheets/google-sheets-conditional-formatting)
- [How To Add A Column In Google Sheets](https://betteranalyst.com/google-sheets/how-to-add-a-column-in-google-sheets)
- [How To Alphabetize In Google Sheets](https://betteranalyst.com/google-sheets/how-to-alphabetize-in-google-sheets)
- [How To Autofit In Google Sheets](https://betteranalyst.com/google-sheets/how-to-autofit-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
