← Statistics and probability

Binomial probability

Exactly k successes in n tries.

Start this lesson

Flip a fair coin n times. The probability of exactly k heads is (number of ways to choose which k flips are heads) ÷ (all possible outcomes) = C(n, k) ÷ 2ⁿ.

Example: Exactly 2 heads in 4 flips

  1. (4 × 3)/(2 × 1) ÷ 2⁴ — C(4, 2) ways out of 2⁴ outcomes
  2. 6/16
  3. 3/8 — Simplify

Why it works: Each way to get exactly k successes has the same chance, and the combination counts how many such ways there are.

Tip: For a coin that isn’t fair, use C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ.