Skip to content
Probability Calculator
Menu

Binomial Probability Calculator

The probability of getting exactly, at least or at most k successes in n independent trials.

Updated · exact formulas, double precision

Decimal, percent or fraction: 0.25, 25% or 1/4.

Probability that X is

P(X ≥ 6)

0.376953

37.7%
012345678910
Mean (np)
5
Standard deviation
1.58114
P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ

Worked example

Flip a fair coin 10 times. The chance of exactly 5 heads is C(10, 5) × 0.5⁵ × 0.5⁵ = 252 × 0.0009765625 = 0.2461. The chance of 6 or more heads is 0.377.

Exactly, at least, at most

The mean is np and the standard deviation √(np(1 − p)). When n is large and p isn't near 0 or 1, the shape is close to a normal curve; for rare events in a large number of trials, the Poisson distribution is a good approximation. The number of ways C(n, k) comes from the combination calculator.

Questions people ask

What is the binomial probability formula?

P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ.

When can I use the binomial distribution?

Fixed number of independent trials, two outcomes, same p each time. Coin flips yes; cards without replacement no.

Sources

More probability calculators