ProMathTools
ProMathTools

Binomial Probability Calculator

Exact, cumulative, and range probabilities for binomial experiments — same layout as our other statistics tools.

Total number of trials (must be a positive integer ≤ 170)

Probability of success on each trial (0 ≤ p ≤ 1)

Exact number of successes (0 ≤ k ≤ n)

How it works

The binomial probability calculator computes probabilities for binomial experiments—trials with two possible outcomes (success/failure) where each trial is independent and has the same probability of success.


The Formula

P(X = k) = C(n,k) × p^k × (1-p)^(n-k)\nWhere:\nC(n,k) = n! / (k! × (n-k)!)
  • n

    Number of trials

  • k

    Number of successes

  • p

    Probability of success on each trial

  • X

    Random variable (number of successes)


Worked Example

  1. Example 1: Exactly 3 heads in 5 coin flips

    n = 5, p = 0.5, k = 3 P(X = 3) = C(5,3) × 0.5³ × 0.5² = 10 × 0.125 × 0.25 = 0.3125 (31.25%)

  2. Example 2: At most 2 defective items in 10

    n = 10, p = 0.1, k = 2 P(X ≤ 2) = P(X=0) + P(X=1) + P(X=2) ≈ 0.9298 (92.98%)

  3. Example 3: At least 7 correct answers in 10 questions

    n = 10, p = 0.8, k = 7 P(X ≥ 7) = P(X=7) + P(X=8) + P(X=9) + P(X=10) ≈ 0.8791 (87.91%)


Tips, Assumptions & Limitations

  • n must be a positive integer (≤ 170 to prevent overflow).
  • p must be between 0 and 1 (inclusive).
  • k must be an integer between 0 and n.
  • For "between" mode, lower ≤ upper and both must be between 0 and n.
  • The sum of all probabilities from k=0 to k=n equals 1.
  • Mean (expected value) = n × p, Variance = n × p × (1-p).

The binomial probability formula is used to calculate the probability of achieving k successes in n trials, where the probability of success in each trial is p. The formula is P(X = k) = (n choose k) * p^k * (1-p)^(n-k). This calculator uses this formula to compute the probabilities for exactly k successes, at most k, at least k, or between two values.

To calculate the probability of at least k successes, you need to enter the number of trials, the probability of success, and the number of successes. Then, select the 'at least k' option from the drop-down menu. The calculator will compute the probability of achieving k or more successes in the given number of trials.

The 'at most k' option calculates the probability of achieving k or fewer successes, while the 'at least k' option calculates the probability of achieving k or more successes. These two options provide different perspectives on the probability of achieving a certain number of successes, and the calculator can compute both probabilities using the binomial distribution.

Yes, this calculator allows you to calculate the probability of a range of successes. To do this, select the 'between two values' option from the drop-down menu and enter the lower and upper bounds of the range. The calculator will compute the probability of achieving a number of successes within the specified range.

Related Calculators

Permutation & Combination CalculatorNormal Distribution CalculatorCorrelation CoefficientLinear RegressionSample Size CalculatorT-Test CalculatorZ-Score CalculatorConfidence IntervalExpected ValueMeanMedian Mode

Related Guides

About UsBlogChrome ExtensionFAQsTerms and ConditionsPrivacy PolicySitemap
EmailLinkedInFacebook

© 2025-2026 PromathTools. All rights reserved.

Built by KruskalCode – SaaS & Automation Experts · EverydayDevTools