A binomial distribution gives the probability of exactly kk successes in nn trials — but only when the situation passes four conditions. The single most important judgment is deciding whether those conditions hold, because the arithmetic can look correct while the model itself is wrong.

XBin(n,p),P(X=k)=(nk)pk(1p)nkX \sim \text{Bin}(n,p), \qquad P(X=k)=\binom{n}{k}p^k(1-p)^{n-k}

The four conditions, at a glance

Condition                When it fits                 When it fails
Fixed number of trials   n known in advance           trials continue until some event
Two outcomes per trial   success / failure defined    three or more tracked outcomes
Independent trials       sampling with replacement    sampling without replacement (small set)
Constant probability p   p same every trial           p changes from trial to trial

If every row lands in the left column, a binomial model applies. If any lands on the right, use a different model.

What the model means and what each part does

Repeat the same kind of trial nn times. On each trial, label one outcome a success and the other a failure. If the success probability is pp on every trial, the count of successes XX can follow a binomial distribution, written XBin(n,p)X \sim \text{Bin}(n,p), where nn is the number of trials, pp is the per-trial success probability, and XX counts how many successes occur. This is a counting model: it asks how many successes happened, not which trial succeeded.

In the formula P(X=k)=(nk)pk(1p)nkP(X=k)=\binom{n}{k}p^k(1-p)^{n-k}, each part has a job: (nk)\binom{n}{k} counts the ways to arrange kk successes among nn trials, pkp^k gives the probability of those successes, and (1p)nk(1-p)^{n-k} gives the probability of the remaining failures. It works for k=0,1,2,,nk = 0, 1, 2, \dots, n.

A note on the conditions: a die roll still fits "two outcomes" if you define success as something like "rolling a 66," and "independent trials" fits sampling with replacement but usually not sampling without replacement from a small group.

Worked example: exactly 3 heads in 5 flips

A biased coin lands heads with probability 0.60.6, and you flip it 55 times. Let heads be success, so n=5n=5, p=0.6p=0.6, k=3k=3:

P(X=3)=(53)(0.6)3(0.4)2P(X=3)=\binom{5}{3}(0.6)^3(0.4)^2

Compute each part:

(53)=10,(0.6)3=0.216,(0.4)2=0.16\binom{5}{3}=10,\quad (0.6)^3=0.216,\quad (0.4)^2=0.16

So

P(X=3)=10(0.216)(0.16)=0.3456P(X=3)=10(0.216)(0.16)=0.3456

The probability of exactly 33 heads is 0.34560.3456, or 34.56%34.56\%. The model is valid here because the experiment has a fixed nn, two outcomes per flip, independent trials, and the same p=0.6p=0.6 each time.

For "at least one success," the complement is often faster than summing many terms. With XBin(5,0.6)X \sim \text{Bin}(5,0.6):

P(X1)=1P(X=0)=1(0.4)5P(X \ge 1)=1-P(X=0)=1-(0.4)^5

because "at least one success" is the complement of "zero successes."

Common confusions and how to keep them straight

  • Ignoring the conditions. Using the formula when trials are not independent — for example, drawing without replacement from a small set while pretending pp never changes — gives a wrong model.
  • Misreading "success." Success does not have to mean something good; it is simply the outcome you chose to count.
  • Mixing up "exactly," "at least," and "at most." "Exactly 33" is one term, "at least 33" is several terms, and "at most 33" is a different sum.

When the binomial distribution is used

It applies when you count repeated yes-or-no outcomes: defective vs. not defective, pass vs. fail, click vs. no click, heads vs. tails. It is useful in quality control, survey sampling under the right assumptions, reliability questions, and basic probability models.

To test the conditions and the formula together, take 88 flips of a coin with p=0.4p=0.4. Find P(X=2)P(X=2), then P(X1)P(X \ge 1) using the complement, and finally note what would change if the trials were no longer independent.

Frequently Asked Questions

What is the binomial distribution in simple terms?
The binomial distribution models the number of successes in a fixed number of independent trials when each trial has the same success probability.
When can you use the binomial formula?
You can use it only when there is a fixed number of trials, two outcomes per trial, independence between trials, and a constant success probability.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →