Binomial Probability Calculator
P(X = k) = C(n,k) p^k (1−p)^(n−k). Probability of exactly k successes in n trials.
Result
Loading calculator…
—
How to use this calculator
- Enter n trials, k successes, p success probability.
- Read P(X = k), cumulative, and moments.
About this calculator
Binomial distribution models the count of successes in n independent trials, each with probability p. Mean = np; variance = np(1−p). For large n, approximated by normal N(np, np(1−p)). Examples: number of heads in 10 coin flips (n=10, p=0.5), number of defective items, number of yes-responses in a survey. Foundational for hypothesis testing of proportions.
Frequently asked
When is binomial valid?+
Fixed n trials, each with the same p, independent of each other. Two outcomes per trial.
Compare P(X = k) and P(X ≤ k)?+
P(X = k): exact. P(X ≤ k): cumulative (k or fewer). Use ≤ for one-tailed hypothesis tests.
Normal approximation?+
Valid when np ≥ 5 and n(1-p) ≥ 5. Use Z = (X − np) / √(np(1-p)).
Bernoulli?+
Single trial (n = 1). Bernoulli(p) is the building block of Binomial(n, p).
Hypergeometric?+
Sampling without replacement (e.g. card draws). Different formula. Reduces to binomial for large populations.
Related calculators
Combinations Calculator C(n, r)
C(n, r) = n! / (r!(n−r)!). Number of ways to choose r items from n where order doesn't matter.
Permutations Calculator P(n, r)
P(n, r) = n! / (n−r)!. Number of ways to arrange r items from n where order matters.
P-Value Calculator (z to p)
Convert a z-score to one-tail or two-tail p-value via the standard normal CDF.
Confidence Interval Calculator
CI = mean ± z × (σ/√n). 90 / 95 / 99 % standard intervals.
Normal Distribution Calculator (PDF + CDF)
Compute probability density and cumulative probability at x for given μ, σ.
Pearson Correlation Coefficient
r = Σ(xᵢ−x̄)(yᵢ−ȳ) / √(Σ(xᵢ−x̄)² Σ(yᵢ−ȳ)²). Linear correlation [−1, 1].