Binomial Distribution Calculator
Show the full binomial PMF as a bar chart and table, with mean and variance.
What is Binomial Distribution?
The binomial distribution is the family of probabilities for the number of successes in n independent trials. Its shape is set by p: near 0.5 it is symmetric, near 0 or 1 it is skewed, and as n grows it approaches the normal curve.
How it works
Every term from k = 0 to n is computed with the same log-space PMF as the single-probability page, then drawn as an inline SVG bar chart with the modal value highlighted. The mean np and variance np(1 − p) are reported so the centre and spread can be read off without scanning the bars.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Realistic sample
Type or paste any realistic input — the tool computes the result locally and instantly.
Common mistakes
Expecting a server round-trip
Nothing is uploaded — every tool in this category runs entirely in your browser.