Home ↓
CalculatorsVerified

Math & Geometry

Exponential Distribution Calculator (Probability, CDF and Median)

The exponential distribution describes how long you wait for an event that happens at random but at a constant average rate. If customers arrive at a counter at an average of 30 per hour, if a radioactive sample decays at a steady rate, or if a component with no wear fails at a constant hazard, the time until the next event follows an exponential distribution. It is controlled by a single parameter, the rate lambda, the average number of events per unit time; its inverse is the mean waiting time. The probability that the wait is at most x equals one minus e to the power minus lambda x, and the probability that it is longer than x, called the survival function, is e to the power minus lambda x. The median wait is the natural logarithm of two divided by lambda, about 69 percent of the mean, because many waits are short and a few are very long. The standard deviation equals the mean. The exponential distribution is closely linked to the Poisson distribution, which counts how many events happen in a fixed time, and it is the only continuous distribution that is memoryless: the chance of waiting another t minutes does not depend on how long you have already waited. It is widely used in queueing theory, reliability engineering, telecommunications, physics and survival analysis. This calculator takes either the rate or the mean and a time value, and returns the cumulative probability, the survival probability, the density, the mean, the median and the standard deviation.

How to use this calculator

  1. Choose whether you know the rate or the mean time between events.
  2. Enter the rate λ or the mean time.
  3. Enter the time x you are interested in, in the same time unit.
  4. Read P(X ≤ x), the chance the event happens by time x.
  5. Read P(X > x) and the median waiting time.

Connection to the Poisson process

If events follow a Poisson process with rate λ, the number of events in a time t follows a Poisson distribution with mean λt, and the gaps between events are exponentially distributed with rate λ.

This link is the basis of queueing models such as the M/M/1 queue and the Erlang formulas used to staff call centres and size telephone networks.

Reliability and half-life

In reliability engineering, a constant failure rate λ gives an exponential lifetime, with mean time to failure 1/λ. This fits electronic components during their useful life but not parts that wear out.

Radioactive decay is exponential too: the half-life is the median lifetime of a single nucleus, ln 2 divided by the decay constant.

Formula & method

P(X ≤ x) = 1 − e^(−λx); P(X > x) = e^(−λx)Density f(x) = λ e^(−λx)Mean = 1 ÷ λ; median = ln 2 ÷ λ; standard deviation = 1 ÷ λMemoryless: P(X > s + t | X > s) = P(X > t)

P(X ≤ x) = 1 − e^(−λx), P(X > x) = e^(−λx), f(x) = λe^(−λx), mean = 1/λ and median = ln 2/λ.

Worked example

Events at a rate of 0.5 per minute; chance of one within 2 minutes

  1. P(X ≤ 2) = 1 − e^(−0.5 × 2) = 1 − e^(−1)
  2. = 1 − 0.367879 = 0.632121
  3. Median wait = 0.6931 ÷ 0.5 = 1.386 minutes

Answer: There is about a 63 % chance the next event happens within 2 minutes, the mean waiting time.

Frequently asked questions

What is the rate λ?

It is the average number of events per unit time. A rate of 0.5 per minute means one event every two minutes on average.

Why is the median smaller than the mean?

The distribution is skewed: most waits are short, but occasional very long waits raise the mean. The median is about 0.693 times the mean.

What does memoryless mean in practice?

If waiting times are exponential, having already waited does not make the event more likely soon. This fits random arrivals but not processes like bus timetables or ageing parts.

Can I use any time unit?

Yes, as long as the rate, mean and time x all use the same unit, such as minutes, hours or years.

What is the density value?

The density f(x) is the probability per unit time near x. It is not a probability itself, but multiplying it by a small time interval gives the approximate probability of the event in that interval.

How does this relate to the half-life?

The median of the exponential distribution, ln 2/λ, is exactly the half-life used in radioactive decay and pharmacokinetics.