Exponential Distribution Calculator

Exponential distribution: P(X < x), P(X > x) and P(a < X < b) from the mean or rate, plus the median, mean and standard deviation of waiting times.

Must be greater than 0. If the mean is 10 years, the rate is 0.1 per year. Use the same unit for x, a and b.
Zero or more, in the same unit as the mean.
If b is smaller than a the two are swapped.

Results

P(X < 7)
0.503415
P(X > 7)
0.496585
P(5 < X < 10)
0.238651
Rate (λ = 1 ÷ μ)
0.1
Mean (μ = 1 ÷ λ)
10
Standard deviation (σ = μ)
10
Median (ln 2 ÷ λ)
6.931472

How it’s calculated

The exponential distribution models the waiting time until the next event when events happen independently at a constant average rate: the time between customer arrivals, the lifetime of a part that does not wear out, the distance between road defects. It is the continuous cousin of the geometric distribution and is linked to the Poisson distribution, which counts events in a fixed interval.

rate λ = 1 ÷ μ (decay parameter m = λ) P(X < x) = 1 − e^(−λx) P(X > x) = e^(−λx) P(a < X < b) = e^(−λa) − e^(−λb) mean = μ, standard deviation = μ, median = ln 2 ÷ λ = 0.6931 μ

Worked example: a computer part lasts 10 years on average, so λ = 0.1 per year. The chance it fails within 7 years is 1 − e^(−0.7) = 0.503415, and the chance it lasts longer than 7 years is e^(−0.7) = 0.496585. The chance it fails between year 5 and year 10 is e^(−0.5) − e^(−1) = 0.606531 − 0.367879 = 0.238651. The median lifetime is 0.6931 × 10 = 6.93 years, which is less than the mean because the distribution is skewed to the right.

The distribution is "memoryless": if the part has already survived 5 years, the chance it lasts at least 7 more is the same as for a brand-new part.

Frequently asked questions

What is the difference between the mean and the rate?

They are reciprocals. If events arrive on average every 4 minutes (mean), the rate is 1 ÷ 4 = 0.25 events per minute. Pick whichever you know from the select box.

Why are the mean and the standard deviation equal?

For the exponential distribution both equal 1 ÷ λ. If your data have a standard deviation very different from the mean, an exponential model is probably a poor fit.

Why is the median smaller than the mean?

The distribution has a long right tail. Half of the values fall below 0.693 × mean, but a few very long waits pull the mean up.

How is it related to the Poisson distribution?

If events follow a Poisson process with rate λ per unit time, the number of events in a period is Poisson, and the waiting time between events is exponential with mean 1 ÷ λ.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator