Binomial Distribution Calculator
StatisticsCalculate binomial probability P(X = k) and cumulative P(X ≤ k) in seconds. Enter number of trials, probability of success, and number of successes to get results.
P(X = k)
What is a Binomial Distribution?
The Binomial Distribution Calculator computes the probability of getting exactly k successes across n independent trials, each with the same probability of success p. Enter the number of trials, the probability of success, and the target number of successes, and the calculator returns P(X = k), the cumulative P(X ≤ k), P(X ≥ k), and the distribution's mean and standard deviation.
The binomial distribution is one of the most widely applicable discrete probability distributions, modeling any scenario with a fixed number of independent yes/no trials — coin flips, quality control inspections, A/B test conversions, or medical treatment outcomes across a fixed patient group.
For events measured as a rate over time or space rather than a fixed number of trials, see the Poisson Distribution Calculator instead.
How to use this Binomial Distribution calculator
Enter the number of trials (n) — how many independent yes/no events you're analyzing.
Enter the probability of success (p) — as a percentage, based on historical data or a known/assumed rate.
Enter the target number of successes (k) — the specific outcome count you want to evaluate.
Read P(X = k) — the probability of exactly that many successes.
Check the cumulative probabilities — P(X ≤ k) and P(X ≥ k) for "at most" or "at least" style questions.
Compare to the mean and standard deviation — to understand whether your target k is close to the typical expected outcome or represents an unusual result.
Formula & Methodology
Binomial probability mass function: P(X = k) = C(n, k) × pᵏ × (1−p)ⁿ⁻ᵏ Combination formula: C(n, k) = n! / (k! × (n−k)!) Mean and standard deviation: μ = n × p σ = √(n × p × (1−p)) Variable definitions: - n — number of independent trials - p — probability of success on each trial - k — target number of successes Worked example: A sales rep closes 25% of qualified leads on average (p = 0.25). Out of the next 20 leads (n = 20), what's the probability of closing exactly 6 deals (k = 6)? Step 1 — C(20, 6) = 38,760 Step 2 — P(X = 6) = 38,760 × 0.25⁶ × 0.75¹⁴ ≈ 0.1686 (16.86%) Step 3 — Mean: μ = 20 × 0.25 = 5 expected closes Step 4 — Standard deviation: σ = √(20 × 0.25 × 0.75) = √3.75 ≈ 1.94 Closing exactly 6 deals (slightly above the mean of 5) has about a 16.9% chance — a plausible, unsurprising outcome given the natural variability of ±1.94 around the mean. Assumption: This calculator assumes all trials are independent with a constant probability of success — violated if trials influence each other or if sampling is done without replacement from a small population.
Frequently Asked Questions