Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Geometric Distribution CalculatorExponential Distribution CalculatorNegative Binomial Distribution CalculatorBinomial Probability Distribution CalculatorPoisson Distribution CalculatorZombie Survival Time Calculator
Home Page > Math > Statistics And Data Analysis

Hypergeometric Distribution Calculator

Calculate hypergeometric probabilities for sampling without replacement. Enter population size, success states, draws and observed successes to get exact and cumulative probabilities, PMF charts, worked steps and urn visualizations.

Free to useNo sign-up requiredInstant Results
Hypergeometric Distribution CalculatorTry it now — free ▼
📌 Try a scenario:
Total items in population
Successes in population (≤ N)
Items drawn without replacement
Successes in the sample
All values must be non-negative integers. K ≤ N, n ≤ N, and k must be feasible for the given parameters.

Embed Hypergeometric Distribution Calculator Widget

About Hypergeometric Distribution Calculator

The Hypergeometric Distribution Calculator computes exact probabilities for sampling without replacement scenarios. Enter your population size (N), the number of success items (K), the number of draws (n), and the desired number of successes (k) to instantly get point and cumulative probabilities with step-by-step combinatorial solutions and interactive visualizations.

What Is the Hypergeometric Distribution?

The hypergeometric distribution is a discrete probability distribution that describes the number of successes in a sequence of n draws from a finite population of size N containing exactly K success items, drawn without replacement. Unlike the binomial distribution — which assumes each trial is independent — the hypergeometric distribution accounts for the fact that each draw changes the composition of the remaining population.

The Hypergeometric PMF Formula

The probability mass function (PMF) is:

P(X = k) = C(K, k) × C(N − K, n − k) / C(N, n)

Where C(a, b) = a! / (b! × (a − b)!) is the binomial coefficient ("a choose b"). The numerator counts the favorable ways to choose k successes from K and (n − k) failures from (N − K). The denominator counts all possible ways to draw n items from N.

Parameters Explained

Mean, Variance, and Standard Deviation

For a hypergeometric random variable X:

The factor (N − n) / (N − 1) is called the finite population correction factor. It reduces the variance compared to the binomial, reflecting that sampling without replacement is less variable than sampling with replacement.

Hypergeometric vs. Binomial Distribution

Common Applications

How to Use This Calculator

  1. Enter the population size N (total items).
  2. Enter the number of success states K (must be ≤ N).
  3. Enter the number of draws n (must be ≤ N).
  4. Enter the observed successes k (must be feasible for the given parameters).
  5. Click "Calculate Probability" to see exact and cumulative probabilities, step-by-step solutions, a PMF bar chart, and an urn model visualization.

Frequently Asked Questions

What is the hypergeometric distribution used for?

The hypergeometric distribution is used whenever you sample from a finite population without replacement and want to know the probability of drawing a specific number of items with a particular characteristic. Common use cases include quality control inspection, card game probabilities, lottery odds, and ecological capture-recapture studies.

How is the hypergeometric distribution different from the binomial?

The key difference is replacement. The binomial assumes independent trials (with replacement), while the hypergeometric models dependent draws (without replacement). When the population is much larger than the sample, the two distributions converge.

What are the valid ranges for k?

The observed successes k must satisfy: max(0, n − (N − K)) ≤ k ≤ min(n, K). The lower bound ensures there are enough failure items for the remaining draws, and the upper bound ensures you don't exceed available successes or total draws.

Can I use this for Fisher's exact test?

Yes. Fisher's exact test computes probabilities using the hypergeometric distribution. If you have a 2×2 contingency table, you can use this calculator to compute the probability of observing the given cell counts under the null hypothesis of independence.

What is the finite population correction factor?

The factor (N − n) / (N − 1) in the variance formula accounts for sampling without replacement. It always reduces variance compared to the binomial. When n is small relative to N, this factor is close to 1 and the correction is negligible.

Reference this content, page, or tool as:

"Hypergeometric Distribution Calculator" at https://MiniWebtool.com/hypergeometric-distribution-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-04-13

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Statistics And Data Analysis:

Top & Updated:

Beta Distribution CalculatorNormal Distribution CalculatorWeibull Distribution CalculatorView all →
Home Page > Math > Statistics And Data Analysis > Hypergeometric Distribution Calculator