Hypergeometric Distribution Calculator
Enter N, K, n, k.

Sampling Without Replacement

Unlike the binomial distribution, where trials are independent, the hypergeometric distribution describes scenarios where objects are drawn without replacement. Suppose an urn contains N items of which K are labeled as successes. Drawing n items without replacement leads to dependent outcomes because removing one item affects the probabilities of future draws.

Calculating the PMF

The probability of obtaining exactly k successes in your sample equals

Pk=C(K,k) C(N-K,n-k)C(N,n)

This expression counts the number of favorable combinations over the total number of ways to draw n items from N.

Cumulative Probability

The CDF sums the probabilities for all values up to k. It tells you how likely it is to see at most k successes in your sample. This is useful for quality inspection, card games, and any situation involving finite populations.

Related Calculators

Boltzmann Factor Calculator - Statistical Weight of Energy States

Compute the Boltzmann factor e^(-E/kT) to evaluate the relative probability of a system occupying a higher energy state at a given temperature.

Boltzmann factor calculator statistical mechanics energy probability

Kruskal-Wallis Test Calculator - Compare Multiple Groups

Perform the nonparametric Kruskal-Wallis test on three or more samples and understand the ranking method behind it.

Kruskal-Wallis calculator nonparametric ANOVA

Correlation Coefficient Calculator - Measure Linear Relationships

Compute the Pearson correlation between two sets of numbers to see how strongly they move together.

correlation coefficient calculator Pearson correlation statistics