Binomial Probability
Calculate exact and cumulative probabilities for the number of successes in n independent trials, each with success probability p. Works for large n (up to 100 000) without overflow.
What is a Binomial Distribution?
A binomial experiment repeats the same yes/no trial n times, independently, with the same success probability p each time — like flipping a coin 10 times and counting heads. X, the number of successes, follows the binomial distribution.
The coefficient C(n, k) counts in how many orders the k successes can occur; pk(1−p)n−k is the probability of any one such order.
Live Distribution
B(10, 0.5)Distribution Properties
| Property | Formula |
|---|
Key Techniques
The number of ways to choose which k of the n trials are successes. These are the numbers in Pascal’s triangle.
“At least one” questions are easiest through the complement: one minus the probability of no successes at all.
For large n (np and n(1−p) both ≥ 5) the bars follow a bell curve. The +0.5 continuity correction accounts for the bar width.
Sources & Verification
- S. M. Ross, A First Course in Probability, 10th ed., Pearson, 2019 — Sec. 4.6 (The Bernoulli and Binomial Random Variables).
- D. C. Montgomery & G. C. Runger, Applied Statistics and Probability for Engineers, 6th ed., Wiley, 2013 — Ch. 3 (Discrete Random Variables and Probability Distributions).