Gamma Distribution Calculator

Enter shape (k) and scale (θ) parameters plus a value x to compute the Gamma distribution PDF, CDF, and key statistics instantly.

Parameters

Controls the shape; k = 1 gives the exponential distribution.

Stretches the distribution; rate β = 1/θ.

The point at which to evaluate the distribution.

Quick Presets

Results at x

Enter parameters and press Calculate.

Distribution Statistics

Enter parameters and press Calculate.

Formulas

PDF:
f(x) = xk−1 e−x/θ / (θk Γ(k))
CDF:
F(x) = P(k, x/θ) — regularized incomplete gamma
Mean:
k · θ
Variance:
k · θ2
Mode:
(k − 1) · θ for k ≥ 1, else 0
Skewness:
2 / √k

Summary

Enter shape (k) and scale (θ) parameters plus a value x to compute the Gamma distribution PDF, CDF, and key statistics instantly.

How it works

  1. Enter a positive shape parameter k — controls the skewness and peak shape of the distribution.
  2. Enter a positive scale parameter θ (theta) — stretches or compresses the distribution along the x-axis.
  3. Enter a non-negative value x at which to evaluate the distribution.
  4. The calculator computes the PDF: x^(k-1) · e^(-x/θ) / (θ^k · Γ(k)).
  5. The CDF is computed via the regularized incomplete gamma function P(k, x/θ).
  6. Distribution statistics (mean, variance, mode, skewness) are shown in the summary panel.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu