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
- Enter a positive shape parameter k — controls the skewness and peak shape of the distribution.
- Enter a positive scale parameter θ (theta) — stretches or compresses the distribution along the x-axis.
- Enter a non-negative value x at which to evaluate the distribution.
- The calculator computes the PDF: x^(k-1) · e^(-x/θ) / (θ^k · Γ(k)).
- The CDF is computed via the regularized incomplete gamma function P(k, x/θ).
- Distribution statistics (mean, variance, mode, skewness) are shown in the summary panel.
Use cases
- Modeling waiting times for the k-th event in a Poisson process.
- Insurance and finance: modeling aggregate claim sizes and loss distributions.
- Bayesian statistics: using the Gamma as a conjugate prior for the Poisson rate.
- Hydrology: fitting rainfall amounts and flood discharge data.
- Reliability engineering: modeling component lifetimes with non-constant hazard rates.
- Machine learning: prior distributions in probabilistic graphical models.
- Biology: modeling cell cycle times and neural inter-spike intervals.
- Statistics coursework: verifying manual calculations for homework or exams.
Frequently Asked Questions
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu