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
Dice Roll Probability CalculatorGeometric Distribution CalculatorNegative Binomial Distribution CalculatorExponential Distribution CalculatorBinomial Probability Distribution CalculatorPoisson Distribution Calculator
Home Page > Math > Statistics And Data Analysis

Hypergeometric Distribution Calculator

Sampling without replacement changes the chance of each subsequent draw. MiniWebtool’s Hypergeometric Distribution Calculator uses population size, success count, and sample size to calculate exact and cumulative probabilities, with a distribution chart and worked steps.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
Hypergeometric Distribution CalculatorTry it now — free ▼
Drawing without replacement: C(K, k) · C(N−K, n−k) / C(N, n)

Enter the population size, the number of success states, the number of draws and the observed successes below to get exact and cumulative probabilities with the steps.

📌 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

Chat with your favorite AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Statistics And Data Analysis:

Math SolverWhat would you like to solve?

Math Solver

Try
Browse expression examples

Choose an example to fill the input, edit its numbers, then Solve. log uses base 10; use ln for the natural logarithm.

Numbers & factors

Fractions & division

Powers, roots & logs

Algebra & equations

Calculus

Geometry & trigonometry

Top & Updated:

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