Binomial Distribution Calculator
Calculate binomial probabilities: the chance of exactly, at most, at least, fewer or more than k successes in n independent trials with success probability p, plus the mean and standard deviation.
Frequently asked questions
When does the binomial distribution apply?
When you repeat the same yes or no experiment a fixed number of times, the trials are independent and the success probability stays the same, for example flipping a coin 10 times or checking 50 parts with a 2% defect rate.
What do the results mean?
Exactly k is P(X = k), at most k is P(X ≤ k), fewer than k is P(X < k), at least k is P(X ≥ k) and more than k is P(X > k).
How is the probability calculated?
P(X = k) = C(n, k) p^k (1 - p)^(n - k). Cumulative probabilities use the regularized incomplete beta function, which stays accurate for large n.
How large can n be?
Up to 10 million trials. The calculation works with logarithms, so large values do not overflow.
What are the mean and standard deviation?
The mean is n × p and the standard deviation is the square root of n × p × (1 - p).
Should p be a percentage?
No. Enter p as a decimal between 0 and 1, for example 0.25 for 25%.