Free statistics tool
Binomial Probability Calculator
Find binomial probabilities: the chance of exactly k successes in n trials, or at most, at least, fewer than, more than or between two values. See the formula worked through, the mean and standard deviation, and the whole distribution as a bar chart with your answer highlighted. Free, no signup.
p can be a decimal (0.3), a fraction (1/6) or a percent (30%).
Probability
Mean (np)
Standard deviation
P(X = k) for each k; the highlighted bars are the ones asked about. Hover a bar for its probability.
Step by step
- 1X counts the successes in n = 10 independent trials, each a success with probability p = 0.5.X \sim B(10,\ 0.5)
- 2The probability of exactly k successes: the number of ways to choose which k trials succeed, times the chance of each such outcome.P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}
- 3Put in the numbers.P(X = 5) = \binom{10}{5} (0.5)^{5} (0.5)^{5} = 252 \times 0.03125 \times 0.03125 \approx 0.246094
- 4The mean and standard deviation of a binomial distribution:\mu = np = 5 \qquad \sigma = \sqrt{np(1-p)} \approx 1.5811
Reading the question
- "Exactly 4" is P(X = 4). "At most 4" and "no more than 4" are P(X ≤ 4).
- "At least 4" and "4 or more" are P(X ≥ 4). "More than 4" is P(X > 4), which starts at 5.
- "Fewer than 4" is P(X < 4), which stops at 3.
Frequently asked questions
When can I use the binomial distribution?+
When four things are true: there is a fixed number of trials n; each trial has just two outcomes (success or failure); the probability of success p is the same every time; and the trials are independent. Coin flips, dice rolls and guessing on multiple-choice questions all fit.
What is the binomial probability formula?+
P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ. C(n, k), read 'n choose k', counts the ways to pick which k trials are successes; pᵏ(1 − p)ⁿ⁻ᵏ is the probability of any one of those arrangements. For 10 coin flips and exactly 5 heads: 252 × 0.5¹⁰ ≈ 0.2461.
How do I find 'at least' or 'at most' probabilities?+
Add the probabilities of each value in the range. 'At most 3' is P(0) + P(1) + P(2) + P(3). For 'at least', it is often quicker to subtract from 1: P(X ≥ 5) = 1 − P(X ≤ 4). The calculator shows both ways.
What are the mean and standard deviation?+
The mean (expected number of successes) is μ = np, and the standard deviation is σ = √(np(1 − p)). For 100 trials at p = 0.3 you expect 30 successes, give or take about 4.6.
How large can n be?+
Up to 10,000 trials. The probabilities are worked in logarithms so they stay accurate even when the numbers involved are enormous.
Studying probability and statistics?
Run experiments in the probability lab next, or get a statistics tutor for one-on-one help. Your first trial lesson is free.
Make statistics click
A 1-on-1 statistics tutor helps you choose the right distribution and explain your answer. Your first trial lesson is free.