Binomial Distribution Probability Calculator (Bar Chart)
Calculate exact P(X = k), cumulative P(X ≤ k), P(X ≥ k), expected value, and standard deviation with a live bar chart.
Input Parameters
ℹ️ Format: Trials n (1–100), successes k (0–n), probability p as decimal 0–1 (e.g. 50% → 0.5)
Dimensions
💡 Tip: You can also paste (12, 13, 14) directly into any box.
Cumulative P(X ≤ k)
82.81%
At Least P(X ≥ k)
37.7%
Expected Value (np)
5
Std Dev (σ)
1.5811
Formula & Step-by-Step Calculation
P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ
-
1
Compute binomial coefficient C(n, k)
C(10, 6) = 210 -
2
Apply binomial probability formula
P(X = 6) = C(10,6) × 0.5^6 × 0.5^4 = 0.20508 -
3
Compute mean & standard deviation
E[X] = np = 5, σ = √(np(1−p)) = 1.5811
Worked Example
Sample inputs and verified result: Trials (n) = 10, Successes (k) = 6, Probability (p) = 0.5
Exact P(X = k): 20.51% (P = 0.20508)
Frequently Asked Questions
When does a binomial distribution apply?
When you repeat n independent yes/no trials, each with the same probability p of success.