The Binomial Distribution Calculator (Math) derives the PMF from first principles, computes the moment generating function, all statistical moments, and proves the Poisson and normal limit theorems. For probability theory and mathematical statistics coursework requiring full analytical derivations.
—
5
2.5
1.581139
—
5
—
5
2.5
1.581139
—
5
The binomial distribution is one of the most mathematically tractable discrete distributions, with closed-form expressions for all moments, a simple generating function, and well-characterized limit theorems. The binomial distribution calculator for mathematics courses provides both the numerical results and the mathematical machinery behind them.
The binomial PMF follows from first principles. Consider n independent Bernoulli trials, each with success probability p. A specific sequence of k successes and (n−k) failures has probability p^k × (1−p)^(n−k). The number of such sequences is the binomial coefficient C(n,k) = n! / (k!(n−k)!). Therefore:
P(X = k) = C(n,k) × p^k × (1−p)^(n−k), for k = 0, 1, ..., n
Verification that probabilities sum to 1: sum over all k of C(n,k) × p^k × (1−p)^(n−k) = (p + (1−p))^n = 1^n = 1, by the binomial theorem — the reason this distribution carries the name "binomial." Use this online calculator for any parameters. The applied binomial calculator covers practical applications.
The moment generating function (MGF) of Binomial(n, p):
M_X(t) = E[e^(tX)] = (1 − p + p × e^t)^n = (q + p × e^t)^n where q = 1−p
All moments are derived by differentiating the MGF:
The probability generating function G_X(z) = (q + pz)^n is equally useful for computing factorial moments.
Two fundamental limit theorems characterize the binomial's large-n behavior:
The normal distribution calculator and probability distribution calculators cover these limiting distributions.
If X ~ Binomial(n, p) and Y ~ Binomial(m, p) independently, then X + Y ~ Binomial(n+m, p). This reproductive property follows from the MGF: M_{X+Y}(t) = M_X(t) × M_Y(t) = (q+pe^t)^n × (q+pe^t)^m = (q+pe^t)^(n+m). The condition that both have the same p is essential — sums of binomials with different p values do not follow a binomial distribution. This convolution property makes the binomial distribution useful for combining independent identical experiments: if 5 batches of 100 items each have defect probability 0.03, the total defects across all batches follows Binomial(500, 0.03).
P(X = k) is the exact probability of getting exactly k successes. The mean tells you the expected number of successes. The standard deviation indicates how much the actual count typically deviates from the mean. C(n,k) shows how many different arrangements of k successes among n trials are possible.
Inputs
Results
C(10,5) = 252. P(X=5) = 252 × 0.5¹⁰ ≈ 24.6%. Even with a fair coin, getting exactly 5 heads has only about 1 in 4 chance.
Inputs
Results
With 20 items and 5% defect rate, P(exactly 2 defective) ≈ 18.9%. The expected number of defects is just 1.
How helpful was this calculator?
Be the first to rate!
Interpolation Calculator
Functional Programming & Advanced Math Calculators
Polynomial Equation Solver
Scientific & Engineering Programming Calculators
Matrix Calculator
Scientific & Engineering Programming Calculators
Complex Number Addition Calculator
Complex Number Calculators
Midpoint Calculator
Coordinate Geometry Calculators