Gamma Function Calculator (Γ(x))
Enter a positive number.
Your numbers
Your results
Γ(x)
Γ(x)
—
ln Γ(x)
—
Equivalent factorial
—
Gamma Function Calculator (Γ(x)) by TheCalcTools
How the Gamma Function Calculator (Γ(x)) works
The gamma function extends the factorial to real numbers: Γ(n) = (n − 1)! for whole numbers, and Γ(x + 1) = x Γ(x). Γ(1/2) = √π.
The calculator uses the Lanczos approximation for ln Γ, accurate to about 15 significant digits, and exponentiates it.
The formula
Γ(x) = ∫₀^∞ t^(x−1) e^(−t) dt; Γ(n) = (n − 1)!
Worked example
Using the default values shown in the calculator:
| x | 5.5 |
|---|
- Γ(5.5) = 52.342778, so 4.5! ≈ 52.3428.
Result:
| Γ(x) | 52.3428 |
|---|---|
| ln Γ(x) | 3.9578 |
| Equivalent factorial | 4.5! = Γ(5.5) |
Frequently asked questions
What is 4.5 factorial?
Γ(5.5) ≈ 52.3428.
Sources and further reading
Related calculators
More in Math · All calculators
This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.
