MathsStatistics & Probability

Poisson Distribution
calculator.

The Poisson distribution gives the chance of a set number of events at a steady average rate.

How it's worked out

Use it for counts with no fixed number of tries: calls in an hour, flaws per meter of cable, typos on a page. You give an average rate and an interval, and those multiply into λ (lambda), the number of events you expect in that interval. NIST describes λ as the average number of events in the interval.

λ\displaystyle \lambda=rate×interval\displaystyle {}=\;\text{rate} \times \text{interval}
P(X=k)\displaystyle P(X = k)=e−λλkk!\displaystyle {}= \frac{e^{-\lambda}\,\lambda^{k}}{k!}

Here k is the whole-number count you ask about and e is about 2.71828. "At most" and "at least" questions add these terms, and the far right tail is summed directly so very small chances keep their digits. Each term is worked in logarithms, so a λ of several hundred does not overflow.

The mean and the variance are both λ. So the standard deviation is λ\sqrt{\lambda} and the skewness is 1λ\frac{1}{\sqrt{\lambda}}. A small λ piles up near zero with a long right tail, and a large λ looks more and more like a bell curve. When λ is a whole number, λ and λ − 1 tie as the most likely counts.

The model needs three things: events come one at a time, one event does not make the next more or less likely, and the rate holds steady across the interval. Lunch-hour traffic and 3 a.m. traffic need separate rates.

Worked examples

A help desk that averages 3 calls an hour

A quiet hour with no calls has a chance of 0.049787. Two calls or fewer has a chance of 0.42319, so you can expect that in about 42% of hours.

For staffing, turn it around: being ready for 6 calls covers at least 95% of hours. If the true rate is 20% higher than you think, the chance of two or fewer falls to 0.302747. If it is 20% lower, it rises to 0.569709.

Open this example in the tool

Flaws in thin copper wire

Flaws average 2.3 per millimeter. In one millimeter, the chance of exactly 2 is 0.265185. Over 5 mm, λ becomes 11.5 and the chance of exactly 10 is 0.112935. Over 2 mm, the chance of at least one flaw is 0.989948.

Open this example in the tool

Deaths from horse kicks in the Prussian army

Bortkiewicz's 1898 count of deaths per army corps per year averages 0.61. The model gives a chance of 0.5434 for no deaths, 0.3314 for one and 0.1011 for two. Across 200 corps-years that predicts about 108.7 years with none, and the record shows 109.

Rare events do not have to be odd ones. This data set passes the usual check too: its variance is 0.611 against a mean of 0.61.

Open this example in the tool

Reading your result

Use the spread as a quick scale. A shop with 15 arrivals an hour has a standard deviation of 3.87, so 10 to 20 arrivals is a little over one standard deviation each way. That range has a chance of 0.847175.

Compare the variance with the mean. Memorial University puts it plainly: the characteristic test for a Poisson is that the variance equals the mean. A common form of the test takes the ratio of the two, multiplies by one less than the number of counts, and reads the result on a chi-square curve. A variance clearly above the mean is called overdispersion.

The counts 0, 0, 0, 9, 0, 1, 0, 7, 0, 0, 8, 0 show what that looks like. Their variance is 6.2 times their mean, and the chance of a ratio that high under a steady rate is 2.253 × 10⁻¹⁰. Real events often cluster like this, or the rate differs between days and machines.

P(X = k) for three values of λ
kλ = 1λ = 2λ = 5
00.36790.13530.0067
10.36790.27070.0337
20.18390.27070.0842
30.06130.18040.1404
40.01530.09020.1755
50.00310.03610.1755
60.00050.0120.1462
800.00090.0653

Common mistakes

  • Forgetting to scale the rate. A rate of 3 an hour over 20 minutes is a λ of 1, not 3. Enter the rate and the interval in the same unit of time.
  • Using one average for a rate that changes. A daily average hides busy and quiet hours, so peak hours will overrun the figures you plan from.
  • Using it when events cause each other. One accident can cause another, and one sick person can infect the next. Counts like these spread wider than the formula predicts.
  • Using it when the count has a hard ceiling that matters. Defects among 10 parts cannot pass 10. Use the binomial distribution when you know the number of tries and it is small.

Questions people ask

Use the binomial when you can count the tries and each one succeeds or fails, such as 20 coin flips. Use the Poisson when events land in time or space with no set number of tries. A help desk could get any number of calls, so there is nothing to count the calls out of.

Sources