GAMMA.INV Function

Excel Functions › Statistical

Excel 2010+ Statistical

The Excel GAMMA.INV function returns the inverse of the gamma cumulative distribution: given a probability, alpha, and beta, it returns the x value at which GAMMA.DIST reaches that probability.


Quick answer:
=GAMMA.INV(0.0681,9,2) x value for cumulative probability 0.0681 = ~10

Syntax

=GAMMA.INV(probability, alpha, beta)
ArgumentDescription
probabilityRequiredThe cumulative probability (0–1) you want to invert.
alphaRequiredThe shape parameter (α > 0), the same one used in GAMMA.DIST.
betaRequiredThe scale parameter (β > 0).

How to use it

GAMMA.INV answers the reverse question to GAMMA.DIST: “what value of x gives me this cumulative probability?” It is the quantile (percentile) function of the gamma distribution:

=GAMMA.INV(0.0681, 9, 2) // ~10 - undoes the GAMMA.DIST CDF
=GAMMA.INV(0.5, 9, 2) // the median, ~17.34

Because it is the exact inverse, =GAMMA.INV(GAMMA.DIST(10,9,2,TRUE), 9, 2) returns 10 back. Feeding a probability of 0.5 gives the distribution's median.

Probability range: the first argument must be between 0 and 1. A probability of exactly 0, exactly 1, or outside that range returns #NUM!.

GAMMA.INV (Excel 2010+) replaces the legacy GAMMAINV function; both return the same quantiles.

Try it: interactive demo

Live demo

Pick a GAMMA.INV example to see the formula and its result.

Result:

Practice workbook

📊
Download the free GAMMA.INV practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

What is GAMMA.INV used for?
It converts a cumulative probability back into a value (a quantile) on the gamma distribution — useful for finding percentiles, critical values, or simulating gamma-distributed data from random probabilities.
How is it related to GAMMA.DIST?
They are inverses. GAMMA.DIST(x, a, b, TRUE) turns an x into a probability; GAMMA.INV(p, a, b) turns that probability back into x. Chaining them returns the original number.
What does a probability of 0.5 return?
The median of the gamma distribution — the value with half the area to its left. For alpha=9, beta=2 that is about 17.34.
When does GAMMA.INV error out?
When probability is outside the open interval (0,1), or when alpha or beta is not positive — all return #NUM!.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: GAMMA.DIST · GAMMA · GAMMALN · CHISQ.INV · EXPON.DIST