Modeling the wait until the next event
The exponential distribution describes how long you wait for the next event when events occur at random with a constant average rate: the next customer at a counter, the next phone call at a switchboard, the next radioactive decay or the next failure of a part that does not wear out. You enter the rate, the average number of events per time unit, and a waiting time x. The page returns three numbers: the probability that the wait is at most x, the probability that it is longer than x, and the probability density at x. Time units are your choice, but the rate and x must use the same one.
Survival, cumulative and density for waiting times
With rate λ and waiting time x, the survival probability is S(x) = e^(−λx), the cumulative probability is F(x) = 1 − e^(−λx), and the density is f(x) = λ × e^(−λx). The survival value is the chance that no event has happened by time x. The cumulative value is the chance that the first event has happened by then. The density is not a probability: it is the height of the curve, in events per time unit, and a probability comes from the area under it over an interval. The rate must be positive, and x cannot be negative.
A rate of 2 at zero elapsed time
The page opens with a rate of 2 per time unit and x = 0. At x = 0 no time has passed, so the survival probability is e⁰ = 1, the cumulative probability is 0 and the density equals the rate, 2. The density at zero is the highest point of the curve, and for any rate it equals λ. From there it decays by the same proportion for each equal step in time. Change x to see the numbers move. This starting point also makes a useful check: any exponential calculation at x = 0 must return survival 1 and cumulative 0.
A worked wait
Take a rate of 2 events per hour and ask about a wait of half an hour, so x = 0.5. The survival probability is e⁻¹, about 0.3679, so there is a 36.79 percent chance of waiting longer than 30 minutes. The cumulative probability is about 0.6321, and the density is 2 × 0.3679, about 0.7358 per hour. For a slower process, a rate of 0.5 per day and x = 3 days gives survival e⁻¹·⁵, about 0.2231, cumulative 0.7769 and density 0.1116 per day. Longer waits make the first event more likely to have happened. You can also read the numbers in reverse. If you want to know how long to wait to be 90 percent sure the event has occurred, solve 1 − e^(−λx) = 0.9 for x, which gives x = ln(10)/λ, about 2.303 divided by the rate. With a rate of 2 per hour that is about 1.15 hours. Staffing and buffer-stock decisions often start from a percentile like this one rather than from the mean.
Mean, median and the memoryless property
The mean waiting time is 1/λ, so a rate of 2 per hour means an average wait of 30 minutes. The median is ln(2)/λ, about 0.693 times the mean, which means half of all waits are shorter than 69 percent of the average. With λ = 2, entering x = 0.34657 returns survival 0.5. The distribution is memoryless: given that you have already waited t without an event, the chance of waiting a further s is the same as it was at the start. A bus that arrives randomly is not due after a long wait, which feels wrong to most people but follows from the constant rate assumption.
Rate versus scale
Some textbooks and software parametrize the exponential distribution by its mean, called the scale, instead of its rate. The two are reciprocals. A mean of 10 hours corresponds to a rate of 0.1 per hour, and entering 10 as the rate would describe a wait averaging 6 minutes, a mistake that changes every output. This page asks for the rate, in events per time unit, so convert a mean by taking 1/mean. For a failure rate stated per million hours, divide to get per hour. With a rate of 0.1 and x = 10, the survival is e⁻¹, about 0.3679: the chance of surviving one mean lifetime is always 36.8 percent.
Reliability and queueing uses
In reliability engineering, an exponential model describes components during their useful life, when failures are random and not caused by wear. A part with a failure rate of 0.02 per hour has a mean life of 50 hours, and the chance it survives 24 hours is e^(−0.48), about 0.6188. In queueing theory, the time between arrivals at a service point is often modeled as exponential when arrivals are random, and the number of arrivals in a period then follows the Poisson distribution. The two models are linked, which is why the Poisson zero-event page gives the same survival probability. Engineers often quote reliability as mean time between failures, which is the reciprocal of the failure rate. An MTBF of 50 hours is a rate of 0.02 per hour, matching the example above. The common misreading is that a part will last its MTBF. In fact only about 36.8 percent survive that long under this model, and the median life is about 69 percent of the MTBF. The model also fails for parts that wear out, where the failure rate rises with age and a Weibull or similar distribution is a better description.
Choosing and checking the rate
The rate should come from data: count events over an observation period and divide by the length of the period. Ten calls in five hours give a rate of 2 per hour. A rate estimated from few events is uncertain, so treat the output as approximate. Check that events really are random and independent with no schedule or batching. If waits cluster around a typical value, as with a bus on a timetable, the exponential model is a poor fit. If the rate changes with the time of day, use a separate rate for each period or a more advanced model.
No rate fitting from data here
The page evaluates a homogeneous exponential model for the values you enter. It does not fit a rate from data, test whether the distribution is appropriate, or handle changing rates, censored observations or multiple events. Density values can exceed 1 when the rate is high, and that is not an error, since the density is a rate per time unit and not a probability. Treat the result as a modeling estimate whose accuracy depends on your assumptions. Because the inputs are plain numbers, you can run sensitivity checks easily: raise and lower the rate by 20 percent and see how far the survival probability moves. If the conclusion flips, the rate estimate is too uncertain to support the decision, and more data should be collected before acting.