Home » Statistics & Probability Calculators » Binomial Distribution Calculator

Binomial Distribution Calculator

Home › Statistics & Probability Calculators › Binomial Distribution Calculator

Binomial Distribution Calculator

The binomial distribution models the number of successes in n independent trials that each succeed with probability p: correct guesses on a multiple-choice test, defective items in a batch, heads in a series of coin flips. Enter n and p, choose the probability you need and the value(s) of k, and the calculator evaluates the formula P(X = k) = C(n, k)pᵏ(1 − p)ⁿ⁻ᵏ and sums the required terms.

The result panel shows the single-term calculation with the actual numbers, the cumulative rule used (for example P(X ≥ k) = 1 − P(X ≤ k − 1)), the mean np, variance np(1 − p) and standard deviation, a bar chart with the selected values highlighted, and a table of P(X = k), P(X ≤ k) and P(X ≥ k) for every k.

This matches binompdf and binomcdf on the TI-84 and BINOM.DIST in Excel. For rare events with large n, the Poisson distribution is a close approximation, and for large np the normal distribution with continuity correction can be used.

Result and step-by-step solution

P(X ≤ 4)
0.72366

Mean np = 3.6, variance np(1 − p) = 2.52, SD = 1.5875

0123456789101112
  1. Formula
    P(X = k) = C(n, k) × pk × (1 − p)n − k
  2. Single term at k = 4
    P(X = 4) = C(12, 4) × 0.34 × 0.78 = 495 × 0.0081 × 0.057648 = 0.23114
  3. Add the terms in the range
    P(X ≤ 4) = 0.72366
  4. Probability table
    kP(X = k)P(X ≤ k)P(X ≥ k)
    00.013840.013841
    10.071180.085030.98616
    20.167790.252820.91497
    30.23970.492520.74718
    40.231140.723660.50748
    50.15850.882150.27634
    60.079250.96140.11785
    70.029110.990510.0386
    80.00780.998310.00949
    90.001490.999790.00169
    100.000190.999980.00021
    110.0000110.00002

Frequently asked questions

What is the difference between P(X ≤ k) and P(X < k)?
For a discrete variable P(X < k) = P(X ≤ k − 1). The calculator applies this automatically, so choose whichever wording your question uses.
How do I compute "at least k"?
P(X ≥ k) = 1 − P(X ≤ k − 1). The tool shows this subtraction in the steps.
What are the conditions for a binomial distribution?
A fixed number of trials, each with only two outcomes, the same probability of success on every trial, and independence between trials.
How large can n be?
Up to 100,000. The calculator uses logarithms of the binomial coefficient, so large n does not overflow.

Last reviewed: September 25, 2026. Calculations run in your browser and were validated against SciPy.

Scroll to Top