Skip to main content
v2026.11,986 entries · CC-BY 4.0

Poisson Distribution Solver: Calculate Probabilities and Find Lambda

Solve Poisson probabilities by hand and in Excel, R, Python or a TI-84, and learn how to find lambda from a rate or sample data.

Written and maintained by CASRAI Editorial Board

Published

On this page

A Poisson distribution solver takes two numbers, the average number of events per interval (λ) and the count you care about (x), and returns the probability of exactly x events, at most x events, or at least x events. This page shows the arithmetic behind any solver, how to find λ from your own data, and the exact function calls in Excel, R, Python and on a graphing calculator, so you can check a result instead of trusting a box. For the concept itself, see the Poisson distribution guide.

What a Poisson distribution solver needs: λ and x

Every solver, whether a web calculator, a spreadsheet or a statistics package, asks for the same two inputs. λ (lambda) is the mean number of events in one interval of time, length, area or volume. x is the count of events you are asking about. The solver then returns one of three things: P(X = x), the probability of exactly x events; P(X ≤ x), the cumulative probability; or, after one subtraction, P(X ≥ x).

Poisson distribution formula, with every symbol explained

The probability mass function is P(X = x) = e−λ λx / x!, for x = 0, 1, 2, … (NIST/SEMATECH e-Handbook of Statistical Methods, Poisson distribution entry). Here e ≈ 2.71828 is Euler’s number, λ is the average number of events per interval, x is the observed count, and x! is x factorial. The mean of the distribution is λ and its variance is also λ, so the standard deviation is √λ.

Worked example: Poisson probabilities by hand (λ = 5, x = 2)

Suppose events arrive at an average of 5 per interval. Using e−5 = 0.006738:

  • P(X = 2) = e−5 × 52 / 2! = 0.006738 × 25 / 2 = 0.08422.
  • P(X ≤ 2) = P(0) + P(1) + P(2) = e−5(1 + 5 + 12.5) = 0.006738 × 18.5 = 0.12465.
  • P(X ≥ 3) = 1 − P(X ≤ 2) = 1 − 0.12465 = 0.87535.

These match the values in Microsoft’s documentation for POISSON.DIST with x = 2 and mean = 5 (0.084224 for the probability mass, 0.124652 for the cumulative), which makes this a useful test case for any solver you are about to rely on.

How to find lambda in a Poisson distribution

Lambda is the average event count for the interval you are asking about, so finding it is a matter of matching the rate to the interval.

How to calculate lambda from a rate

Divide events by exposure to get a rate, then multiply by the length of the interval you want: λ = rate × t. Illustrative example: 12 events are recorded over 4 hours, a rate of 3 per hour. For a 30-minute window, λ = 3 × 0.5 = 1.5. Then P(X = 0) = e−1.5 = 0.2231 and P(X ≥ 1) = 1 − 0.2231 = 0.7769. The most common error is leaving λ in hourly units while asking about a half-hour window.

How to estimate lambda from sample data

If you have counts from several equal-length intervals, the sample mean of those counts is the usual estimate of λ (it is the maximum likelihood estimate; see the maximum likelihood estimator of the Poisson distribution). For counts of 3, 5, 4, 6 and 2 over five intervals, λ̂ = 20 / 5 = 4.0. Because a Poisson variable has variance equal to its mean, compare the sample variance with the sample mean: here the sample variance is 2.5 against a mean of 4.0. A variance far above the mean (overdispersion) means the Poisson model is a poor fit; see the negative binomial distribution and Poisson regression analysis.

Poisson distribution calculator: how to read the output

Solver output Meaning Check with λ = 5, x = 2
P(X = x) Exactly x events 0.0842
P(X ≤ x) x or fewer events (cumulative) 0.1247
P(X < x) Fewer than x events, P(X ≤ x − 1) P(X ≤ 1) = 0.0404
P(X ≥ x) x or more events, 1 − P(X ≤ x − 1) 1 − 0.0404 = 0.9596
P(X > x) More than x events, 1 − P(X ≤ x) 0.8753

Check the strict versus inclusive inequality in a solver’s labels before reading the result; “at least” and “more than” differ by exactly P(X = x).

Poisson distribution in Excel

Excel’s function is POISSON.DIST(x, mean, cumulative), and all three arguments are required. With cumulative = TRUE it returns P(0 to x); with FALSE it returns P(exactly x). A non-integer x is truncated, a negative x or mean returns #NUM!, and a non-numeric argument returns #VALUE! (Microsoft Support, POISSON.DIST function). Examples: =POISSON.DIST(2,5,FALSE) gives 0.084224; =POISSON.DIST(2,5,TRUE) gives 0.124652; =1-POISSON.DIST(2,5,TRUE) gives P(X ≥ 3).

Poisson distribution in R and Python

R: dpois(2, lambda = 5) returns P(X = 2), ppois(2, lambda = 5) returns P(X ≤ 2), and ppois(2, lambda = 5, lower.tail = FALSE) returns P(X > 2) (R stats documentation, Poisson). In R, lambda is the non-negative mean.

Python (SciPy): from scipy.stats import poisson, then poisson.pmf(2, 5) for P(X = 2), poisson.cdf(2, 5) for P(X ≤ 2) and poisson.sf(2, 5) for P(X > 2). SciPy names the mean parameter mu (SciPy reference, scipy.stats.poisson). See also SciPy Stats functions for research.

All three should return 0.0842, 0.1247 and 0.8753 for these inputs. The argument order differs: Excel takes x then mean, R takes x then lambda, SciPy takes k then mu.

Poisson distribution on a TI-84 calculator

Graphing calculators in the TI-83/84 family provide poissonpdf(λ, x) for P(X = x) and poissoncdf(λ, x) for P(X ≤ x) in the DISTR menu (press 2nd, then DISTR, and choose the function from the list). Note that λ comes first and x second, the reverse of Excel and R. Texas Instruments’ support article for the TI-84 Plus C Silver Edition documents the syntax poissoncdf(λ, x), with λ greater than zero; its example is λ = 6, x = 10. Menu letters can differ between models, so pick the function by name from the list. For P(X ≥ x), enter 1 − poissoncdf(λ, x − 1).

Assumptions and common mistakes

  • Interval mismatch: λ must refer to the same interval as x.
  • Cumulative flag: using TRUE (or poissoncdf, ppois, cdf) when you want the single-count probability, or the reverse.
  • Off-by-one on “at least”: P(X ≥ x) = 1 − P(X ≤ x − 1), not 1 − P(X ≤ x).
  • Argument order: see the note above; swapping λ and x produces a plausible but wrong number with no error message.
  • Overdispersed counts: if the variance is clearly larger than the mean, a Poisson solver understates the probability of extreme counts.

How to report a Poisson probability (APA example)

Report the model, the parameter and the probability together, for example: “Assuming events followed a Poisson distribution with λ = 5 per interval, the probability of observing exactly two events was .084, and of observing two or fewer was .125.” State how λ was obtained (estimated from data, or fixed by design), and name the software.

FAQ

How do I find lambda in a Poisson distribution?

Lambda is the mean number of events per interval. Compute events divided by exposure to get a rate, then multiply by the interval length you are modelling. With repeated equal intervals, use the sample mean of the counts.

How do I calculate lambda in a Poisson distribution when the interval changes?

Rescale proportionally: a rate of 3 events per hour gives λ = 1.5 for 30 minutes and λ = 6 for 2 hours.

What is the difference between a Poisson distribution calculator and a solver?

None in the mathematics. Both evaluate the same mass and cumulative functions from λ and x.

What do the mean and variance of a Poisson distribution equal?

Both equal λ (NIST/SEMATECH e-Handbook). For other distributions see types of distributions and the binomial probability calculator.

Sources

  • NIST/SEMATECH e-Handbook of Statistical Methods, Poisson distribution, itl.nist.gov/div898/handbook/eda/section3/eda366j.htm (read 2026-11-07).
  • Microsoft Support, POISSON.DIST function, support.microsoft.com (read 2026-11-07).
  • R Documentation, The Poisson Distribution (stats), stat.ethz.ch/R-manual (read 2026-11-07).
  • SciPy reference, scipy.stats.poisson, docs.scipy.org (read 2026-11-07).
  • Texas Instruments, poissoncdf on the TI-84 Plus C Silver Edition, education.ti.com knowledge base (read 2026-11-07).

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Poisson Distribution Solver: Calculate Probabilities and Find Lambda

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →