The binomial distribution answers a specific but extremely common question: if you repeat an independent yes/no experiment a fixed number of times, how likely is a given number of successes? This calculator computes exact, at-most, and at-least probabilities along with the distribution's mean and standard deviation, so you can go from 'how many trials and what odds' straight to a usable probability.

How the binomial formula works

The binomial PMF, P(X = k) = C(n,k)·p^k·(1−p)^(n−k), breaks into three pieces. C(n,k) — 'n choose k' — counts how many different orderings of k successes among n trials are possible; without it you'd only capture the probability of one specific ordering, not all the equally-likely ways to get k successes. p^k is the probability that a particular set of k trials all succeed, and (1−p)^(n−k) is the probability the remaining trials all fail. Multiplying the three terms together and, for cumulative questions, summing across every relevant k, gives the full probability picture.

Inputs and what they mean

Trials (n) is the fixed number of independent repetitions — it must be a whole number, and this calculator supports up to 1,000 for numerical stability. Success probability (p) is entered as a decimal between 0 and 1 (50% is 0.5, not 50), and represents the same fixed probability applied to every trial. Successes (k) is the count you're asking about, always between 0 and n. The comparison type — exactly, at most, or at least — determines whether you get one exact-probability answer or a cumulative sum; 'at least k' is usually the more useful real-world question (e.g., 'at least 8 of 10 free throws') since it captures every outcome that clears a bar rather than one precise count.

When it applies, and the normal approximation

The binomial model requires four conditions: a fixed number of trials, exactly two outcomes per trial, a constant success probability across trials, and independence between trials (one trial's outcome can't change another's odds). Sampling without replacement from a small population violates independence and calls for the hypergeometric distribution instead. When n is large and p isn't too close to 0 or 1 (a common rule of thumb: np ≥ 5 and n(1−p) ≥ 5), the binomial distribution is closely approximated by a normal distribution with the same mean and standard deviation — useful for quick mental estimates, though this calculator always computes the exact binomial value rather than the approximation.