Bernoulli, Binomial and Poisson

One trial, then n trials, then the limit as n runs away. Three distributions built from the same coin.

Bernoulli, Binomial and Poisson

This module needs JavaScript: the numbers are computed in the page rather than recorded.

Worth knowing

Bernoulli: one trial, one parameter. Success with probability p, failure otherwise.
Binomial: how many successes in n independent Bernoulli trials. Mean np, variance np(1−p).
Poisson: the binomial's limit as n grows and p shrinks with np held fixed. Counts of rare events in a fixed window.
A Poisson has mean and variance both equal to λ. Real count data is often more spread than that, which is a diagnosis, not a nuisance.

Overview

From one trial to a count

A Bernoulli variable is 1 with probability p and 0 with probability 1−p. Its mean is p and variance p(1−p). The sum of n independent Bernoulli trials with the same p is binomial:

P(X=k) = C(n,k)pᵏ(1−p)ⁿ⁻ᵏ

For n = 5 and p = 0.2, the chance of exactly one success is 5(0.2)(0.8)⁴ = 0.4096. The model requires a fixed number of independent trials with the same success probability; if those assumptions fail, the binomial calculation may not fit.

In this guide
  1. Poisson event counts
  2. Match a distribution to the process
  3. Try this above
  4. Sources and next steps

Bernoulli, Binomial and Poisson Distributions

These discrete models describe one binary trial, successes across fixed trials, and event counts over a fixed interval.

Poisson event counts

A Poisson variable with rate λ has P(X=k) = e⁻λ λᵏ/k!. It models counts over a fixed interval under assumptions such as a stable rate and independent events in disjoint intervals. Its mean and variance are both λ. It can approximate a binomial distribution when n is large, p is small, and λ = np is held fixed; the approximation is not an identity.

See combinatorics for the binomial coefficient and expectation and variance for the moments.

Match a distribution to the process

Use a Bernoulli model for one yes/no trial with success probability p. Use a binomial model when the number n of trials is fixed, trials are independent, each has the same p, and the result is the success count. If five independent parts each fail with probability 0.2, the chance exactly one fails is C(5,1)(0.2)(0.8)⁴=0.4096. If their failure probabilities differ, the simple binomial model is not appropriate.

A Poisson model instead counts events in a fixed interval when a stable average rate and independent increments are plausible. Here λ is the expected count for that interval, not a probability; it may exceed one. If a service receives an average of 3 calls per minute, the model gives P(X=0)=e⁻³≈0.050 for one minute. Double the interval and λ doubles if the rate remains constant. Bursts, clustering, or a changing rate can invalidate the model. Its equality of mean and variance is a useful check: strong overdispersion may signal a poor fit. The Poisson approximation to a binomial is useful for large n and small p with λ=np, but it remains an approximation.

Try this above

Change n and p separately while holding np fixed. Compare the binomial and Poisson probabilities, especially for small p and larger n.

For a binomial variable, the mean is np and variance is np(1−p). These describe the distribution across repeated sets of n trials, not the outcome of one set. For n=5 and p=0.2, the expected number of failures is 1, but the actual count must be an integer. The chance of at least one success is easier through the complement: 1−(1−p)ⁿ. This also shows how repeated opportunities change the probability even when each trial remains unlikely.

Sources and next steps

Check yourself

0 of 3

Answer without scrolling back up.

  1. Why is a Bernoulli variance largest at p = 0.5?

  2. What survives when a binomial becomes a Poisson?

  3. Your count data has mean 4 and variance 12. What does that suggest?

Cheat sheet

Bernoulli, Binomial and Poisson

Start from a single coin flip and build the binomial and Poisson distributions step by step. See the limit that connects each to the next.

MATHS · vizlearn.in/maths/bernoulli_binomial_poisson.html

About the author

Ashish Jangra builds and maintains VizLearn. Every module here is written and the visualisation behind it hand-built, so the numbers in a readout come from the same code that draws the picture. Corrections are genuinely welcome and get priority over everything else — if a page states something wrong, or an animation misrepresents what the algorithm does, get in touch.

Teaching a course with this? Individual teachers can use it freely; for a whole department or programme, see institutional licences.