How likely are 2 sixes in 10 rolls? Get exactly, at most, at least or a range of k successes in n trials, with the exact fraction, the formula filled in and the full distribution table.
Binomial Distribution Calculator - Exact Fraction and Tails
How likely are 2 sixes in 10 rolls? Get exactly, at most, at least or a range of k successes in n trials, with the exact fraction, the formula filled in and the full distribution table.
Parameters
Enter data for calculations
💡 Fill in all required fields to unlock the calculate button
Binomial probability for k successes in n trials
Ten coin flips, exactly five heads: 63/256, or 24.61%, even though half heads feels like the "normal" outcome. This binomial distribution calculator works out exactly k successes, at most k, at least k, or anything from a to b. The probability p of one trial goes in as a fraction (1/6), a decimal (0.3) or a percentage (30%), and when the numbers are small the answer also comes back as a reduced fraction you can copy into homework.
Setting up a binomial problem in four entries
- Which probability - exactly k, at most k, at least k, or a range from a to b. "At least once" is at least 1.
- Number of trials n - how many times the same experiment is repeated: flips, shots, items checked. From 1 to 10,000.
- Probability of success p - the chance in one trial, the same every time. A six on a die is 1/6, heads is 1/2, a defect rate might be 2%.
- Number of successes k (and the upper bound b for a range) - a whole number from 0 to n.
- Read the result - the probability as a percentage and as a fraction, the formula with your numbers filled in, tiles with the related probabilities, and the distribution table with k highlighted.
An atlas of classic binomial problems
Eight problems that turn up again and again in textbooks, quizzes and everyday questions, each with the inputs to type and the answer the calculator returns.
Formula, mean and the most likely count
The NIST/SEMATECH e-Handbook of Statistical Methods gives the probability mass function P(x) = C(n, x) px (1 - p)n - x for x = 0, 1, ..., n, with C(n, x) = n! / (x! (n - x)!), the mean np and the standard deviation √(np(1 - p)). Its mode sits between p(n + 1) - 1 and p(n + 1), so the most likely count is the whole-number part of (n + 1)p, and when (n + 1)p is itself a whole number two counts tie.
| Quantity | Formula | 20 shots at p = 0.8 |
|---|---|---|
| Exactly k | C(n, k) pk (1 - p)n - k | at least 18: 20.61% |
| Mean | n × p | 16 |
| Standard deviation | √(n p (1 - p)) | 1.789 |
| Most likely k | whole part of (n + 1) p | 21 × 0.8 = 16.8, so 16 |
| At least one | 1 - (1 - p)n | practically 100% |
The same numbers come out of Excel. BINOM.DIST(number_s, trials, probability_s, cumulative) returns exactly number_s successes with FALSE and at most number_s with TRUE; Microsoft's own example, =BINOM.DIST(6, 10, 0.5, FALSE), gives 0.2050781, which is 210/1,024 here.
Reference table: 10 coin flips
Each of the 1,024 head-and-tail sequences is equally likely, so P(X = k) is simply C(10, k)/1,024. The table is symmetric, so one row covers k and 10 - k:
| Heads k | Sequences C(10, k) | P(X = k) | P(X ≥ k) |
|---|---|---|---|
| 0 or 10 | 1 | 0.0977% | 100% / 0.0977% |
| 1 or 9 | 10 | 0.9766% | 99.90% / 1.074% |
| 2 or 8 | 45 | 4.395% | 98.93% / 5.469% |
| 3 or 7 | 120 | 11.72% | 94.53% / 17.19% |
| 4 or 6 | 210 | 20.51% | 82.81% / 37.70% |
| 5 | 252 | 24.61% | 62.30% |
Is it binomial? Four conditions to check
Binomial distribution questions
Related tools
Exponential Distribution Calculator
How long until the next event, and the wait that covers 90% of cases - See the calculator
Poisson Distribution Calculator
When you know only the average number of events, not the number of trials - See the calculator
Binomial Expansion Calculator
Binomial coefficients C(n, k), the expansion of (a + b)n and Pascal's triangle - See the calculator
Probability Calculator
A single event, independent events and unions as a fraction, a percentage and odds - See the calculator
Conditional Probability Calculator
P(A | B), total probability and Bayes' theorem worked out in fractions - See the calculator
Z-Score Calculator
Percentiles of the normal curve, which the binomial approaches at large n - See the calculator
Chi-Square Calculator
Tests whether observed counts fit the distribution you expect - See the calculator
Confidence Interval Calculator
An interval around a proportion estimated from your successes and trials - See the calculator