Exp

Exponential Distribution Calculator

The chance a wait is shorter, longer or between two times at a rate λ or mean 1 ÷ λ, any percentile, and the mean.

Statistics & ProbabilityRuns in your browser

Result…

I know

For example 0.5 arrivals a minute. Every time you enter must use the same unit (minutes here).

Find

 

…

How it's calculated

f(x) = λe^(−λx) for x ≥ 0
P(X < x) = 1 − e^(−λx); P(X > x) = e^(−λx)
P(a < X < b) = e^(−λa) − e^(−λb)
Percentile: x = −ln(1 − p) ÷ λ
Mean = standard deviation = 1 ÷ λ; median = ln 2 ÷ λ

The exponential distribution describes the time until the next event when events arrive independently at a constant average rate λ: the wait for the next customer, the next radioactive decay, the next call. Its chance of lasting longer than x falls off as e^(−λx), its mean and standard deviation both equal 1 ÷ λ, and its median is ln 2 ÷ λ, a little below the mean because of the long right tail. It is the only continuous distribution that is memoryless: P(X > s + t | X > s) = P(X > t), so a wait that has already lasted s is no closer to ending. If the number of events in a fixed time is Poisson with mean λt, the gaps between them are exponential with rate λ.

Your numbers, step by step

    About the Exponential Distribution calculator

    This exponential distribution calculator works with waiting times: the time until the next customer arrives, the next call comes in, the next bus with random arrivals turns up or a component with no wear fails. Give it either the rate λ (events per unit of time) or the mean time between events, which is 1 ÷ λ. It then finds the chance that the wait is shorter than x, longer than x, or between a and b, or turns a probability into a time with the inverse CDF, such as the wait that 95% of customers beat. It also reports the mean, the standard deviation and the median. Students, queue planners and reliability engineers use it to put numbers on random arrivals. The steps show each e^(−λx) with your values, and the result explains the memoryless property that makes this distribution special.

    How to use it

    1. Choose what “I know”: “The rate (λ)” or “The mean time (1 ÷ λ)”, and enter it.
    2. Pick what to “Find”: “P(X < x)”, “P(X > x)”, “P(a < X < b)” or “Percentile (x for a probability)”.
    3. Enter the “Time (x)”, the “From (a)” and “To (b)” times, or the “Cumulative probability” in %.
    4. Keep every time in the same unit as the rate, for example all in minutes.
    5. Read the probability or time, with the mean, standard deviation and median.

    Worked example

    Customers arrive on average every 4 minutes, so λ = 1 ÷ 4 = 0.25 a minute. The chance of waiting more than 6 minutes for the next one is e^(−0.25 × 6) = e^(−1.5) ≈ 0.2231, and of a shorter wait ≈ 0.7769. The chance the wait falls between 2 and 6 minutes is e^(−0.5) − e^(−1.5) ≈ 0.3834. The 95th percentile is −ln(0.05) ÷ 0.25 ≈ 11.98 minutes, and the median wait is ln 2 ÷ 0.25 ≈ 2.77 minutes, below the 4-minute mean.

    Updated

    Questions people ask

    How do I calculate an exponential probability?

    For a rate λ, the chance of waiting longer than x is e^(−λx) and the chance of a shorter wait is 1 − e^(−λx). For a range, subtract: P(a < X < b) = e^(−λa) − e^(−λb). These match the formulas in the NIST Engineering Statistics Handbook.

    What is the formula for the exponential percentile?

    Solve 1 − e^(−λx) = p for x: x = −ln(1 − p) ÷ λ. With λ = 0.5, the 90th percentile is −ln(0.1) ÷ 0.5 ≈ 4.61, and the median (p = 0.5) is ln 2 ÷ λ.

    What does memoryless mean for the exponential distribution?

    Time already spent waiting tells you nothing about the wait still to come: P(X > s + t given X > s) equals P(X > t). If you have already waited 10 minutes for a random arrival with a 4-minute mean, the expected further wait is still 4 minutes.

    Is λ the same as the mean?

    No, it is the reciprocal. A rate of 0.25 arrivals a minute means a mean gap of 1 ÷ 0.25 = 4 minutes. Mixing the two up, or mixing minutes with hours, is the most common mistake, so choose the matching option under “I know”.

    How is the exponential distribution related to the Poisson distribution?

    If events happen at random at rate λ, the number in a time t follows a Poisson distribution with mean λt, and the gaps between events follow an exponential distribution with rate λ. Use the Poisson distribution calculator for counts and this one for waiting times.

    When is the exponential model a poor fit?

    When the rate changes over time, such as rush hours, or when things wear out, so failure becomes more likely with age. Then a model that allows a changing rate, such as the Weibull distribution, describes the data better.

    More in Statistics & Probability