Specialty & Other

Binomial Distribution Calculator

Updated June 2026
Exact probability P(X=k)
Cumulative P(X≤k) included
Enter ParametersFree · Instant
Enter as decimal (0.5 = 50%)

Binomial Distribution PMF and Combination Formula: Why C(n,k) Counts Arrangements Before Multiplying by p^k × (1-p)^(n-k)

The binomial probability mass function has two distinct components. The combination C(n,k), also written as "n choose k", counts how many different ways k successes can be arranged across n trials. For example, if you flip a coin 4 times and want exactly 2 heads, the heads can appear in positions (1,2), (1,3), (1,4), (2,3), (2,4), or (3,4), that is C(4,2) = 6 arrangements. Each of those arrangements has the same probability, p^k × (1-p)^(n-k). Multiply the count by the probability of any single arrangement and you get the total probability.

The formula works because the trials are independent, the outcome of any one flip does not affect any other. This independence assumption is what makes the probabilities multiplicative, and it is the condition most commonly violated in real-world applications.

/* Binomial PMF */
P(X = k) = C(n,k) × p^k × (1−p)^(n−k)
C(n,k) = n! / (k! × (n−k)!) , number of arrangements
Mean μ = n × p | Std Dev σ = √(n × p × (1−p))

Worked example, probability of exactly 3 heads in 10 coin flips (p = 0.5):

n = 10, k = 3, p = 0.5
C(10,3) = 10! / (3! × 7!)= 120 arrangements
p^k = 0.5^3= 0.125
(1-p)^(n-k) = 0.5^7= 0.0078125
P(X = 3) = 120 × 0.125 × 0.0078125= 0.1172 (11.72%)

Exact vs Cumulative Binomial Probability: When P(X=3) Answers a Different Question Than What Most Problems Actually Ask

P(X = k) is the exact probability, the chance of getting precisely k successes, no more and no fewer. P(X ≤ k) is the cumulative probability, the chance of getting k or fewer successes. Most practical decisions involve the cumulative form. A quality control manager asking "will we accept this batch?" is asking whether defects are at most some threshold, not whether defects are exactly that threshold. A student asking "what are the chances I pass?" is asking P(X ≥ passing score), which is 1 − P(X ≤ passing − 1).

Question TypeFormulaExample
Exactly k successesP(X = k)Exactly 3 defects in a batch of 20
At most k successesP(X ≤ k)3 or fewer defects, acceptance sampling
At least k successes1 − P(X ≤ k−1)At least 7 correct on a 10-question test
Between j and k successesP(X ≤ k) − P(X ≤ j−1)Between 3 and 6 heads in 10 flips
More than k successes1 − P(X ≤ k)More than 2 free throws made in 5 attempts

For quality control problems with acceptance sampling, the cumulative form P(X ≤ c) is the standard, where c is the acceptance number. For a batch of 20 items with a 5% defect rate, P(X ≤ 2) = 92.5%, meaning there is a 92.5% chance of accepting the lot if your threshold is 2 defects. This calculator computes both exact and cumulative values simultaneously so you can read both without a second calculation.

Five Binomial Distribution Calculation Errors That Produce Invalid Probability Results in Statistics and Quality Control

Entering p as a percentage instead of a decimal
The binomial PMF requires p as a decimal between 0 and 1. Entering 50 instead of 0.5 for a 50% probability makes the formula compute p^k = 50^k, which produces probability values far outside the valid 0-to-1 range. Always convert percentages to decimals before entering them.
Using the binomial when draws are made without replacement
The binomial requires independent trials with constant probability. Drawing cards from a deck without replacing them violates this, the probability of success changes with each draw because the population is shrinking. For sampling without replacement, use the hypergeometric distribution instead of the binomial.
Confusing P(X = k) with P(X ≤ k) when the question uses 'at most' or 'no more than'
The phrase 'at most 3 defects' asks for P(X ≤ 3), which sums probabilities for k = 0, 1, 2, and 3. The phrase 'exactly 3 defects' asks for P(X = 3) only. These produce very different numbers and different decisions. Read the problem statement carefully to determine which form applies.
Applying the binomial to outcomes with more than two categories
The binomial distribution models binary outcomes: success or failure. If a trial can result in three or more categories (e.g., win, draw, loss), the binomial formula does not apply. Use the multinomial distribution for multi-category outcomes. A common workaround is to collapse categories, treating draw and loss as a single 'non-win' outcome, but this requires that the collapsed probability is stable across trials.
Ignoring the normal approximation validity conditions before switching methods
The rule of thumb for using the normal approximation is np ≥ 10 and n(1-p) ≥ 10. When p is very small (e.g., 0.01) or n is small, the binomial distribution is heavily skewed and the normal approximation is inaccurate. Using z-scores on a skewed distribution produces incorrect tail probabilities. Use exact binomial calculations whenever the approximation conditions are not met.

Frequently Asked Questions

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 flipping a coin 10 times (probability of exactly 6 heads), a free-throw shooter making shots (probability of making exactly 8 of 10), or a quality control process rejecting items (probability of exactly 2 defects in a batch of 50).

More Specialty Calculators

Sources & References

1
Federal statistical reference for the binomial PMF and CDF, including normal approximation conditions and worked examples.
2
Open-access reference for the binomial formula, mean, variance, and standard deviation derivations used in the calculator output.
3
Primary textbook reference for binomial distribution derivation, PMF formula, and the conditions under which the distribution applies.
HR
Hassaan Rasheed
Developer and Researcher, CalculatorFlux

Researches and verifies the formulas, methodology, and source data behind each calculator on CalculatorFlux. All tools are built and checked against the cited references before publication.

Last updated: June 2026
Quick Reference
PMF: C(n,k) × p^k × (1−p)^(n−k)
C(n,k): n! / (k!(n−k)!)
Mean μ: n × p
Variance σ²: n × p × (1−p)
Std Dev σ: √(npq)
Normal approx: np ≥ 10 and nq ≥ 10
Pro Tip
The binomial is symmetric when p = 0.5. When p is small the distribution skews right; when p is close to 1 it skews left. The mean μ = np always sits at the distribution's center of mass regardless of skew.
Browse Categories
Payroll & Tax50+Construction & Materials21+Health & Fitness24+Finance & Investment20+Education & GPA16+Math & Science10+Food & Cooking8+Specialty & Other15+