PROBABILITYDistributionsStatistics Calculator
📊

P(X=k), P(X≤k), P(X≥k) with PMF/CDF Charts

Probability tables. From coin flips to clinical trials. Binomial coefficient, expected value, variance, normal approximation hint.

Concept Fundamentals
C(n,k)·pᵏ·(1−p)ⁿ⁻ᵏ
Binomial PMF
Probability mass function
n trials, 2 outcomes
Requirements
Bernoulli trials
μ = n·p
Mean
Expected successes
σ² = n·p·(1−p)
Variance
Spread measure
Compute Probabilitiesn trials, p success probability

Why This Statistical Analysis Matters

Why: The binomial distribution models repeated independent trials with two outcomes. Used for coin flips, pass/fail tests, clinical trials, quality control.

How: Enter n (trials), p (success probability), and k or range. PMF = C(n,k)×p^k×(1-p)^(n-k). CDF = sum of PMF. Mean = np, Variance = np(1-p).

  • np≥5 and n(1-p)≥5: normal approximation works
  • CDF gives P(X≤k)
  • At least k = 1 - P(X≤k-1)
B(n,p)
STATISTICSDistributions

P(X=k), P(X≤k), P(X≥k) with PMF/CDF Charts

Probability tables. From coin flips to clinical trials. Binomial coefficient, expected value, variance, normal approximation hint.

Real-World Scenarios — Click to Load

Calculation Mode

Inputs

binomial.sh
CALCULATED
$ compute_binomial --n=10 --p=0.5 --k=5 --mode=exact
Primary Probability
24.6094%
E(X)
5.0000
Var(X)
2.5000
σ
1.5811
Skewness
0.0000
Mode
5
Share:
Binomial Distribution
P(X=5)
24.6094%
n = 10p = 0.5E(X) = 5.00
numbervibe.com/calculators/statistics/binomial-distribution-calculator

PMF Bar Chart — P(X=k)

CDF Line Chart — P(X≤k)

Probability Table

kP(X=k)P(X≤k)P(X≥k)
00.0009770.0009771.000000
10.0097660.0107420.999023
20.0439450.0546880.989258
30.1171880.1718750.945313
40.2050780.3769530.828125
50.2460940.6230470.623047
60.2050780.8281250.376953
70.1171880.9453130.171875
80.0439450.9892580.054688
90.0097660.9990230.010742
100.0009771.0000000.000977

Calculation Breakdown

INPUT
Parameters
n=10, p=0.5, k=5
COMPUTATION
Binomial Coefficient
C(10,5) = 252
n!/(k!(n-k)!)
RESULT
Primary Probability
24.6094%
P(X = 5) = \binom{10}{5} \cdot 0.5^{5} \cdot (1-0.5)^{10-5}
E(X)
5.0000
ext{np}
σ
1.5811
√( ext{np}(1-p))

For educational and informational purposes only. Verify with a qualified professional.

Key Takeaways

  • The binomial distribution models the number of successes in n independent trials with constant probability p
  • Must satisfy BINS: Binary outcome, Independent trials, Number of trials fixed, Same probability each trial
  • Mean = np, Variance = np(1-p), Standard Deviation = √(np(1-p))
  • When np ≥ 5 and n(1-p) ≥ 5, the normal approximation is valid
  • The binomial coefficient C(n,k) counts the number of ways to choose k successes from n trials

Did You Know?

🎲Jacob Bernoulli published the binomial distribution in Ars Conjectandi (1713) — 8 years after his deathSource: History of Math
📐Pascal's Triangle directly gives binomial coefficients — row n contains C(n,0), C(n,1), ..., C(n,n)Source: Combinatorics
🏭In manufacturing QC, the binomial distribution determines acceptable defect rates — a 2% defect rate in 100 items means P(≤3 defects) ≈ 85.7%Source: ISO
🧪Clinical trials use the binomial to test drug efficacy — comparing observed success rate against expected rateSource: FDA
💻A/B testing in tech uses the binomial to determine if a new feature improves conversion rates with statistical significanceSource: Tech
🗳️Election polling models are fundamentally binomial — each voter is a Bernoulli trial with probability p of supporting a candidateSource: Political Science

How It Works

1. Bernoulli Trials

Each trial has exactly two outcomes (success/failure), trials are independent, and the probability p is the same for every trial.

2. The Binomial Coefficient

C(n,k) counts the number of ways to arrange k successes among n trials — it comes from Pascal's triangle.

3. The PMF Formula

P(X=k) = C(n,k) p^k (1-p)^(n-k) — multiply the number of arrangements by the probability of each arrangement.

4. The CDF

The cumulative distribution function sums P(X≤k) — use it for "at most k" questions.

5. Normal Approximation

When np ≥ 5 and n(1-p) ≥ 5, use z = (k - np)/√(np(1-p)) with continuity correction (±0.5).

Expert Tips

Binomial vs Poisson

When n is large and p is small, Poisson with λ=np is simpler and accurate

Normal Approximation

When np ≥ 5 and n(1-p) ≥ 5, use normal with continuity correction (±0.5)

Check Independence

Sampling without replacement violates independence — use hypergeometric instead

One-Tailed vs Two-Tailed

For hypothesis tests, decide whether you need P(X ≥ k) or P(X ≤ k) before looking at data

Why Use This Calculator vs Other Tools?

FeatureThis CalculatorExcelRManual
PMF + CDF charts⚠️⚠️
Probability table⚠️
Multiple modes⚠️⚠️
Step-by-step
Normal approx hint⚠️
AI analysis

Frequently Asked Questions

What are the conditions for a binomial distribution (BINS)?

BINS: Binary outcome (success/failure), Independent trials, Number of trials fixed (n), Same probability (p) for each trial.

What is the difference between PMF and CDF?

PMF gives P(X=k) — the probability of exactly k successes. CDF gives P(X≤k) — the cumulative probability of at most k successes.

When can I approximate the binomial with a normal distribution?

When np ≥ 5 and n(1-p) ≥ 5. Use mean μ=np, σ=√(np(1-p)), and apply continuity correction (±0.5) when converting discrete to continuous.

What does "expected value" mean for a binomial distribution?

E(X) = np is the average number of successes you expect in n trials. For example, with n=100 and p=0.5, you expect 50 successes on average.

How is the binomial distribution related to Pascal's triangle?

Row n of Pascal's triangle contains C(n,0), C(n,1), ..., C(n,n) — the binomial coefficients used in the PMF formula.

Why is independence important for the binomial distribution?

If trials affect each other (e.g., sampling without replacement), the probability changes — use the hypergeometric distribution instead.

Binomial Distribution by the Numbers

C(n,k)
Pascal's Triangle
np ≥ 5
Normal Approx Rule
1713
Bernoulli Published
BINS
4 Conditions Required

Disclaimer: This calculator provides binomial probabilities for educational and professional reference. For critical applications (clinical trials, quality control, financial modeling), verify results against established statistical software. The binomial model assumes BINS conditions; if trials are not independent, consider the hypergeometric distribution.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators