Compute a simple probability exactly from favourable and total outcomes, with its complement and odds.
Binomial Distribution Calculator
Compute binomial probabilities exactly as fractions, including the cumulative tails, with no loss of significance.
- Free
- No sign-up
- Runs in your browser
Input
Enter 0.5, 50 or a fraction such as 1/6 - all are read correctly.
How many digits to show when the answer is irrational. An exact answer ignores this.
Try an example
Ready
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter the number of trials, the number of successes and the probability of success on one trial.
- 2
Every probability here is exact, including the cumulative sums.
Questions about Binomial Distribution Calculator
Why is this exact when other calculators approximate?
Because a binomial probability is a rational number whenever p is, so there is no need to approximate anything. C(10, 3) x (1/2)^10 is exactly 15/128. The cumulative sums are added as exact fractions too, which matters in the tails where floating-point terms lose significance against the larger ones.
When does the binomial model not apply?
When the trials are not independent or the probability changes between them. Drawing cards without replacement breaks both - that is the hypergeometric distribution. Surveying people until you find one who agrees is a negative binomial. The binomial needs a fixed number of independent trials at a constant probability.
Should I use the normal approximation?
There is no need to here, since the exact value is computed. Historically the approximation was used because the exact calculation was laborious, and the usual rule is that np and n(1-p) should both be at least 5. The tool notes when that condition holds, but it reports the exact figure either way.
Is my data sent anywhere?
No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.
Does the Binomial Distribution Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Binomial Distribution Calculator keeps working with the network switched off and nothing is ever sent to a server.
Related tools
Other tools you might reach for next.
Compute normal distribution probabilities and density from a value, mean and standard deviation, to a stated precision.
Compute Poisson probabilities with the rational part kept exact, so the factorial contributes no rounding.
Evaluate an expression with exact fraction arithmetic, trigonometry, logarithms and factorials, reporting whether the result is exact.
Reduce a fraction to lowest terms, with its mixed number and exact decimal form including any repeating block.
Add two fractions exactly, showing the common denominator step and reducing the result.
Subtract one fraction from another exactly, showing the common denominator step.
Multiply two fractions exactly, multiplying across and reducing the result.