Skip to content
Calc.

Binomial Probability Calculator

Find the probability of exactly, at most, at least, fewer than or more than k successes in n independent trials with success probability p.

Last updated: October 2026

Probability

20.51 %

Formula below · 2 sources (itl.nist.gov, openstax.org) · Updated Oct 2026

Compare with similar

About this calculator

The binomial distribution gives the chance of a number of successes in a fixed number of independent trials, when every trial has the same probability of success. Coin flips, pass/fail inspections and guessing on a multiple-choice test are typical examples.

P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ, where C(n, k) = n! ÷ (k! × (n − k)!)

n is the number of trials, k the number of successes and p the probability of success on one trial (enter it as a decimal, so 30% is 0.3). C(n, k) counts the ways to choose which k trials succeed. The cumulative options add up the single probabilities: at most k sums k = 0 up to k, at least k sums k up to n, and fewer than or more than leave out k itself. The result is shown as a percentage.

The chart under the result draws the whole distribution. Its mean is n × p and its standard deviation is √(n × p × (1 − p)).

When it applies: the number of trials is fixed, each trial has two outcomes, trials are independent, and p stays the same. Drawing without replacement from a small group (cards from a deck, for example) breaks independence; use the hypergeometric distribution instead.

How to use

Enter n, k and p and choose what to find. The default is 10 fair coin flips (p = 0.5) and exactly 4 heads: C(10, 4) = 210, and 210 × 0.5¹⁰ = 210 ÷ 1,024 = 20.51%. For at most 4 heads, add the counts for 0 to 4 heads: (1 + 10 + 45 + 120 + 210) ÷ 1,024 = 37.7%. At least 4 heads is 1 − (1 + 10 + 45 + 120) ÷ 1,024 = 82.81%. Guessing on a 20-question quiz with 4 choices each (p = 0.25), the chance of at least 10 right is about 1.39%.

Frequently asked questions

What is the difference between at most, at least, fewer than and more than?

At most k includes k (X ≤ k); fewer than k excludes it (X < k). At least k includes k (X ≥ k); more than k excludes it (X > k). At least k is the complement of fewer than k, so the two always add up to 100%.

When should I use the binomial distribution?

When there is a fixed number of independent trials, each with the same two outcomes and the same success probability. If p changes between trials or the trials affect each other, the binomial model does not apply.

Can I use the normal approximation instead?

For large n, the binomial is close to a normal distribution with mean np and standard deviation √(np(1 − p)), as long as np and n(1 − p) are both at least about 5 to 10. This calculator computes the exact binomial sum, so you do not need the approximation for n up to 1,000.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.