Binomial Probability Calculator

Find binomial probabilities: the chance of exactly, at most or at least k successes in n independent trials with success probability p, plus the mean and standard deviation. Tap the bars and drag p to explore.

Answer

P(X ≥ 7) with n = 10, p = 0.5

17.1875%

Exactly 711.7188%
At most 794.5313%
At least 717.1875%
Mean (n·p)5
Standard deviation1.5811

Every possible number of successes

0%13.5%012345678910p0.5

Tap a bar to set k; the highlighted bars add up to the answer. Drag the red handle on top to change p and watch the whole shape shift.

Why this answer

  1. One outcome. P(X = k) = C(n, k) · pk · (1 − p)n − k: the number of ways to choose which 7 trials succeed, times the chance of each such sequence. Here 11.7188%.
  2. Several outcomes. Add the bars: P(X ≥ 7) = 1 − P(X ≤ 6) = 17.1875%.
  3. Center and spread. Mean = n·p = 5; σ = √(n·p·(1 − p)) = 1.5811.

Why it works

How likely is 'about half'?

0%13.5%012345678910

Step 1 of 3

The most likely result

Flip a fair coin 10 times. Tap the bar for the number of heads you think is most likely.
Tap the tallest bar.

Put it to use

When the binomial applies

Use it when there’s a fixed number of trials, each a yes/no outcome with the same chance, independent of the others: coin flips, free throws, defective parts in a batch, survey yes/no answers (if the population is large). For “at least once” questions, the Probability Calculator is quicker; for large n, the shape approaches the normal distribution.

How it works

The binomial probability calculator gives the chance of exactly k successes in n independent trials, each with success probability p, and cumulative probabilities (at most, fewer than, at least, more than k), plus the distribution's mean and standard deviation.

P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ, where C(n, k) counts the ways to choose which k trials succeed. Cumulative probabilities add these terms.

The mean is n·p and the standard deviation is √(n·p·(1 − p)). For large n the distribution looks like a normal curve.

P(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏC(n, k) = n! ÷ (k!(n − k)!)P(X ≥ k) = 1 − P(X ≤ k − 1)Mean = np; σ = √(np(1 − p))

Worked example: Exactly 5 heads in 10 fair coin flips

  1. C(10, 5) = 252 ways.
  2. Each sequence: 0.5⁵ × 0.5⁵ = 1/1024.
  3. P = 252 ÷ 1024 = 0.2461 (24.6%).
  4. At least 7 heads: P(7) + P(8) + P(9) + P(10) = 17.2%.

Common mistakes

  • Using it when trials aren't independent (drawing without replacement from a small group).
  • Forgetting the C(n, k) factor.
  • Mixing up 'at least' and 'more than'.
  • Using a probability that changes from trial to trial.

Frequently asked questions

What is the formula for binomial probability?

P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ.

How do you calculate 'at least' binomial probability?

Add P(X = k) through P(X = n), or use 1 − P(X ≤ k − 1).

What are the conditions for a binomial distribution?

A fixed number of independent trials, each with two outcomes and the same probability of success.

What is the mean of a binomial distribution?

n × p: for 20 free throws at 75%, the expected number made is 15.

When can I use the normal approximation?

A common rule is when n·p and n·(1 − p) are both at least 10.