CalculatorForEver
MATH / CALCULATOR

Binomial Distribution Calculator

Calculate binomial distribution with explicit statistical conventions, probability limits and worked results.

For X following a binomial distribution, P(X = k) = C(n,k)p^k(1 − p)^(n − k). Calculator ForEver reports exactly k, at most k and at least k successes, using inclusive boundaries for the cumulative probabilities.

Your numbers

BROWSER-LOCAL INPUTS

Your inputs stay in this browser. No account needed.

RESULT

Your result

Enter your values and select Calculate.

Check the units and assumptions before using this result.

METHOD

How the binomial distribution calculator works

How to use this calculator

Enter observations or distribution parameters in the stated units. Calculate, then read the method and assumptions before drawing a statistical conclusion.

What the result means

A binomial model counts successes in a fixed number of independent trials with the same success probability on each trial. Success is a label you define, such as an item meeting a stated condition. Enter the number of trials n, the number of successes k and the per-trial probability p. The word success does not imply a favorable outcome; it identifies the event being counted.

The formula

P(X=k) = C(n,k)p^k(1−p)^(n−k)

A worked example

With n=2 and p=0.5, P(X=1)=0.5.

Assumptions & methodology

A numerical summary does not establish sampling validity, practical importance or causation. Check the model and input assumptions before interpreting a probability. Results are rounded for display; intermediate calculations retain precision. This tool is informational and does not replace institutional or professional guidance.

References

OpenStax: binomial distribution · NIST: binomial distribution

WORK THROUGH THE DETAILS

Using your binomial distribution result

Work through five trials with probability one fifth

For n = 5, p = 0.2 and k = 2, there are C(5,2) = 10 ways to position the two successes. Each arrangement has probability 0.2² × 0.8³. Multiplying gives P(X = 2) = 0.2048. The probabilities for zero and one success are 0.32768 and 0.4096. Therefore P(X ≤ 2) = 0.94208, while P(X ≥ 2) = 1 − 0.32768 − 0.4096 = 0.26272.

Translate cumulative wording into count sets

At least two includes two, three, four and five in the five-trial example. More than two starts at three instead. The complementary pair is P(X ≤ k) and P(X ≥ k + 1); those two probabilities add to one. Two inclusive tails using the same k overlap at that exact count. When checking a spreadsheet function, determine whether it returns a point probability or a cumulative probability and which endpoint its complement excludes.

Treat extreme probabilities as properties of the assumptions

At p = 0, the model places all probability on zero successes. At p = 1, it places all probability on n successes. Between those boundaries, distant outcomes can be possible but too small to appear in a short decimal display. Large samples can also make small differences in the assumed p consequential. Test a plausible alternative p when the estimate comes from limited historical data. The calculator does not estimate p, account for correlation between trials or establish the precision of the rate you supply.

Separate the binomial mean from a most-likely count

In five trials with p = 0.2, the expected count is one. The probability of exactly one success is 0.4096, which is larger than the probability of exactly zero, 0.32768, or exactly two, 0.2048. The fact that one is the mean does not make its probability one, and other parameter choices can produce a fractional mean. With n = 3 and p = 0.5, the mean is 1.5, while the outcomes remain zero, one, two or three. When planning repeated batches, retain the distribution rather than replacing every batch with its expected count.

INTERPRETATION

Understanding binomial distribution results

Check the fixed-trial and independence requirements

The trial count must be known, each trial must have two defined outcomes, and p must stay constant. Sampling without replacement from a small population changes the remaining success probability and may require a hypergeometric model. A sequence that stops when a target number of successes occurs answers a different question from a fixed set of n trials. Choose the model from the sampling process before entering its numbers.

Keep probability input separate from percentage notation

A success probability of 0.2 means 20% per trial. Use the input’s stated probability scale and keep it between zero and one. The expected success count is np, which can be fractional even though an observed success count must be whole. The variance is np(1 − p). A mean count is a distribution summary, not a promise that a future batch will contain exactly that many successes.

RELATED GUIDES

Related questions and worked examples

Read a worked explanation before trying another calculation.

QUESTIONS

Binomial Distribution questions

Can the number of successes exceed the number of trials?+

No. k must be a whole number from zero through n. The expected count can be noninteger, but a particular binomial outcome cannot.

Does at least k include k itself?+

Yes. It includes exactly k and all larger supported counts. For strictly more than k, use one minus the at-most-k probability.