Exponential Quantile Calculator
The time by which an exponential process has occurred with the probability you set, from its rate.
What this page computes
Returns x = −ln(1 − level)/λ, the waiting time at which an exponential distribution has accumulated the probability you set.
How to use it
Type the Rate λ, Probability level and press Run. λ > 0 is the rate per unit of x, so the mean waiting time is 1/λ. The quantile is the x at which P(X ≤ x) equals the level. With λ = 0.5, the median wait, the page prints x with P(X ≤ x) = 0.5 is 1.38629.
Running it
Closed form x = −ln(1 − level)/λ, with log1p so a level very close to 0 keeps its precision. Every figure is computed in this browser tab: nothing is uploaded and nothing is stored.
Returns x = −ln(1 − level)/λ, the waiting time at which an exponential distribution has accumulated the probability you set. With λ = 0.5, the median wait, the page prints x with P(X ≤ x) = 0.5 is 1.38629.
Closed form x = −ln(1 − level)/λ, with log1p so a level very close to 0 keeps its precision. The printed result is accurate to closed form, evaluated in double precision; no table is read and nothing is simulated.
How to use this exponential 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 Rate λ (above 0); Probability level (strictly between 0 and 1).
The parameterisation
λ > 0 is the rate per unit of x, so the mean waiting time is 1/λ. The quantile is the x at which P(X ≤ x) equals the level.
The numeric method
Closed form x = −ln(1 − level)/λ, with log1p so a level very close to 0 keeps its precision.
The printed value is accurate to closed form, evaluated in double precision. 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 waiting time at a stated probability
- converting a rate into a service-level time
Not ideal for
- a probability at a given time, which is the exponential CDF page
- data with a memory, which is not exponential
What this tool keeps
- Double-precision arithmetic in your own browser
- The same inputs always produce the same output
Common errors
- The rate must be above zero, and the level strictly between 0 and 1. A level of 0 is the zero waiting time and a level of 1 is never reached.
Example use cases
- time-to-failure planning
- queue waiting-time targets
Sample input
λ = 0.5, the median wait.
Sample output
x with P(X ≤ x) = 0.5 is 1.38629.
Who this is for
- students
- reliability engineers
Frequently asked questions
Which parameterisation does this page use?
λ > 0 is the rate per unit of x, so the mean waiting time is 1/λ. The quantile is the x at which P(X ≤ x) equals the level.
How is the result computed?
Closed form x = −ln(1 − level)/λ, with log1p so a level very close to 0 keeps its precision. The result is accurate to closed form, evaluated in double precision.
What inputs are refused?
The rate must be above zero, and the level strictly between 0 and 1. A level of 0 is the zero waiting time and a level of 1 is never reached.
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.