How to use this tool
- Enter population size, marked population items, sample size, marked items drawn.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
The method, explained
P(X=k)=C(K,k)C(N−K,n−k)/C(N,n). Log-gamma evaluates combinations without factorial overflow.
Using population size = 20, marked population items = 7, sample size = 5, marked items drawn = 2, the result is 0.387383901. Change these example inputs to match your task; use the method above to check each step.
Understanding your result
Simple random sampling without replacement. Main result is exact-count probability; impossible marked counts have probability zero. Tiny tails can underflow to zero.
What to keep in mind
Simple random sampling without replacement. Main result is exact-count probability; impossible marked counts have probability zero. Tiny tails can underflow to zero. A descriptive or probability calculation under the stated assumptions. Check the sample design and model before interpreting results.
Common questions
How do I use this hypergeometric probability calculator?
Find the chance of exactly k marked items when sampling without replacement. Enter population size, marked population items, sample size, marked items drawn. The starting example is editable; use values for the same system or project.
Which assumptions affect this result?
Simple random sampling without replacement. Main result is exact-count probability; impossible marked counts have probability zero. Tiny tails can underflow to zero.
Methodology maintained by ClarityKit. How these tools are built and checked.