Math · free · step by step

Binomial Distribution Calculator

Find the probability of exactly, at most or at least k successes in n trials, with the formula worked out, a bar chart and a full table. Works like binompdf and binomcdf.

Probability

Distribution

Probability table

kP(X = k)P(X ≤ k)

Step by step

Worked examples

Binomial probability examples

Formula

The binomial formula

P(X=k)=(nk)pk(1−p)n−k

Mean np, variance np(1 − p). Use it for a fixed number of independent yes/no trials with the same chance of success each time.

More math

Other math tools

Questions

Binomial Distribution Calculator FAQ

Free, private and works offline: everything is worked out in your browser.

How do you calculate a binomial probability?

Use P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ, where n is the number of trials, p the chance of success on each, and C(n, k) the number of ways to choose which k succeed. Exactly 5 heads in 10 fair coin flips: C(10, 5) = 252, so P = 252 × 0.5¹⁰ = 0.246094.

How do I find “at least” or “at most” probabilities?

“At most k” is P(X ≤ k): add P(X = 0) to P(X = k). “At least k” is P(X ≥ k) = 1 − P(X ≤ k − 1). The chance of at least one six in 6 rolls is 1 − (5/6)⁶ = 0.665102.

When can I use the binomial distribution?

When there is a fixed number of trials n, each trial has two outcomes (success or failure), the chance of success p is the same every time, and trials are independent. Coin flips, quiz guesses, and defective items in a batch are classic examples.

What are the mean and standard deviation of a binomial distribution?

The mean is np, the variance np(1 − p) and the standard deviation √(np(1 − p)). For n = 20 and p = 0.3: mean 6, standard deviation 2.04939.

Is it the same as binompdf and binomcdf?

Yes. P(X = k) matches binompdf(n, p, k) and P(X ≤ k) matches binomcdf(n, p, k) on a TI-84. For example binomcdf(20, 0.3, 4) = 0.237508.

Is the calculator free and private?

Yes. Everything is worked out in your browser and nothing is sent anywhere. Large n (up to a million trials) works because terms are computed with logarithms.

Built and maintained by Zubaer Ahammed · Updated · Runs on your device; nothing you add is uploaded