Calculate binomial probabilities for exactly, at most, at least or between k successes in n trials. Includes mean, variance and an interactive PMF bar chart.
Flip a fair coin ten times. How likely is it to land heads exactly six times? What about at least eight? Guessing on a 20-question quiz with four options each, what are the odds of passing by luck? These are binomial questions. Each has a fixed number of independent tries, each try either succeeds or fails, and the chance of success stays the same every time.
Enter the number of trials n, the probability of success p and the count you care about. Then choose the question: exactly, at most, fewer than, at least, more than, or between two values. You get the probability as a decimal and a percentage, the chance of the opposite outcome, the mean, standard deviation and most likely count. A bar chart highlights exactly which outcomes were added up. p can be typed as 0.25, 25% or 1/4.
The page opens with n = 10, p = 0.5 and Exactly k with k = 6:
Hover any bar to see that outcome's exact probability. The table under Show lists P(X = k), P(X ≤ k) and P(X ≥ k) for every k in view, with the asked-about rows shaded. For large n, the chart and table centre on the mean, within about five standard deviations, where nearly all the probability lies.
Probability of
P(X = 6)
0.205078
20.508%
The probability of exactly 6 successes in 10 trials, each succeeding with p = 0.5 — about 1 in 4.9. The opposite outcome has probability 0.794922.
Mean (np)
5
Std deviation
1.58114
Variance
2.5
Most likely k
5
Orange bars are the outcomes being added up. Hover a bar for its exact probability.
Probability table (k = 0 to 10)