Formula: Poisson & Exponential Waiting Formula
- arrivalRateLambdaPerHour: Arrival Rate Lambda Per Hour (events/hr)
- timeWindowHoursT: Time Window Hours T (hours)
- targetEventCountK: Target Event Count K (k events)
Compute Poisson count probability P(X=k) and Exponential waiting time CDF/survival.
With the defaults the expected count μ is exactly 6. For any whole-number μ, the counts μ and μ minus 1 have identical Poisson probabilities, so P(X = 5) and P(X = 6) are both 16.062%. Move the rate or window slightly so μ is not a whole number and the tie disappears.
The page returns the probability of exactly k. For at most k, run it for 0, 1, 2 and so on up to k and add the results. With the defaults, the counts 0 to 5 sum to about 44.6%. For at least k, subtract the sum for 0 to k minus 1 from 100%.
Set the time window to the wait you care about, in hours, and the target count to 0. The result is the chance of no events in that time, which equals the chance the wait exceeds it. At 4 per hour, a 0.5-hour window returns 13.534% for waiting more than 30 minutes.
On average, yes, and because the exponential distribution is memoryless that stays true however long you have already waited. But most single waits are shorter than the mean. At 4 per hour the mean is 15 minutes while the median is about 10.4 minutes, and only about 36.8% of waits exceed 15 minutes.
Divide the daily rate by 24 to get a rate per hour, and enter the window in hours. Both inputs must use the same time unit because the calculator multiplies them directly. Entering a daily rate with an hourly window inflates μ by a factor of 24 and gives a wildly wrong probability.
No. Raising λ increases the probability of exactly k only while λt is below k. Once λt passes k, further increases make k less likely. With a 1.5-hour window, P(X = 5) is 10.082% at 2 per hour, 16.062% at 4 per hour and 6.073% at 6 per hour.
The page asks for a whole number of 0 or more and shows no probability, because a Poisson count must be a whole number of events. Entering 2.6 brings up that message. Round to the count you actually mean and run it again; 3 events at the default rate and window gives 8.924%.
Collect counts over many windows of equal length and compare their mean and variance. For a Poisson process they are roughly equal. A variance much larger than the mean points to clustering or a changing rate. Plotting counts by time of day often reveals rush periods that need separate rates.
Yes. The probability is computed in logarithms, so large counts work. At a rate of 100 per hour over 2 hours, μ is two hundred and the chance of exactly that many events is 2.82%. Even the most likely count gets only a small share at that scale, so range questions are usually more useful. A normal approximation makes a quick cross-check.
Yes, if failures occur independently at a steady rate, which is the constant-hazard case. Enter the failure rate per hour and the mission time in hours, and P(X = 0) is the chance of no failure. Wear-out failures, where the rate rises with age, need a Weibull model instead of this one.
It is the chance that anything happens at all in the window, regardless of how many events. It equals one minus the probability of zero events, and also the chance the first wait is shorter than the window. At the defaults it is 99.752%, so an empty 1.5 hours is very unlikely.
The default is a stream of events arriving at 4 per hour, watched for 1.5 hours, and the question is how likely it is to see exactly 5 of them. Think of customers at a counter, calls to a small help line, or requests hitting a server at a quiet time.
The first thing the calculator works out is the expected count, μ = λt. Four per hour for an hour and a half is 6 events. Everything else follows from that single number. The Poisson formula then gives P(X = 5) as 6 to the power 5, times e to the power minus 6, divided by 5 factorial. That comes to 16.062%.
Two more lines describe the same process from different angles. The chance of at least one event in the window is 1 minus e to the minus 6, or 99.752%. And the mean wait between consecutive events is 1 divided by λ, which at 4 per hour is a quarter of an hour, shown as 15 minutes.
A count of 5 when you expect 6 is a very ordinary outcome, but it is still only about one window in six. Poisson counts spread out more than people expect. Seeing 5, 6 or 7 is common; seeing exactly 6 is not guaranteed at all.
Change the target count from 5 to 6 and the answer stays at 16.062%. That is not a rounding coincidence. Whenever μ is a whole number, the two most likely counts are μ and μ minus 1, and they have exactly the same probability.
The rest of the distribution falls away on both sides, but not evenly. With μ = 6, the calculator gives 13.385% for 4 events, 8.924% for 3, 4.462% for 2 and 1.487% for 1. Going upward, 7 events is 13.768% and 10 events is 4.13%. The right-hand tail is longer than the left, which is typical of counts that cannot go below zero but have no fixed ceiling.
Adding the left side up by hand is a useful check. The probabilities for 0 to 5 events sum to about 44.6%, so there is roughly a 55% chance of 6 or more in the window. Note that the calculator gives single-count probabilities only. For questions like 'at most 5' or 'more than 8', you need to add the individual terms, which you can do by running the calculator once per count.
The target count must be a whole number. Entering 2.6 brings up a message asking for a whole number of 0 or more, rather than a probability, because a count of events cannot be fractional. Enter 3 and the page returns 8.924%.
The Poisson count and the exponential wait are two views of the same assumption: events arrive independently at a constant average rate. If counts in a window follow Poisson with mean λt, then the time until the next event follows an exponential distribution with rate λ.
The link is easy to see on the page. The chance of no events at all in 1.5 hours is P(X = 0), which the calculator gives as 0.248% when you set the target to zero. That is also the chance that the first wait lasts longer than 1.5 hours, e to the minus λt. The 99.752% line is simply the complement: the probability that the wait is shorter than the window.
You can use this to answer waiting questions directly. To find the chance of waiting more than 30 minutes at 4 per hour, set the window to 0.5 hours and the target count to 0. The page shows 13.534%, which is e to the minus 2.
Exponential waits are memoryless. If you have already waited 15 minutes with nothing happening, the chance of waiting another 15 is the same as it was at the start. That property is exactly what makes the model fit genuinely random arrivals, and exactly why it fails for anything on a timetable.
The 15-minute figure is the mean gap between arrivals at 4 per hour. Most individual gaps are shorter than that.
The exponential distribution is heavily skewed. Its median is ln 2 divided by λ, which at 4 per hour is about 10.4 minutes. So half of all gaps are shorter than about ten and a half minutes, and a minority of long gaps pull the average up to 15.
The chance that any one gap exceeds the mean is e to the minus 1, about 36.8%. You can confirm that on the page: set the window to 0.25 hours, matching the 15-minute mean, and the target to 0. The result is 36.788%, and P(X ≥ 1) becomes 63.212%.
This matters when you plan around waits. Staffing a service so that it can cope with the average gap will leave it idle often and swamped occasionally. Short gaps cluster together more than intuition suggests, and runs of several quick arrivals are a normal feature of random traffic rather than a sign that something has changed.
Only the product λt enters the count probabilities. Four events per hour for 1.5 hours gives the same μ of 6 as 2 per hour for 3 hours, and every Poisson probability on the page is identical for the two cases. The mean wait line is the only one that tells them apart, because it depends on λ alone.
The presets show what happens when you change the rate with the window fixed. At 2 per hour, μ falls to 3, P(X = 5) drops to 10.082% because 5 is now above the expected count, P(X ≥ 1) falls to 95.021%, and the mean wait doubles to 30 minutes. At 6 per hour, μ rises to 9, P(X = 5) falls to 6.073% because 5 is now well below the expected count, and the mean wait shrinks to 10 minutes.
So a higher rate does not always raise the probability of your target count. It raises it until μ passes the target and then lowers it again. If you are asking about exactly k events, the probability is largest when λt is close to k.
Shrinking the window to 15 minutes at the default rate gives μ = 1, and P(X = 5) becomes a rare 0.307%.
The rate is labelled per hour and the window is in hours. Mixing units is the most common error on this kind of page.
If your rate is 20 events per day, divide by 24 before entering it. If your window is 45 minutes, enter 0.75 hours. The calculator does not convert anything, and it has no way of knowing that 45 was meant as minutes.
Both the rate and the window must be above zero. A zero in either field produces a message instead of a result, which is the right outcome: with no time or no rate there is nothing to count. If you see that message after typing a small number, check whether you meant a larger unit.
The mean wait is always reported in minutes, so a rate of 0.5 per hour reads as two hours of waiting expressed in minutes. For very slow processes such as equipment failures you may find it easier to keep the rate per hour and read the mean wait in hours by dividing by 60 yourself.
The model needs three things: a constant average rate across the window, events that do not influence each other, and no two events at exactly the same instant. Many real processes break at least one.
Rates that change through the day are the biggest problem. A shop that averages 4 customers an hour may see 10 at lunch and 1 mid-afternoon. A single λ across a long window then gives counts that are too tightly bunched. Split the day into periods with their own rates and run each separately.
Events that arrive in clusters break independence. Group bookings, retry storms after an outage, and calls prompted by the same news story all produce more variability than Poisson predicts. A quick check is to compare the variance of your observed counts with their mean. For Poisson they should be close. If the variance is much larger, the model will understate the chance of busy windows.
Scheduled events, such as buses on a timetable or batch jobs on a cron, are more regular than Poisson and should not be modelled this way at all.
The engine works out the Poisson probability in logarithms, so very large counts no longer overflow. That matters for high-volume streams such as requests on a busy service or vehicles passing a counter.
For example, with a rate of 100 per hour over 2 hours, μ is two hundred. The chance of exactly that many events comes out at 2.82%. That is small, but it is the single most likely count. With so many possible outcomes spread around the mean, no one count gets much of the probability.
At that scale the mean wait line becomes 0.6 minutes, and P(X ≥ 1) rounds to 100%. The interesting questions are usually ranges, such as the chance of more than a certain number, and for those a normal approximation with mean and variance both equal to μ is a quick cross-check on summed exact terms.
For counts in the tens and below, which covers most queueing, service and reliability questions, the results are exact to the displayed precision, and the same is now true for much larger counts.