Hypergeometric Distribution Calculator
Reviewed by CalcMulti Editorial Team·Last updated: ·← Statistics Hub
The hypergeometric distribution models the number of successes in n draws from a finite population of N items containing exactly K successes, without replacement. Unlike the binomial distribution, each draw changes the probability for subsequent draws.
Enter the population size N, number of success items K, and sample size n. The calculator computes PMF, CDF, mean, variance, and the full probability table for k = 0, 1, …, min(n, K).
Formula
P(X = k) = C(K, k) × C(N−K, n−k) / C(N, n)
- N
- total population size
- K
- number of success items in population
- n
- number of draws (sample size)
- k
- observed number of successes (0 ≤ k ≤ min(n, K))
- C(a, b)
- binomial coefficient "a choose b"
Parameters
Total population size
Success items in population
Sample / draw size
P(X = k) and P(X ≤ k)
Hypergeometric vs Binomial — Key Differences
| Feature | Hypergeometric | Binomial |
|---|---|---|
| Sampling | Without replacement | With replacement (or infinite population) |
| Trial independence | Trials are dependent | Trials are independent |
| Parameters | N, K, n | n, p |
| Mean | nK/N | np |
| Variance | nKM(N−n) / [N²(N−1)] | np(1−p) |
| Finite pop. correction | Yes: (N−n)/(N−1) | No (= 1) |
| Use when | n/N > 5% | n/N ≤ 5% (or replacement) |
Related Calculators
Disclaimer
For educational and exploratory use only. Results use exact combinatorial computation which may be slow for very large N.