Gamma Function Calculator

Evaluate the gamma function Γ(x), the continuous extension of factorial.

Γ(x) 24

Formula: Γ(x) = (x − 1)! for positive integers; Lanczos approximation otherwise

Step-by-step with your numbers:
1. Values used:
2. x = 5
3.
4. Γ(x) = 24
Did we solve your problem today?

The gamma function generalises the factorial to all real (and complex) numbers.

The math behind it

For a positive integer n, Γ(n) = (n − 1)!. For other values it is computed with the Lanczos approximation, a fast and accurate series.

Worked example

Γ(5) = 4! = 24.

FAQ

What is Γ(½)?

Γ(½) = √π ≈ 1.7725.