Binomial Probability Calculator

Find the probability of a number of successes in a fixed number of trials.

What the Binomial Probability Calculator does

The binomial distribution gives the probability of getting exactly k successes in n independent trials, each with the same success probability. It underpins quality control sampling, A/B testing and any repeated yes-or-no experiment.

Formula

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

Inputs explained

InputUnitRequiredNotes
Number of trials (n)numberYesAccepts 1 or more, up to 1000.
Probability of success per trial%Yes
Number of successes (k)numberYesAccepts 0 or more.

How to use it

  1. Enter Number of trials (n), Probability of success per trial and Number of successes (k).
  2. Select Calculate.

Worked example

Flipping a fair coin 10 times — what is the chance of exactly 7 heads?

Trials
10
Probability
50
Successes
7

C(10,7) × 0.5¹⁰ = 120 ÷ 1024 = 0.1172, about 11.72%.

Frequently asked questions

When can I use the normal approximation?

When both np and n(1−p) exceed about 5. Below that the binomial is noticeably skewed and the approximation misleads.

What if trials are not independent?

Then the binomial does not apply. Sampling without replacement from a small population needs the hypergeometric distribution instead.

Related calculators