The gamma function extends the factorial relationship to many real and complex values. On this page, you can evaluate Γ(x) for a real number and choose how many decimal places to display. It appears in probability distributions, calculus, physics, engineering, and formulas involving continuous versions of combinatorial quantities.
For positive whole numbers, gamma has a simple factorial connection: Γ(n) = (n − 1)!. That one-position shift is easy to overlook. Γ(5) is 4!, or 24, rather than 5!. Between whole numbers, the function changes smoothly and supplies values for inputs such as 1/2, where Γ(1/2) = √π.
The function is not defined at zero or at negative integers. Those points are poles, not values that can be repaired by selecting more decimal places. Gamma is defined at negative non-integers, although its sign and size can change quickly near a pole.