KKC Tools
All tools →

Binomial Probability Calculator: Exactly, At Most and At Least k

Calculate binomial probability mass function P(X = k), cumulative P(X ≤ k) and tail P(X ≥ k), with distribution moments, normal approximation and trials needed.

This binomial probability distribution calculator uses P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ. For 10 fair coin flips, the chance of exactly 3 heads is 0.1172, and of 3 or fewer is 0.1719.
Total repetitions (e.g. 10 coin flips)
Binomial Probability
0.1172
P(X = 3)·11.72% Chance·B(n = 10, p = 0.5)
The probability of exactly 3 successes in 10 trials at p = 0.5 is 0.1172 (11.72%).
In repeated experiments of 10 independent trials, this outcome will occur about 11.7% of the time by chance.
Expected Mean (μ)5.00μ = n × p
Variance (σ²)2.500σ² = n × p × (1 − p)
Standard Dev (σ)1.581σ = √variance
Mode (Most Likely k)5⌊(n + 1) × p⌋
Normal Approximation with Continuity Correction (±0.5)
• Criteria Not Met: np = 5.0 or n(1−p) = 5.0 is below 10. Normal approximation is inaccurate for small samples or extreme probabilities; exact binomial calculation is used.
Binomial Distribution PMF (Selected Highlighted)
■ Selected■ Other
012345678910
1. Combinations: C(10, 3) = 10! ÷ (3! × (10 − 3)!)
2. Success Power: p^3 = 0.5^3 = 1.2500e-1
3. Failure Power: (1 − p)^(10 − 3) = (1 − 0.5)^7 = 7.8125e-3
4. Exact P(X = 3) = 0.117187
5. Cumulative P(X ≤ 3) = 0.171875
6. Condition Result (P(X = 3)) = 0.117187 (11.7187%)
k (Successes)P(X = k) · PMFP(X ≤ k) · CDFStatus
00.0010 (0.10%)0.0010 (0.10%)—
10.0098 (0.98%)0.0107 (1.07%)—
20.0439 (4.39%)0.0547 (5.47%)—
30.1172 (11.72%)0.1719 (17.19%)✓ Selected
40.2051 (20.51%)0.3770 (37.70%)—
50.2461 (24.61%)0.6230 (62.30%)—
60.2051 (20.51%)0.8281 (82.81%)—
70.1172 (11.72%)0.9453 (94.53%)—
80.0439 (4.39%)0.9893 (98.93%)—
90.0098 (0.98%)0.9990 (99.90%)—
100.0010 (0.10%)1.0000 (100.00%)—
  • Exactly, at most, at least & between
  • Distribution chart
  • Steps with your numbers
  • Trials needed

100% free · No sign-up · Runs in your browser, nothing is uploaded

How to Use the Binomial Probability Distribution Calculator

This calculator provides three comprehensive modes to solve discrete probability problems:

  1. Probability Tab: Enter the number of trials (n), probability of success (p as a decimal or percentage), and the target successes (k). Choose your comparison condition: exactly (=), at most (≤), at least (≥), strictly less than (<), strictly greater than (>), or between two values [k₁, k₂].
  2. Trials Needed / Inverse Tab: Calculate how many independent trials you must conduct to achieve at least one success with a target certainty (such as 99% or 99.99%), or determine the minimum successes required for a cumulative threshold.
  3. Normal Approximation Tab: Evaluate whether your experiment satisfies the formal criteria (np ≥ 10 and n(1 − p) ≥ 10) to approximate binomial probabilities using the continuous Gaussian bell curve with continuity correction.

When Is a Problem Binomial? (The 4 Assumptions)

A statistical experiment qualifies as a binomial experiment if and only if it satisfies four conditions:

  • 1. Fixed Number of Trials (n): The experiment consists of a predetermined, finite number of identical trials.
  • 2. Two Mutually Exclusive Outcomes: Every trial results in one of exactly two possibilities, classified conventionally as “success” or “failure”.
  • 3. Constant Probability of Success (p): The probability p remains strictly identical on each trial; the probability of failure is always 1 − p (often denoted q).
  • 4. Independent Trials: The outcome of any single trial has zero influence on the outcome of any other trial.

The Binomial Probability Formula

The probability of observing exactly k successes in n independent trials is defined by:

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

Where the binomial coefficient C(n, k) represents the number of ways to choose k successes out of n trials:

C(n, k) = n! ÷ (k! × (n − k)!)

Worked Example: Consider flipping a fair coin 10 times (n = 10, p = 0.5). What is the probability of obtaining exactly 3 heads (k = 3)?

  • C(10, 3) = 10! ÷ (3! × 7!) = (10 × 9 × 8) ÷ (3 × 2 × 1) = 120
  • p³ = 0.5³ = 0.125
  • (1 − p)¹⁰⁻³ = 0.5⁷ = 0.0078125
  • P(X = 3) = 120 × 0.125 × 0.0078125 = 0.1171875 (≈ 0.1172 or 11.72%)

Exactly, At Most, At Least and Between

Practical experiments rarely ask solely for an exact count. Instead, decision-makers evaluate risk boundaries:

  • Exactly k: P(X = k). The chance of hitting that precise count.
  • At Most k (Cumulative CDF): P(X ≤ k) = P(X = 0) + P(X = 1) + ... + P(X = k). For 10 fair flips, the chance of 3 or fewer heads is 0.000977 + 0.009766 + 0.043945 + 0.117188 = 0.1719 (17.19%).
  • At Least k (Tail Probability): P(X ≥ k) = 1 − P(X ≤ k − 1). For 10 fair flips, the chance of at least 3 heads is 1 − P(X ≤ 2) = 1 − 0.054688 = 0.9453 (94.53%).
  • Between k₁ and k₂: P(k₁ ≤ X ≤ k₂) = P(X ≤ k₂) − P(X ≤ k₁ − 1).

Mean, Variance and Shape of the Binomial Distribution

The binomial distribution's shape depends entirely on n and p:

Mean (Expected Value): μ = n × p
Variance: σ² = n × p × (1 − p)
Standard Deviation: σ = √(n × p × (1 − p))
Mode: ⌊(n + 1) × p⌋
Skewness: γ₁ = (1 − 2p) ÷ √(n × p × (1 − p))

When p = 0.5, skewness is 0, making the distribution perfectly symmetric. When p < 0.5, the distribution is positively skewed (right-tailed). When p > 0.5, it is negatively skewed (left-tailed).

Normal Approximation and Continuity Correction

When sample size n is large, computing exact factorials becomes computationally intensive. According to the De Moivre–Laplace theorem, the binomial distribution approaches a continuous normal distribution with mean μ = np and standard deviation σ = √(np(1 − p)).

Rule of thumb used here: the approximation is shown when (some textbooks use 5 instead of 10):

np ≥ 10  and  n(1 − p) ≥ 10

Because the binomial distribution is discrete (taking only integer values) while the normal distribution is continuous, a continuity correction of ±0.5 must be applied to the boundaries:

P(X ≤ k) ≈ Φ((k + 0.5 − np) ÷ σ)
P(X ≥ k) ≈ 1 − Φ((k − 0.5 − np) ÷ σ)
P(X = k) ≈ Φ((k + 0.5 − np) ÷ σ) − Φ((k − 0.5 − np) ÷ σ)

“At Least One” and How Many Trials You Need

In quality control and reliability engineering, a frequent question is: How many trials do we need to be 99.99% confident that at least one defective item is detected?

Using the complement rule, P(at least one success) = 1 − (1 − p)ⁿ. Setting 1 − (1 − p)ⁿ ≥ P and solving for n yields:

n = ⌈ln(1 − P) ÷ ln(1 − p)⌉

Worked Example: If an event has a 1% chance per trial (p = 0.01) and we demand 99.99% certainty (P = 0.9999):

  • 1 − P = 0.0001
  • 1 − p = 0.99
  • n = ⌈ln(0.0001) ÷ ln(0.99)⌉ = ⌈(−9.21034) ÷ (−0.01005)⌉ = ⌈916.42⌉ = 917 trials.

Binomial vs Poisson vs Normal Distributions

Understanding when to choose which distribution prevents modeling errors:

  • Binomial: Discrete count of successes in a fixed number of trials n with binary outcomes. Explore our Standard Deviation Calculator and T-Test Calculator for parametric testing.
  • Poisson: Discrete count of occurrences across a continuous interval of time, length, or area with an average arrival rate λ.
  • Normal: Continuous symmetric bell-shaped curve governed by mean μ and standard deviation σ. For testing differences in proportions, refer to our A/B Test Significance Calculator.

Frequently Asked Questions

What is a binomial distribution, and when does it apply?

A binomial distribution models the number of successes in a sequence of n independent trials where each trial has exactly two complementary outcomes (commonly labelled success and failure) and a constant probability of success p throughout all trials. Real-world applications include quality inspection testing, A/B testing conversions, survey responses, and genetics.

What is the binomial probability formula?

The probability of observing exactly k successes in n trials is computed by P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ, where C(n, k) = n! ÷ (k!(n − k)!) represents the binomial coefficient (combinations of n items taken k at a time).

Exactly vs at most vs at least: what is the difference?

“Exactly k” (P(X = k)) evaluates only the single outcome k. “At most k” (P(X ≤ k)) is the cumulative probability summing outcomes from 0 up to k. “At least k” (P(X ≥ k)) sums all outcomes from k through n, equivalent to 1 − P(X ≤ k − 1).

What are the mean and variance of a binomial distribution?

The expected value (mean) is μ = n × p. The variance is σ² = n × p × (1 − p), and the standard deviation is σ = √(n × p × (1 − p)). The distribution mode occurs at ⌊(n + 1)p⌋.

When can I use the normal approximation?

The normal distribution closely approximates the binomial distribution when both np ≥ 10 and n(1 − p) ≥ 10 (a common rule of thumb; some textbooks use 5). To account for transitioning from discrete integers to a continuous curve, apply continuity correction by adding or subtracting 0.5: P(X ≤ k) ≈ Φ((k + 0.5 − np) ÷ σ).

How do I calculate "at least one success"?

The simplest method uses the complement rule: the complement of “at least one success” is “zero successes”. Because P(X = 0) = (1 − p)ⁿ, the probability of at least one success is P(X ≥ 1) = 1 − (1 − p)ⁿ.

How many trials do I need for a target probability?

To guarantee at least a target probability P of seeing at least one success with success probability p, solve 1 − (1 − p)ⁿ ≥ P, yielding n = ⌈ln(1 − P) ÷ ln(1 − p)⌉. For example, ensuring a 99.99% chance of observing an event with p = 0.01 (1%) requires ⌈ln(0.0001) ÷ ln(0.99)⌉ = 917 trials.

What makes a problem not binomial?

A problem violates binomial assumptions if trials are dependent (e.g., sampling without replacement from a finite batch, which requires the hypergeometric distribution), if probabilities shift between trials, or if outcomes exceed two categories (which requires the multinomial distribution).

What is a cumulative binomial probability?

A cumulative binomial probability is the total probability that the number of successes falls within a given range, such as less than or equal to k (the cumulative distribution function, or CDF). It equals the sum of the individual probability mass function (PMF) terms from 0 to k.

Binomial vs Poisson vs normal: which should I use?

Use binomial when you have a fixed number of trials n with binary outcomes. Use Poisson when events occur continuously over a fixed interval of time or space with a known rate λ and no fixed maximum n (or when n is large and p is very small). Use normal when n is large and you need a continuous approximation with continuity correction.

How This Calculator Works: Formula, Defaults & Sources

Formula

  • P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ, where C(n, k) = n! ÷ (k!(n − k)!)
  • P(X ≤ k) = Σ_{i=0}^k P(X = i), evaluated via regularized incomplete beta I_{1−p}(n − k, k + 1) for large n
  • P(X ≥ k) = 1 − P(X ≤ k − 1); P(k₁ ≤ X ≤ k₂) = P(X ≤ k₂) − P(X ≤ k₁ − 1)
  • Mean: μ = n × p; Variance: σ² = n × p × (1 − p); SD: σ = √(n × p × (1 − p)); Mode: ⌊(n + 1)p⌋; Skewness: (1 − 2p) ÷ σ
  • Normal approximation: P(X ≤ k) ≈ Φ((k + 0.5 − np) ÷ σ) when np ≥ 10 and n(1 − p) ≥ 10 (with continuity correction)
  • Trials needed: n = ⌈ln(1 − P) ÷ ln(1 − p)⌉ for at least one success with probability ≥ P

Default values (you can change them)

  • Coin flip baseline: n = 10 trials, p = 0.5, k = 3: P(X = 3) = 0.1172, P(X ≤ 3) = 0.1719
  • Normal approximation criteria: np ≥ 10 and n(1 − p) ≥ 10 with ±0.5 continuity correction
  • Trials needed example: P = 99.99%, p = 1% requires 917 trials

Sources

  • Binomial distribution (standard probability formulas) — P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ; the cumulative probability uses the regularized incomplete beta function
  • Normal approximation with continuity correction — shown only as a comparison; the rule of thumb used is np ≥ 10 and n(1 − p) ≥ 10 (some textbooks use 5)

Results are planning estimates, not engineering advice. Confirm quantities with your supplier and follow your plans and local building code. Last updated: November 25, 2026. Spotted a wrong number? Email us or use the contact page.

💡Suggest a Tool