Binomial Distribution Calculator With Steps

This binomial distribution calculator with steps adds the terms for exact, at most, at least and between probabilities and shows every term.

Checks on your data

  • Binomial requires a fixed number of independent trials with the same success probability.

Results

P(2 ≤ X ≤ 5)
0.79712621
Mean n·p
3.6
Variance n·p·(1 − p)
2.52
Standard deviation
1.5874508
Terms added
4
Normal approximation (with continuity correction)
0.791386
good when n·p and n·(1 − p) are at least 10
Binomial(12, 0.3) with the selected terms highlighted
00.10.20: 0.013841300.01381: 0.071183810.07122: 0.1677920.1683: 0.239730.244: 0.2311440.2315: 0.15849650.1586: 0.079247960.07927: 0.029111570.02918: 0.0077977280.00789: 0.0014852890.0014910: 0.000190964100.00019111: 0.0000148803110.000014912: 0.000000531441120.000000531
Term-by-term table
kC(n, k)P(X = k)Running total
2660.16779030.1677903
32200.239700430.40749072
44950.23113970.63863042
57920.158495790.79712621
Show step-by-step solution
  1. Each term is P(X = k) = C(12, k) · 0.3^k · 0.7^(12 − k).
  2. k = 2: C(12, 2) = 66; term = 0.1677903
  3. k = 3: C(12, 3) = 220; term = 0.23970043
  4. k = 4: C(12, 4) = 495; term = 0.2311397
  5. k = 5: C(12, 5) = 792; term = 0.15849579
  6. P(2 ≤ X ≤ 5) = sum of the terms = 0.79712621.
FormulaC(n,k)·pᵏ·(1−p)ⁿ⁻ᵏ
Meann·p
Variancen·p·(1−p)
RangesSum the terms

What Is Binomial Distribution With Steps?

The binomial distribution counts successes in n independent trials with the same success probability p. Each term is C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ, and range probabilities add several terms.

Enter n and p, choose exact, at most, at least or between, and the tool lists each term with its binomial coefficient and a running total. It also gives the mean, variance, standard deviation and the normal approximation with continuity correction.

The sections below cover the formulas, a worked range example and when the normal approximation is accurate.

How to Use the Binomial Distribution With Steps Calculator

  1. Enter n and p.
  2. Choose exact, at most, at least or between.
  3. Enter k.
  4. Read each term and the total.

Binomial Distribution With Steps Formula

Binomial probability

P(X=k)=(nk)pk(1−p)n−kP(X=k)=\binom nk p^k(1-p)^{n-k}

Range probability

P(a≤X≤b)=∑k=ab(nk)pk(1−p)n−kP(a\le X\le b)=\sum_{k=a}^{b}\binom nk p^k(1-p)^{n-k}

Binomial Distribution With Steps Variables Explained

SymbolMeaningNotes
nNumber of trials
pProbability of success
kNumber of successes
C(n, k)Binomial coefficient

Binomial Distribution With Steps Worked Example

With n = 12 and p = 0.3, P(2 ≤ X ≤ 5) adds the terms for k = 2, 3, 4 and 5: 0.1678 + 0.2397 + 0.2311 + 0.1585 = 0.7971 (rounded terms).

With the example values loaded in the calculator above, the steps are:

  1. Each term is P(X = k) = C(12, k) · 0.3^k · 0.7^(12 − k).
  2. k = 2: C(12, 2) = 66; term = 0.1677903
  3. k = 3: C(12, 3) = 220; term = 0.23970043
  4. k = 4: C(12, 4) = 495; term = 0.2311397
  5. k = 5: C(12, 5) = 792; term = 0.15849579
  6. P(2 ≤ X ≤ 5) = sum of the terms = 0.79712621.

Result: P(2 ≤ X ≤ 5) = 0.79712621.

How to Read a Binomial Range Probability

A binomial counts successes in n independent trials with the same chance p each time. With n = 12 and p = 0.3, the mean is 3.6 and the variance is 2.52. The chance of between 2 and 5 successes is 0.1678 + 0.2397 + 0.2311 + 0.1585 = 0.7971.

The term-by-term table shows every probability that was added, so you can follow each step. The normal approximation with a continuity correction gives a close value when np and n(1 − p) are both large enough.

Where Binomial Distribution With Steps Is Used

Range probabilities

Add the terms for k₁ to k₂ and see each one.

At least or at most

Find P(X ≥ k) or P(X ≤ k) for quality or reliability problems.

Mean and spread

Read the mean np and the variance np(1 − p) of the count.

Checking an approximation

Compare the exact answer with the normal approximation.

Common Binomial Distribution With Steps Mistakes to Avoid

  • The trials must be independent with the same p each time.
  • To find "at least k" add the terms from k to n, or take 1 minus P(X ≤ k − 1).
  • Use a continuity correction when you approximate a binomial with a normal curve.
  • Rounded terms add up to a slightly different total than the exact value. The calculator uses the exact one.

Binomial Distribution With Steps Terms and Definitions

Trial
One repetition with two outcomes, success or failure.

Binomial Distribution With Steps FAQs

How do you calculate a binomial range probability?

Add the individual probabilities P(X = k) for each k in the range. Each term is C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ.

What are the mean and variance?

The mean is np and the variance is np(1 − p). For n = 12 and p = 0.3 these are 3.6 and 2.52.

When can I use the normal approximation?

A common rule is that both np and n(1 − p) are at least about 10, though some texts use 5. The approximation improves as n grows.

How is at least k found?

Add P(X = k) through P(X = n), or compute 1 − P(X ≤ k − 1). The second way is shorter when k is small.

Related calculators

Last updated 2026-11-09. See our disclaimer.