MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Skip to main content
Show menu

GAMMA function

Description

GAMMA(x) returns the Gamma function of x.

When the argument n is an integer, the gamma function is similar to the factorial function, offset by one. Gamma(n) is defined as:

Gamma function$$ \Gamma(n) = (n-1)! $$

When x is a real number Gamma(x) is defined by the integral:

Gamma function integral formulation.$$ \Gamma(x) = \int_0^\infty t^{x-1} e^{-t}\,{\rm d}t $$

The argument n must be higher than 0.

If n is larger than 171.62, the function overflows and returns an error. For large arguments the GammaLn function can be used.

Calculator

GAMMA()

Graph

GAMMA function
Function: GAMMA()
  X-axis Y-axis
Minimum:
Maximum:
 

See also

External links

This site uses cookies to store information on your computer. More info...