Skip to content
The Calculatorz
Probability distributions

Binomial Probability Calculator

Calculate exact, cumulative and upper-tail probabilities for k successes in n independent Bernoulli trials.

The binomial model assumes a fixed number of independent trials, two outcomes per trial and the same success probability on every trial. Violating these assumptions changes the distribution.

Trials, successes and success probability

Binomial model

How to use this calculator

Enter the number of independent trials, the target number of successes and the constant probability of success for each trial. The result includes exactly k, at most k and at least k successes.

Formula

P(X = k) = C(n,k)pᵏ(1 − p)ⁿ⁻ᵏ. Cumulative probabilities are sums of the exact probabilities over the relevant k values.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewSaeedM.Phil Statistics, Data Scientist

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What makes an experiment binomial?

It has a fixed trial count, independent trials, two outcomes and a constant probability of success.

What is the difference between exactly and at least k?

Exactly k includes one outcome count; at least k adds probabilities for k through n successes.

Can success probability be 0% or 100%?

Yes. The distribution then collapses to all failures or all successes respectively.

What is the expected number of successes?

The mean of a binomial distribution is n × p. For 20 trials with a 30% success probability, about 6 successes are expected on average.

When can a binomial be approximated by a normal distribution?

A common rule is when both n × p and n × (1 − p) are at least about 10. For smaller values, use exact binomial probabilities.

What is the probability of exactly 3 heads in 5 coin tosses?

Using the binomial formula, P(X = 3) = C(5,3) × 0.5³ × 0.5² = 10 × 0.03125 = 0.3125, or 31.25%.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Ross, S. M. (2019). A first course in probability (10th ed.). Pearson. View source
  2. Illowsky, B., & Dean, S. (2023). Introductory statistics 2e. OpenStax. View source
  3. Croarkin, C., & Tobias, P. (Eds.). (2012). NIST/SEMATECH e-handbook of statistical methods. National Institute of Standards and Technology. View source
  4. Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
  5. International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source