🪙 Binomial Distribution Calculator

The chance of k heads in n tosses, k defects in a batch, k right answers by guessing.

No ratings yet — be the first

Enter details

0.5, or 50 for 50%

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Binomial Distribution Calculator: Binomial probability — P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ. Example: 6 heads in 10 tosses → P(X = 6): 0.205078 = 20.5078%
How the Binomial Distribution Calculator works: Binomial probability — P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Binomial Distribution Calculator

The binomial distribution counts successes in a fixed number of independent trials, each with the same chance of success — heads in coin tosses, correct guesses on a multiple-choice test, defective items in a sample, patients responding to a treatment.

Enter n, p and k and choose exactly, at most, at least or between. The calculator computes the exact probability (no normal approximation), the cumulative probabilities, the mean np, variance np(1 − p), the most likely number of successes and a chart of the whole distribution.

🧮 Formula

Binomial probability
P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ
Mean and variance
μ = np, σ² = np(1 − p)

✏️ Worked examples

6 heads in 10 tosses

You enter
Number of trials n10
Probability of success p0.5
Number of successes k6
Probability ofExactly k
k₂ (for between)8
You get
P(X = 6)0.205078 = 20.5078%
P(X = 6)0.205078
P(X ≤ 6) · P(X ≥ 6)0.828125 · 0.376953
Mean np5
Variance np(1 − p) · SD2.5 · 1.5811388
Most likely number of successes5
FormulaP(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ = C(10, 6)·0.5^6·0.5^4

0.205078 = 20.5078%.

At least 8 of 20 at p = 0.3

You enter
Number of trials n20
Probability of success p0.3
Number of successes k8
Probability ofAt least k (≥)
k₂ (for between)10
You get
P(X ≥ 8)0.227728 = 22.7728%
P(X = 8)0.114397
P(X ≤ 8) · P(X ≥ 8)0.886669 · 0.227728
Mean np6
Variance np(1 − p) · SD4.2 · 2.0493902
Most likely number of successes6
FormulaP(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ = C(20, 8)·0.3^8·0.7^12

0.227728 = 22.7728%.

🧭 How to use this calculator

What you enter

  • Number of trials n
  • Probability of success p0.5, or 50 for 50%
  • Number of successes k
  • Probability of
  • k₂ (for between)

What you get

  • P(X = 6)
  • P(X = 6)
  • P(X ≤ 6) · P(X ≥ 6)
  • Mean np
  • Variance np(1 − p) · SD
  • Most likely number of successes
  • Formula

❓ Frequently asked questions

When is a situation binomial?

When there is a fixed number of trials, each with two outcomes, the same probability of success, and the trials are independent.

What is the probability of guessing 5 of 10 multiple-choice questions right (4 options)?

P(X = 5) with n = 10, p = 0.25 is about 5.8%; at least 5 is about 7.8%.

How is “at least” calculated?

P(X ≥ k) = 1 − P(X ≤ k − 1), adding up the probabilities of every lower count.