Mathematics · Interactive tool
Gamma and Stirling Values
Evaluate the real gamma function and positive-integer factorial approximations.
Your inputs
Result
Calculated output
Enter inputs to calculate.
Γ(x+1)=xΓ(x), Γ(1/2)=sqrt(π). The real gamma function has poles at nonpositive integers.
For positive integer n, n! ≈ sqrt(2πn)(n/e)^n. The natural logarithm of this approximation is also reported. π(x)≈x/ln(x) is an asymptotic prime-count estimate, not an exact count.