Gamma Quantile Calculator screenshot

Gamma Quantile Calculator

The gamma quantile at the probability you set, for shape k and scale θ.

Privacy First
0 Runs
Updated 2026-11-22
No upload
Runs in your browser
Deterministic

What this page computes

Returns the x at which the gamma CDF reaches the level, for shape k and scale θ.

How to use it

Type the Shape k, Scale θ, Probability level and press Run. k > 0 is the shape, θ > 0 the scale, and the level is strictly between 0 and 1. The answer is the x with P(X ≤ x) = level. With k = 2, θ = 1, the median, the page prints x with P(X ≤ x) = 0.5 is 1.67835.

Running it

Bisection on P(k, x/θ) to a relative tolerance of 1e-13. The right edge is doubled until it contains the level. Every figure is computed in this browser tab: nothing is uploaded and nothing is stored.

Returns the x at which the gamma CDF reaches the level, for shape k and scale θ. With k = 2, θ = 1, the median, the page prints x with P(X ≤ x) = 0.5 is 1.67835.

Bisection on P(k, x/θ) to a relative tolerance of 1e-13. The right edge is doubled until it contains the level. The printed result is accurate to bisection to a relative tolerance of 1e-13; 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 quantile 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); Probability level (strictly between 0 and 1).

The parameterisation

k > 0 is the shape, θ > 0 the scale, and the level is strictly between 0 and 1. The answer is the x with P(X ≤ x) = level.

The numeric method

Bisection on P(k, x/θ) to a relative tolerance of 1e-13. The right edge is doubled until it contains the level.

The printed value is accurate to bisection to a relative tolerance of 1e-13. The page returns the quantile only; it does not also print a test statistic, a p-value or a decision.

What to Expect

Best for

  • a gamma percentile or service-level time
  • a waiting-time budget

Not ideal for

  • a probability at a given x, which is the CDF 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 the level strictly between 0 and 1.

Example use cases

  • service-level waiting times
  • quantile checks on a gamma model

Sample input

k = 2, θ = 1, the median.

Sample output

x with P(X ≤ x) = 0.5 is 1.67835.

Who this is for

  • students
  • reliability analysts

Frequently asked questions

Which parameterisation does this page use?

k > 0 is the shape, θ > 0 the scale, and the level is strictly between 0 and 1. The answer is the x with P(X ≤ x) = level.

How is the result computed?

Bisection on P(k, x/θ) to a relative tolerance of 1e-13. The right edge is doubled until it contains the level. The result is accurate to bisection to a relative tolerance of 1e-13.

What inputs are refused?

The shape and scale must both be above zero, and the level strictly between 0 and 1.

Is anything uploaded?

No. Every number is computed by JavaScript in this page from the values you typed; nothing is posted, stored or logged.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.