EasyUnitConverter.com

Binomial Distribution Calculator

Calculate binomial probabilities for exact, cumulative, or range values. Find P(X = k), P(X ≤ k), or P(a ≤ X ≤ b) for binomial experiments with n trials and success probability p. See also our Probability Calculator and Normal Distribution Calculator.

How to Use the Binomial Distribution Calculator

The binomial distribution models the number of successes in a fixed number of independent trials, where each trial has the same probability of success. Classic examples include coin flips (n flips, p = 0.5), quality control (n items inspected, p = defect rate), medical trials (n patients, p = treatment success rate), and survey responses (n respondents, p = proportion answering yes).

To use this calculator, enter the number of trials (n), the probability of success on each trial (p), and the number of successes (k) you want to evaluate. The calculator computes exact probabilities using the binomial probability mass function, cumulative probabilities, and range probabilities. It also shows the distribution mean, variance, and standard deviation.

The binomial distribution requires four conditions: (1) fixed number of trials n, (2) each trial is independent, (3) each trial has exactly two outcomes (success/failure), and (4) the probability p is constant across trials. When these conditions are met, the distribution gives exact probabilities. For large n, the binomial can be approximated by the normal distribution (when np ≥ 5 and n(1-p) ≥ 5) or the Poisson distribution (when n is large and p is small).

Binomial Distribution Formula

Probability Mass Function:

P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

Combination Formula:

C(n,k) = n! / (k! × (n-k)!)

Mean and Variance:

μ = np

σ² = np(1-p)

σ = √(np(1-p))

Cumulative Probability:

P(X ≤ k) = Σᵢ₌₀ᵏ C(n,i) × pⁱ × (1-p)^(n-i)

Normal Approximation (large n):

Z ≈ (k - np) / √(np(1-p))

Example Calculation

A fair coin is flipped 10 times. What is the probability of getting exactly 7 heads?

Given: n = 10, p = 0.5, k = 7

C(10,7) = 10!/(7!×3!) = 120

P(X=7) = 120 × 0.5⁷ × 0.5³

= 120 × 0.0078125 × 0.125 = 0.1172

There is an 11.72% chance of getting exactly 7 heads

Mean: μ = 10 × 0.5 = 5 heads expected

Std Dev: σ = √(10×0.5×0.5) = √2.5 = 1.58

Binomial Probability Reference Table

npkP(X = k)
100.550.2461
100.530.1172
200.360.1916
200.5100.1762
500.150.1849
1000.0550.1800
100.990.3874
50.530.3125

Frequently Asked Questions

What is the binomial distribution?

The binomial distribution is a discrete probability distribution that models the number of successes in n independent Bernoulli trials, each with success probability p. It answers questions like "what is the probability of getting exactly k successes in n trials?" The distribution is completely determined by two parameters: n (number of trials) and p (probability of success). It is one of the most widely used distributions in statistics, quality control, and experimental design.

When can I approximate binomial with normal?

The normal approximation to the binomial is valid when both np ≥ 5 and n(1-p) ≥ 5 (some texts use 10). Under these conditions, X ~ Binomial(n,p) ≈ Normal(np, np(1-p)). Apply the continuity correction: P(X ≤ k) ≈ Φ((k + 0.5 - np)/√(np(1-p))). For example, with n=100 and p=0.5, the normal approximation is excellent. With n=10 and p=0.1, it is poor because np = 1 < 5.

What is the difference between binomial and Poisson?

The binomial has a fixed number of trials n with probability p; the Poisson models the count of events in a fixed interval with rate λ. When n is large and p is small (np = λ stays moderate), the Poisson approximates the binomial: Binomial(n,p) ≈ Poisson(np). Use binomial when you know n and p; use Poisson when you know only the average rate. For example, defects per batch (known n) → binomial; calls per hour (unknown n) → Poisson.

How do I calculate cumulative binomial probability?

Cumulative probability P(X ≤ k) is the sum of all individual probabilities from 0 to k: P(X ≤ k) = Σ P(X=i) for i = 0, 1, ..., k. For P(X ≥ k), use the complement: P(X ≥ k) = 1 - P(X ≤ k-1). For a range: P(a ≤ X ≤ b) = P(X ≤ b) - P(X ≤ a-1). This calculator handles all these cases automatically.

What are the assumptions of the binomial distribution?

Four conditions must hold: (1) Fixed number of trials n — you know in advance how many trials will occur; (2) Independence — the outcome of one trial does not affect others; (3) Binary outcomes — each trial results in success or failure only; (4) Constant probability — p is the same for every trial. If trials are not independent (e.g., sampling without replacement), use the hypergeometric distribution instead.

What is the expected value of a binomial distribution?

The expected value (mean) is E(X) = np. This is the average number of successes you would expect over many repetitions of the experiment. For example, flipping a fair coin 100 times, you expect 50 heads on average. The variance is Var(X) = np(1-p), and the standard deviation is σ = √(np(1-p)). The distribution is symmetric when p = 0.5 and becomes more skewed as p approaches 0 or 1.