Binomial Distribution Calculator
Binomial probability P(X = k), P(X <= k) and P(X >= k) from n trials and success probability p. Free, instant, no sign-up.
P(X = k) = C(n,k) × p^k × (1−p)^(n−k). Mean = n×p, variance = n×p×(1−p). Use it for repeated trials with the same success chance, such as coin tosses.
How to use the binomial distribution calculator
- Enter the number of trials n and the success probability p.
- Enter the number of successes k.
- Press “Calculate” to see P(X = k), P(X ≤ k) and P(X ≥ k).
Binomial distribution calculation example
Toss a fair coin 10 times. The chance of exactly 7 heads is C(10,7) × 0.510 = 120 ÷ 1,024 ≈ 0.117. The chance of 7 or more is about 0.172. The expected number of heads is 10 × 0.5 = 5.
Checks before using it
- A fixed number of trials, n.
- Only two outcomes per trial (success or failure).
- The same probability p every time, and trials independent of each other.
Binomial distribution calculator: common questions
- When is a binomial distribution the right model?
- When there are a fixed number of independent trials, each with the same success probability and two outcomes, such as heads or tails.
- What is the expected number of successes?
- The mean, n × p. For 10 tosses of a fair coin it is 5.
- Is my data stored?
- No. The calculation runs in your browser.
- What is the difference between P(X = k) and P(X ≤ k)?
- P(X = k) is the chance of exactly k successes; P(X ≤ k) adds up the chances of 0, 1, … up to k successes.