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

The GAMMA.DIST function calculates the probability density or cumulative distribution of the gamma distribution for given parameters.
Google Sheets
GAMMA.DIST(x, alpha, beta, cumulative)

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

On this page
  1. Parameters
  2. What is GAMMA.DIST?
  3. A Practical Example
  4. GAMMA.DIST Formula
  5. Result of the Formula
  6. Why Use GAMMA.DIST?
  7. Key Takeaways:
  8. Example use case

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:

Google Sheets
=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.

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.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

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