Binomial Probability Calculator

P(X = k), P(X ≤ k) and P(X ≥ k) across n independent trials.

The formula behind it

P(X=k) = C(n,k) · pᵏ · (1−p)ⁿ⁻ᵏ
n
number of independent trials
p
constant success probability per trial
k
how many successes you are asking about

The binomial distribution counts successes across n independent yes/no trials. Each exact count gets its probability from choose-weights times the powers of p and 1−p; cumulative rows add the tail.

How to use this calculator

  1. 1

    Enter the number of trials and the success probability (decimal).

  2. 2

    Enter k — the exact count you want.

  3. 3

    Press Calculate for exact, at-most and at-least probabilities.

Worked examples

Free throws

80% shooter, 5 attempts, exactly 4: C(5,4)·0.8⁴·0.2 ≈ 40.96%.

Defect rates

2% defect rate, 50 units, at most 1 defect ≈ 73.5% — a lot-line decision.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...