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.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by upgrading for ad-free browsing and more daily uses, or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade for ad-free browsing and higher daily limits
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
- N (Population Size) — Total number of items in the population.
- K (Success States) — Number of items classified as "success" in the population.
- n (Number of Draws) — How many items are drawn without replacement.
- k (Observed Successes) — The specific number of successes you want to find the probability for.
Mean, Variance, and Standard Deviation
For a hypergeometric random variable X:
- Mean: μ = nK / N
- Variance: σ² = n × (K/N) × ((N−K)/N) × ((N−n)/(N−1))
- Standard Deviation: σ = √σ²
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
- Hypergeometric: Sampling without replacement from a finite population. Each draw changes the probability of the next draw.
- Binomial: Sampling with replacement (or from an infinite population). Each trial has the same probability.
- When the population is very large relative to the sample (N ≫ n), the hypergeometric distribution approximates the binomial.
Common Applications
- Quality Control — What is the probability of finding exactly 3 defective items when inspecting 30 units from a batch of 500 containing 20 defectives?
- Card Games — What is the probability of being dealt exactly 2 hearts in a 5-card poker hand from a standard 52-card deck?
- Lottery Analysis — What are the odds of matching a certain number of drawn numbers?
- Ecology (Capture-Recapture) — Estimating wildlife populations by tagging and recapturing animals.
- Statistical Testing — Fisher's exact test uses the hypergeometric distribution to test independence in 2×2 contingency tables.
How to Use This Calculator
- Enter the population size N (total items).
- Enter the number of success states K (must be ≤ N).
- Enter the number of draws n (must be ≤ N).
- Enter the observed successes k (must be feasible for the given parameters).
- 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:
- A/B Test Sample Size Calculator New
- A/B Test Significance Calculator New
- ANOVA Calculator
- Arithmetic Mean Calculator
- Average Calculator
- Average Deviation Calculator Popular
- 📊 Bar Graph Maker Popular
- Bayes' Theorem Calculator New
- Beta Distribution Calculator New
- Box and Whisker Plot Maker
- Chi-Square Test Calculator
- Coefficient of Variation Calculator
- Cohen's d Calculator
- Compound Growth Calculator Popular
- Confidence Interval Calculator
- Confidence Interval for Proportion Calculator
- Contingency Table Calculator New
- Conversion Rate Calculator New
- Correlation Coefficient Calculator
- Effect Size Calculator New
- Exponential Distribution Calculator New
- F-Test / F-Distribution Calculator New
- Fisher's Exact Test Calculator New
- Five Number Summary Calculator New
- Geometric Distribution Calculator New
- Geometric Mean Calculator
- Gini Coefficient Calculator
- Harmonic Mean Calculator
- Histogram Maker
- Hypergeometric Distribution Calculator New
- Interquartile Range Calculator
- Kruskal-Wallis Test Calculator
- 📈 Line Graph Maker New
- Linear Regression Calculator
- Logarithmic Growth Calculator
- Mann-Whitney U Test Calculator
- Mean Absolute Deviation (MAD) Calculator
- Mean Calculator
- Mean Median Mode Calculator
- Median Absolute Deviation Calculator
- Median Calculator
- Midrange Calculator
- Mode Calculator
- Normal Distribution Calculator New
- Odds Ratio Calculator New
- Outlier Calculator Popular
- p-Value Calculator New
- Pareto Chart Generator New
- Percentile Calculator Popular
- 🥧 Pie Chart Maker New
- Population Standard Deviation Calculator
- Quartile Calculator
- Quartile Deviation Calculator
- Range Calculator
- RSD Calculator - Relative Standard Deviation Popular
- Root Mean Square Calculator
- Sample Mean Calculator
- Sample Size Calculator
- Sample Standard Deviation Calculator
- Scatter Plot Maker
- Six Sigma Process Capability Calculator New
- Spearman Rank Correlation Calculator New
- Standard Deviation Calculator
- Standard Error Calculator Popular
- Statistics Calculator
- t-Test Calculator
- Variance Calculator
- Weibull Distribution Calculator New
- Z-Score Calculator