Hypergeometric Distribution Calculator
Calculate hypergeometric probabilities for random sampling without replacement. Enter the population size, number of successes in the population, sample size, and observed successes to find exact, cumulative, and tail probabilities instantly.
Enter Distribution Values
All inputs should be whole numbers.
What Is the Hypergeometric Distribution?
The hypergeometric distribution is a discrete probability distribution used when a fixed number of items is selected from a finite population without replacement. The population contains a known number of items considered successes and the remaining items are failures.
The distribution calculates the probability of obtaining a particular number of successes in the sample. Because sampling is without replacement, the probability of success can change after each item is selected.
What Does “Without Replacement” Mean?
Without replacement means that once an item is selected, it is not returned to the population before the next selection. This creates dependence between successive selections and is one of the main reasons the hypergeometric distribution differs from the binomial distribution.
How to Use the Hypergeometric Calculator
Enter Population Data
Enter the total population size N and the number of successes K contained in that population.
Enter Sample Information
Provide the number of items sampled n and the number of successes x you want to evaluate.
Calculate Probabilities
The calculator returns the exact probability plus left-tail and right-tail cumulative probabilities.
Hypergeometric Distribution Formula
The probability of observing exactly x successes is calculated using: P(X=x) = [C(K,x) × C(N−K,n−x)] / C(N,n)
In this formula, N is the total population size, K is the total number of successes in the population, n is the sample size, and x is the number of successes observed in the sample.
Possible Values of X
Not every integer from zero to n is always possible. The smallest possible value is max(0, n − (N − K)), while the largest possible value is min(n, K).
Mean and Variance of a Hypergeometric Distribution
The expected number of successes is: Mean = n(K/N) . This tells you the average number of successes expected across many samples of the same size drawn under identical conditions.
The variance is: n(K/N)(1−K/N)((N−n)/(N−1)) . The final factor is known as the finite population correction and reflects the fact that items are sampled without replacement.
Hypergeometric vs Binomial Distribution
| Feature | Hypergeometric | Binomial |
|---|---|---|
| Replacement | Without replacement | Independent trials / constant probability |
| Population | Finite population | Often treated as effectively unlimited |
| Success Probability | May change after each draw | Remains constant |
| Typical Application | Sampling objects from a fixed collection | Repeated independent success/failure trials |