Binomial probability calculator

Find the probability of exactly k successes in n independent Bernoulli trials.

Enter values

Start with the example below, or enter your own values.

How it works

Use the binomial probability mass function. Trials must have identical independent success probability; n ≤ 1000.

Try an example

Number of trials: 10; Number of successes: 3; Success probability (0–1): 0.3. The form starts with these values; change them to explore your own case.

Example result: 0.266827932

  1. Use C(n,k) p^k (1−p)^(n−k).
  2. Accumulate the logarithm of the binomial coefficient.

Learn more in Probability and statistical inference.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.