Binomial distribution
Calculate binomial distribution probabilities for a set number of trials.
Binomial distribution
Enter one or more numbers of successes, one per line, and this tool returns the probability of getting exactly that many successes out of a fixed number of trials — the classic binomial distribution question behind coin flips, A/B test conversions, defect rates and pass/fail sampling. It also prints the full probability table for every possible outcome, with a simple bar chart so the shape of the distribution is visible at a glance.
Set the number of trials (n) and the probability of success on a single trial (p), then choose whether each line reports the exact probability, or the cumulative probability of at most or at least that many successes. "Independent trials" toggles the model between the standard binomial (sampling with replacement, the usual assumption) and a hypergeometric approximation for sampling without replacement from a finite population, whose size and success count are reported alongside the result. "Order matters" switches from the probability of any arrangement of the successes to the probability of one specific ordered sequence — labeled P* so the two are never confused.
The distribution table is capped by the row limit to keep the output readable when the number of trials is large; when rows are hidden a ⚠ marker reports how many were left out, and the marker can be turned off. The column separator is yours to choose, and every row is plain text, so the result pastes cleanly into a spreadsheet or report. Very long batches of success-count queries — thousands of lines — are handled without slowing down the page.
Everything runs locally in your browser: the numbers you type are never uploaded anywhere. Copy the result, download it as a .txt file, or send the output back into the input to refine your query further.