Worked example
Flip a fair coin 10 times. The chance of exactly 5 heads is C(10, 5) × 0.5⁵ × 0.5⁵ = 252 × 0.0009765625 = 0.2461. The chance of 6 or more heads is 0.377.
Exactly, at least, at most
- Exactly k: the single bar at k.
- At most k: add the bars from 0 to k (the cumulative probability).
- At least k: 1 minus the probability of at most k − 1.
The mean is np and the standard deviation √(np(1 − p)). When n is large and p isn't near 0 or 1, the shape is close to a normal curve; for rare events in a large number of trials, the Poisson distribution is a good approximation. The number of ways C(n, k) comes from the combination calculator.