Binomial Distribution Calculator

Enter number of trials, success probability, and successes to compute exact and cumulative binomial probabilities.

Parameters

Integer from 1 to 1000

Decimal between 0 and 1 (e.g., 0.3 for 30%)

Integer from 0 to n

Results

P(X = k)
P(X ≤ k) (lower tail)
P(X ≥ k) (upper tail)
Mean μ = np
Std Dev σ = √(np(1-p))

Probability Mass Function

Enter parameters and click Calculate

PMF Table

Results will appear here

Summary

Enter number of trials, success probability, and successes to compute exact and cumulative binomial probabilities.

How it works

  1. Enter the number of trials (n) — a positive integer.
  2. Enter the probability of success per trial (p) — a value between 0 and 1.
  3. Enter the number of successes (k) you want to evaluate — an integer from 0 to n.
  4. The calculator computes P(X=k) using the binomial coefficient C(n,k) × p^k × (1-p)^(n-k).
  5. Cumulative probabilities P(X≤k) and P(X≥k) are computed by summing the PMF over the relevant range.
  6. The full probability mass function table and bar chart update instantly.

Use cases

  • Quality control: find the probability of at most 2 defective items in a batch of 50.
  • Clinical trials: estimate the chance of observing k or more responders out of n patients.
  • A/B testing: calculate the likelihood of achieving a conversion rate result by chance.
  • Genetics: compute inheritance probabilities across offspring.
  • Exam prep: solve textbook binomial distribution problems with step-by-step formulas.
  • Finance: model binary outcome scenarios (up/down moves in discrete-time models).
  • Sports analytics: estimate win probabilities over a series of independent games.
  • Customer surveys: find the probability of exactly k positive responses from n respondents.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu