Formula & Calculator

Binomial Probability

Probability of exactly k successes in n independent Bernoulli trials.

StatisticsProbability DistributionsDiscrete

Binomial Probability Calculator P(X=k) = C(n,k) · pᵏ · (1−p)ⁿ⁻ᵏ

P = C(n,k) · pk · (1−p)n−k
P = probability  ·  n = trials  ·  k = successes  ·  p = success probability
⟹ Solve P, n, k, p
Please fix the errors above.
Solve for:
Presets:
Probability P(X=k)
P: n: k: p:
✓ Copied!
Probability Magnitude
Low (< 0.1) Medium (0.1–0.4) High (> 0.4)
P(X=k) = C(n,k) · pᵏ · (1−p)ⁿ⁻ᵏ  ·  The probability of exactly k successes in n independent Bernoulli trials.

Interpretation

P(X=k) = C(n,k) pᵏ(1−p)ⁿ⁻ᵏ. Probability of k successes in n independent trials, each with probability p. Used in quality control, genetics, and opinion polling.

P(X=k) = C(n,k)pᵏ(1−p)ⁿ⁻ᵏ
Binomial Probability

Variables

SymbolQuantityUnit
P(X=k)Probability of k successes
nNumber of trials
pSuccess probability
kNumber of successes

What it means

The binomial distribution models the number of successes (k) in a fixed number n of independent trials, where each trial has the same probability p of success. The formula uses the binomial coefficient C(n,k) to count the number of ways to choose k successes, multiplied by pᵏ and (1−p)ⁿ⁻ᵏ. It is used in quality control (number of defects in a sample), in genetics (inheritance patterns), in polling (number of favourable responses), and in reliability engineering. The distribution is discrete and is the basis for many statistical tests (e.g., sign test). Understanding the binomial probability is fundamental for analyzing experiments with binary outcomes and for constructing confidence intervals for proportions.

Worked example

Binomial Probability – Two Examples

Real‑World
Scenario: A coin is flipped 5 times. What is the probability of exactly 2 heads? p=0.5.
ParameterValue
n5
k2
p0.5
1P = C(5,2) × (0.5)² × (0.5)³ = 10 × 0.25 × 0.125 = 0.3125
Result 0.3125 ✓ 31.25%
Scenario: A quality control test finds that 30% of items are defective. In a random sample of 15, what is the probability that exactly 5 are defective?
ParameterValue
n15
k5
p0.30
1P = C(15,5) × (0.3)⁵ × (0.7)¹⁰ = 3003 × 0.00243 × 0.02825 = 0.2061
Result 0.2061 ✓ 20.6% chance
Insight: Binomial distribution models the number of successes in n independent trials with constant probability p. Formula uses combinations for the number of ways.

Common mistakes

  • n and k: k must be an integer between 0 and n – inclusive.
  • Probability p: The probability of success on a single trial – must be between 0 and 1.
  • Combination C(n,k): Number of ways to choose k successes – compute correctly.
  • Independence: Assumes independent trials with constant p.
  • Expected value: E(X) = np – not n*p*(1-p) (that’s variance).

Applications

The binomial probability formula gives the probability of exactly k successes in n independent trials, each with probability p of success. This distribution models countless binary outcome scenarios in engineering, science, and business. Engineers use it in quality control (probability of defective items), in reliability (number of failures), and in survey sampling. In biology, it models genetic traits. In finance, it helps predict the number of defaults. By calculating binomial probabilities, professionals can quantify the likelihood of various outcomes, set acceptance criteria, and design experiments. The binomial distribution is the basis for many hypothesis tests and confidence intervals for proportions. Understanding this formula is essential for any work involving counts of successes in repeated trials.

  • Quality control – acceptance sampling and defect rates
  • Reliability engineering – number of failures in a system
  • Survey and polling analysis – estimating proportions
  • Genetics – inheritance patterns and trait frequencies
  • Finance – probability of defaults or successes in portfolios

Frequently Asked Questions

Q01What is the binomial probability formula and what does it calculate?
A01

P(X=k) = C(n,k) pᵏ (1−p)ⁿ⁻ᵏ. It gives the probability of exactly k successes in n independent Bernoulli trials, each with success probability p.

Q02What are the four assumptions of the binomial distribution?
A02

  • Fixed number of trials n.
  • Each trial is independent.
  • Only two outcomes: success/failure.
  • Constant probability p for each trial.

Q03What are the expected value and variance of a binomial random variable?
A03

E[X] = np and Var(X) = np(1−p). These are derived from the properties of Bernoulli trials.

Q04How is the binomial distribution related to the normal distribution?
A04

For large n and not too extreme p, the binomial distribution can be approximated by a normal distribution with mean np and variance np(1−p) (Central Limit Theorem). This is the basis for the normal approximation to the binomial.

Q05What is the difference between a Bernoulli trial and a binomial distribution?
A05

A Bernoulli trial is a single experiment (n=1). The binomial distribution is the sum of n independent Bernoulli trials, representing the total number of successes.

Q06How do you calculate the probability of at least k successes?
A06

Sum the probabilities from k to n: P(X ≥ k) = Σ_{i=k}^{n} C(n,i) pⁱ (1−p)ⁿ⁻ⁱ. This is often computed using cumulative distribution functions or tables.

Q07What is the probability of failure in a binomial setting?
A07

If success probability is p, the failure probability is q = 1−p. The number of failures follows a binomial distribution with parameters n and q.

Q08What are some real‑world applications of the binomial distribution?
A08

  • Quality control: number of defective items in a batch.
  • Polling: number of favourable responses.
  • Genetics: number of offspring with a certain trait.
  • Medicine: number of patients who recover from a treatment.

Q09How do you compute the combination C(n,k) in the formula?
A09

C(n,k) = n! / (k!(n−k)!). It counts the number of ways to choose k successes out of n trials, regardless of order.

Q10What is the continuity correction when approximating binomial with normal?
A10

When using the normal approximation, adjust the boundaries by ±0.5 (e.g., P(X ≤ k) becomes P(X ≤ k+0.5)). This improves accuracy for discrete‑to‑continuous approximation.