Formula: Binomial & Poisson Mathematical Identity
- trialsN: Trials N (numeric parameter)
- successesK: Successes K (numeric parameter)
- probabilityP: Probability P (numeric parameter)
Evaluate Bernoulli trial success probabilities and expected distribution spread.
It is the Poisson approximation to the same probability, using λ = np. For the default it reads 21.376%, against 25.028% exact. The lines after it are not percentages: the expected value of 2.5 means 2.5 successes, the standard deviation of 1.369 is in successes, and the coefficient of 120 is a count of arrangements.
Add the exact probabilities for every value from k up to n, or subtract the total for 0 to k - 1 from 100%. For the default 10 trials at 0.25, the values for 0 to 2 are 5.631%, about 18.77% and 28.157%, so the chance of at least 3 successes is about 47.4%.
Compute λ = np, then e^(-λ) x λ^k / k!. For the default, λ = 2.5, so the value is 0.0821 x 15.625 / 6, about 21.4%, matching the 21.376% on the page. Comparing this line with the exact binomial is a quick way to see whether the Poisson would be good enough for your problem.
Enter it as a decimal between 0 and 1. A 25% chance goes in as 0.25, and a 2% defect rate as 0.02. Values above 1 are rejected with an error message, so entering 25 instead of 0.25 stops the calculation rather than giving a misleading answer.
Up to one thousand whole trials. At two hundred trials with p = 0.01 and k = 3, the exact answer is 18.136% and the Poisson line is 18.045%. For problems beyond that, use the Poisson with λ = np when p is small, since it needs only the mean and k. When np and n(1 - p) are both large, a normal approximation with mean np and standard deviation √(np(1 - p)) also works well.
Not always. The mean can be a fraction, like 2.5 in the default, and the most likely count is a whole number near it. Here k = 2 has 28.157%, the highest, while k = 3 has 25.028%. The peak sits at the whole number just below (n + 1)p, so 2 for this example.
Yes. Enter p = 0.5. For 20 flips, the chance of exactly 10 heads comes out at 17.62%, so even the single most likely result happens less than one time in five. Fair coins often give results that look lopsided in small samples, which surprises many people.
Only approximately. Without replacement, p changes after each draw and the trials are not independent. The approximation is good when your sample is a small share of the population. For drawing a large share, such as a hand of cards from one deck, the hypergeometric distribution gives the exact answer.
It counts how many different orders the k successes could appear in among n trials. C(10, 3) = 120 means there are 120 different ways to pick which three of ten tries succeed. Each way has the same probability, so the exact answer is that count times the probability of a single pattern.
That depends on what the number is for. In the 100 trials at p = 0.02 example, the two differ by about a third of a percentage point, which rarely matters. At the default p = 0.25, they differ by more than three points. When in doubt, run the exact binomial here and compare it with your Poisson value.
Enter k = 0. For the default 10 trials at p = 0.25 the result is 5.631%, which is simply 0.75 raised to the tenth power, since every trial must fail. One minus that value, about 94.4%, is the chance of at least one success, a figure often needed for questions about the risk of something happening at least once.
The default asks a precise question. If something succeeds with probability 0.25 each time, and you try 10 independent times, what is the chance of exactly 3 successes? Think of guessing on a 10-question quiz with four options per question and getting exactly 3 right.
The answer is 25.028%. By hand, it comes from three pieces. The number of ways to choose which 3 of the 10 trials succeed is C(10, 3), which equals 120 arrangements. The chance of any one such pattern is 0.25 cubed for the three successes, which is 0.015625, times 0.75 to the seventh for the seven failures, which is about 0.1335. Multiply all three: 120 x 0.015625 x 0.1335 = 0.2503.
The supporting lines describe the whole distribution, not just k = 3. The expected number of successes is np = 10 x 0.25 = 2.5. The standard deviation is the square root of np(1 - p), which is the square root of 1.875, or 1.369.
The first supporting line is the Poisson approximation for the same question, 21.376% here, which the Poisson sections below explain. The other lines are counts, not percentages. The mean is 2.5 successes, the standard deviation is 1.369 successes, and the coefficient is a plain count: 120 arrangements of three successes among ten trials.
The calculator returns the probability of exactly k successes. Many real questions are about a range instead: at least 3, no more than 2, between 2 and 4. Those are different numbers, and mixing them up is the most common mistake people make with a binomial result.
To get a range, run the calculator for each k and add the results. For the default 10 trials at 0.25, the exact probabilities are 5.631% for zero successes, about 18.77% for one, 28.157% for two and 25.028% for three. So the chance of three or fewer is about 77.6%, and the chance of four or more is the rest, about 22.4%.
Notice that the most likely single outcome is 2, not 3, even though the mean is 2.5. The mean is an average over many repeats and does not need to be a possible count. A useful check is that the peak of a binomial sits at the whole number just below (n + 1)p, which here is 2.75, so 2.
The same adding works for a window in the middle. The chance of two, three or four successes is 28.157% plus 25.028% plus 14.6%, about 67.8%. Two thirds of all runs of ten guesses land in that narrow band, which is a quick way to see how tightly the binomial clusters around its mean when n is small.
Hold p at 0.25 and k at 3 and change n. With 6 trials, P(X = 3) is 13.184% and the mean is 1.5. With 10 it is 25.028%. With 15 it falls back to 22.52%, with a mean of 3.75 and a coefficient of 455 possible arrangements.
The rise and fall make sense once you see the mean moving. At 6 trials, three successes is above the expected 1.5, so it is unlikely. At 10, three is close to the expected 2.5. At 15, the expected count has moved past 3 to 3.75, and other outcomes are taking more of the probability. A fixed k is most likely when n is roughly k divided by p.
Changing k with n fixed traces the shape of the distribution. At 10 trials, k = 0 gives 5.631%, k = 2 gives 28.157%, and k = 4 gives 14.6%. Plotting those values for every k from 0 to 10 gives the familiar hump, skewed to the right when p is below 0.5.
The calculator checks its inputs and shows an error rather than guessing what you meant. Trials and successes must be whole numbers, which is sensible because you cannot run 9.5 trials.
Successes must lie between 0 and the number of trials. Ask for 7 successes in 5 trials and you get an error message instead of a number. The probability of that event is zero, of course, and the error is a prompt to check whether you swapped n and k.
Trials can go up to one thousand, which covers most classroom and quality-control questions. Large n works well alongside the Poisson line: two hundred trials at p = 0.01 and k = 3 gives an exact binomial 18.136% against a Poisson 18.045%. Beyond that range, a normal approximation is the usual tool when both np and n(1 - p) are comfortably large.
Probability must be a decimal from 0 to 1, so 25% goes in as 0.25. Typing 25 produces an error rather than a result, which saves you from a silent mistake.
A Poisson distribution counts events in a fixed stretch of time or space, when they happen independently at a steady average rate λ. The probability of exactly k events is e to the power -λ, times λ to the power k, divided by k factorial.
The calculator puts the Poisson value on the first supporting line, using λ = np. For the default, λ = 2.5. You can check it by hand: e^(-2.5) is about 0.0821, 2.5 cubed is 15.625, and 3 factorial is 6. So P(X = 3) is 0.0821 x 15.625 / 6, about 0.214, matching the 21.376% shown.
That is noticeably lower than the exact binomial 25.028%. The Poisson also has a larger spread than the binomial here: its variance equals λ, 2.5, so its standard deviation is about 1.58, compared with the binomial's 1.369. With p as large as 0.25, the two distributions are not close.
The binomial variance is np(1 - p). The Poisson variance is λ = np. They agree when 1 - p is close to 1, so the approximation works when p is small. It works best when n is also large, so that the count is built from many independent rare events.
Try 100 trials at p = 0.02 and k = 2 in the calculator. The exact binomial answer is 27.341%. The Poisson line, with λ = 2, shows 27.067%, which is e^(-2) x 4 / 2. The two agree to within about a third of a percentage point, which is close enough for most planning work.
Compare that with the default, where p = 0.25 and the gap is more than three and a half points. The 15-trial case is no better: 22.52% exact against 20.67% Poisson. The rule to take away is that the Poisson is a model of rare events. Defects per batch, typos per page, calls per minute and claims per policy year are typical uses. For outcomes with a sizeable chance on each try, stay with the exact binomial.
The binomial formula assumes four things, and a wrong answer usually means one of them failed. There is a fixed number of trials, n. Each trial has only two outcomes. The probability of success, p, is the same on every trial. And the trials are independent, so one result does not change the next.
Drawing without replacement breaks the third and fourth conditions. If you draw 10 cards from a 52-card deck and count hearts, each draw changes the chance on the next one, and the binomial is only an approximation. It gets better when the sample is a small share of the population.
Clustering breaks independence. If faults on a production line tend to arrive in runs, the real chance of several faults in a batch is higher than the binomial says, and the chance of none is also higher. The result looks precise to three decimals, but it is only as good as these assumptions.
Changing p mid-way breaks the third condition too. If a player gets tired and their success rate drifts down over a session, a single p for all trials overstates the late successes and understates the early ones. Split the session into parts with their own p if the drift is large.
The mean and standard deviation help you judge whether an observed count is unusual. In the default, you expect 2.5 successes, give or take about 1.37. Getting 4 is about one standard deviation above the mean, unremarkable. Getting 7 or more would be far out in the tail.
For a quick check of a claim, compare what you saw with the mean and spread for the p that someone claims is true. If a supplier says the defect rate is 2% and a sample of 100 has 2 defects, that matches the mean of 2 with a standard deviation of 1.4. Seven defects in the same sample would be a reason to ask questions.
For a formal test, add up the exact probabilities in the tail, as in the at-most-k section above, rather than relying on standard deviations, which can mislead when the distribution is lopsided.