Binomial Distribution Formula

Binomial distribution is the probability distribution of the number of successes in n independent yes/no trials, each with probability p.

The Formula

P(X=k)=(nk)pk(1−p)n−k

Ask yourself: Are there a fixed number of independent trials, each success/failure with the same probability, and I want a count of successes?

Quick example

Flip fair coin 3 times: P(2 heads)=C(3,2)(0.5)2(0.5)1=38=0.375

Notation

X∼B(n,p) reads 'X follows a binomial distribution with n trials and success probability p'

What this formula means

The probability distribution of the number of successes in n independent yes/no trials, each with probability p.

Picture a tray of n coins, each weighted to land heads with probability p. Shake the tray once and count the heads: that count is binomial. Each coin ignores the others (independence) and all share the same weighting (constant p). If the coins could nudge one another, or some were weighted differently, the picture, and the binomial model, would stop fitting.

Formal view

P(X=k)=(nk)pk(1−p)n−k for k=0,1,…,n; E(X)=np, Var(X)=np(1−p)

Worked examples

Example 1

medium
A fair coin is flipped 8 times. What is the probability of getting exactly 5 heads?
Show solution

Answer

P(X=5)=732≈0.219

First step

1.
Use the binomial formula: P(X=k)=(nk)pk(1−p)n−k, where n=8, k=5, p=0.5.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

hard
A multiple-choice quiz has 10 questions, each with 4 choices. If a student guesses randomly, what is the probability of getting at least 2 correct?

Example 3

medium
A pharmacy fills 12 prescriptions; each has a 5% error rate independently. Find P(no errors).

Common mistakes

  • Applying it when trials aren't independent or p changes - drawing without replacement is hypergeometric, not binomial.
  • Dropping the (nk) factor - you must count the orderings of the k successes, not just multiply pk(1−p)n−k.
  • Mismatching the exponents - the success power is k and the failure power is n−k; swapping them inverts the answer.

Why this formula matters

Many real questions are counts of yes/no events: how many of 100 patients respond to a drug, how many of 20 parts are defective, how many of 5 shots go in. The binomial formula answers "how likely is exactly this count?" and "is this count surprising?" Using it when draws are made without replacement, or forgetting the (nk) factor, gives probabilities that look precise and are wrong.

Frequently asked questions

What is the Binomial Distribution formula?

The probability distribution of the number of successes in n independent yes/no trials, each with probability p.

How do you use the Binomial Distribution formula?

Use the binomial distribution when there is a fixed number of trials n, each a success or failure, with the same probability p and independent of the others, and you want the chance of a count of successes. If you count trials until the first success, use the geometric distribution. If you draw from a small group without replacement, p changes, so use the hypergeometric distribution. For large n, a normal approximation can replace long sums of binomial terms.

What do the symbols mean in the Binomial Distribution formula?

X∼B(n,p) reads 'X follows a binomial distribution with n trials and success probability p'

Why is the Binomial Distribution formula important in Math?

Many real questions are counts of yes/no events: how many of 100 patients respond to a drug, how many of 20 parts are defective, how many of 5 shots go in. The binomial formula answers "how likely is exactly this count?" and "is this count surprising?" Using it when draws are made without replacement, or forgetting the (nk) factor, gives probabilities that look precise and are wrong.

What do students get wrong about Binomial Distribution?

The procedure for binomial distribution is the easy part; the trap is applying it when trials aren't independent or p changes. Asking "Are there a fixed number of independent trials, each success/failure with the same probability, and I want a count of successes?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Binomial Distribution formula?

Before studying the Binomial Distribution formula, you should understand: binomial coefficient, probability, independent events.