Gamma CDF Calculator
The lower-tail probability of a gamma distribution with shape k and scale θ.
What this page computes
Evaluates P(X ≤ x) for a gamma variable: the area to the left of x with shape k and scale θ.
How to use it
Type the Shape k, Scale θ, Value x and press Run. k > 0 is the shape and θ > 0 the scale; x ≥ 0 is the value. The rate form uses 1/θ. The mean is kθ and the variance kθ². With k = 2, θ = 1, x = 2, the page prints P(X ≤ 2) = 0.593994.
Running it
The regularized lower incomplete gamma P(k, x/θ), evaluated by its series for small x/θ and its continued fraction for large x/θ. Every figure is computed in this browser tab: nothing is uploaded and nothing is stored.
Evaluates P(X ≤ x) for a gamma variable: the area to the left of x with shape k and scale θ. With k = 2, θ = 1, x = 2, the page prints P(X ≤ 2) = 0.593994.
The regularized lower incomplete gamma P(k, x/θ), evaluated by its series for small x/θ and its continued fraction for large x/θ. The printed result is accurate to about 1e-14 absolute for ordinary shape and scale; no table is read and nothing is simulated.
How to use this gamma distribution calculator
Type each value below and press Run. The page prints the lower-tail probability and the parameter line it used, so the answer can be checked against the formula rather than taken on trust.
The inputs this page reads are Shape k (above 0); Scale θ (above 0); Value x (at least 0).
The parameterisation
k > 0 is the shape and θ > 0 the scale; x ≥ 0 is the value. The rate form uses 1/θ. The mean is kθ and the variance kθ².
The numeric method
The regularized lower incomplete gamma P(k, x/θ), evaluated by its series for small x/θ and its continued fraction for large x/θ.
The printed value is accurate to about 1e-14 absolute for ordinary shape and scale. The page returns the lower-tail probability only; it does not also print a test statistic, a p-value or a decision.
What to Expect
Best for
- a gamma lower-tail probability
- waiting times that are a sum of exponential waits
Not ideal for
- a quantile, which is the separate gamma quantile page
- a distribution with a point mass at zero
What this tool keeps
- Double-precision arithmetic in your own browser
- The same inputs always produce the same output
Common errors
- The shape and scale must both be above zero, and x cannot be negative.
Example use cases
- aggregate waiting-time models
- teaching the gamma family
Sample input
k = 2, θ = 1, x = 2.
Sample output
P(X ≤ 2) = 0.593994.
Who this is for
- students
- reliability analysts
Frequently asked questions
Which parameterisation does this page use?
k > 0 is the shape and θ > 0 the scale; x ≥ 0 is the value. The rate form uses 1/θ. The mean is kθ and the variance kθ².
How is the result computed?
The regularized lower incomplete gamma P(k, x/θ), evaluated by its series for small x/θ and its continued fraction for large x/θ. The result is accurate to about 1e-14 absolute for ordinary shape and scale.
What inputs are refused?
The shape and scale must both be above zero, and x cannot be negative.
Is anything uploaded?
No. Every number is computed by JavaScript in this page from the values you typed; nothing is posted, stored or logged.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.