Statistics & probability

Poisson binomial calculator with unequal probabilities

Calculate exact-count and inclusive-tail probabilities for independent Bernoulli trials with different success probabilities.

Your numbers

Enter 1–200 probabilities between zero and one. This list does not need to sum to one.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A Poisson-binomial distribution counts successes across independent yes/no trials whose probabilities can differ. This is a different model from an ordinary binomial distribution, which uses one shared success probability. Starting with probability one at zero successes, the calculator adds each trial through a count-distribution recurrence. The final table lists every attainable success count, while the result highlights the exact target count and both inclusive tails.

THE FORMULAP_new(k)=(1−p_i)P_old(k)+p_iP_old(k−1); E[X]=Σp_i; Var(X)=Σp_i(1−p_i).

A worked example

For probabilities 0.1,0.4,0.8, the masses for zero through three successes are 0.108,0.516,0.344,0.032. Thus exactly two successes has probability 0.344 and at least two has probability 0.376. The mean is 1.3 and the variance is 0.49. Although the trial probabilities add to 1.3, that is valid: they describe separate trials rather than competing categories in one trial.

Good to know

Supports at most 200 independent Bernoulli trials. Each probability must be between zero and one; zero and one are valid deterministic trials. This is a numerical evaluation of the finite sampling distribution, without a Poisson or normal approximation. Floating arithmetic can underflow extremely small positive masses. Correlated trials and uncertain estimated probabilities require a different model.

Separate trials do not form one category probability vector

Every entry answers the same question for a different trial: what is its chance of success? The values may add to more than one because several trials can succeed. Requiring their sum to equal one would confuse this model with multinomial categories. Conversely, a probability outside zero through one is invalid even when another entry could make the total look reasonable.

Replacing unequal probabilities by their average preserves the expected count, but generally changes the count distribution and its variance. For independent trials, the variance is the sum of the individual Bernoulli variances, not n times a variance invented from one average trial. Inspect the full probability table before using an ordinary binomial result as a convenient substitute for the actual trial-by-trial model.

Three unequal Bernoulli trials give four possible success countsUnequal probabilities: 0.1, 0.4, 0.80.10800.51610.34420.0323
For p = (0.1,0.4,0.8), masses at counts 0,1,2,3 are 0.108,0.516,0.344,0.032. Exactly two has probability 0.344; the two rightmost masses sum to 0.376.

The Binomial probability calculator assumes a common success probability. This page retains a separate probability for every independent trial.

A correct recurrence cannot repair dependence in the experiment

The recurrence splits each new count into two disjoint possibilities: the old count with a failure, or one fewer old success followed by a success. Multiplication by the entered trial probability relies on independence. Shared weather, repeat observations on the same unit or a changing latent condition can invalidate that factorization even if every individual probability was estimated accurately.

At most k and at least k both include the mass at k; they are not complements. Their sum is one plus P(X=k), which provides a useful arithmetic check. Deterministic successes shift the attainable count range, and deterministic failures leave it unchanged. The ordinary binomial probability calculator remains appropriate when all independent trials share one fixed probability, a special case recovered by this recurrence.

A few questions, answered

Does Poisson binomial mean a Poisson approximation?

No. It is the name of the unequal-probability Bernoulli count distribution. This page evaluates its finite count recurrence directly.

Can the success probabilities come from forecasts?

They can be entered, but the output conditions on those values as fixed. It does not propagate forecast uncertainty or model dependence among forecasts.

Find your calculator

Start typing to explore the library.