Toolstia / Hypergeometric distribution calculator
Hypergeometric distribution calculator
The hypergeometric distribution gives the chance of getting k successes in n draws from a population without replacement. Enter the population, the number of successes in it, the sample size and k.
The hypergeometric distribution gives the chance of drawing k successes in n draws without replacement from a population of N items that holds K successes. Drawing cards from a deck and quality sampling from a batch are typical cases.
How it works
- Enter population size N and successes K.
- Enter the sample size n and the k you care about.
- Read the exact and cumulative probabilities and the table.
Typical cases
Drawing cards from a deck, picking defective items from a batch, or lottery style draws.
Not the binomial
The binomial distribution assumes each draw is independent. Here every draw changes what is left, so the chance changes.
Cumulative values
The tool shows at most, fewer than, at least and more than k, so you can answer most questions directly.
Mean and spread
The mean is n times K over N, and the variance includes a correction for sampling without replacement.
Questions
Is my data uploaded?
Everything happens in your browser, and nothing you enter is sent anywhere.
What is the chance of at least one success?
Enter k as 1 and read the value for at least k.
What are the limits?
K and n cannot be larger than N, and all values must be whole numbers.