Hypergeometric Distribution Calculator — drawing without replacement
A population of N items contains K “successes”. You draw n items without putting them back. How likely is it that exactly k of them are successes? Pick an example or enter your own numbers.
Full distribution of X
| k | P(X = k) | P(X ≤ k) | P(X ≥ k) |
|---|---|---|---|
| Fill in the fields above — the result is computed on this page. | |||
The P(X = k) column adds up to 100%. P(X ≤ k) grows and P(X ≥ k) falls from row to row; the highlighted row is your k.
How do I use this page?
- Fill in the fields in the form above — the result recomputes at once, with no page reload.
- Under the result you will find the interpretation scale, if the calculator has one: it says which range your value fell into.
- The formula we use is shown lower on this page — you can check the arithmetic yourself.
- To compute the same for another game or variant, change it in the select field — prices and pools update automatically.
What this page does not do: The population is finite and sampling is without replacement. The binomial distribution requires independent trials with constant probability; it is not always interchangeable with this model.
Further reading
Formula
P(X = k) = C(K, k) × C(N − K, n − k) ÷ C(N, n) · E(X) = n × K/N · Var(X) = n × K/N × (1 − K/N) × (N − n)/(N − 1) Theory — what is the hypergeometric distribution?
The hypergeometric distribution describes drawing without replacement from a population of N items, of which K are “successes”. Each item removed changes the composition of what remains, so the chance of success in the next draw depends on earlier outcomes. This is exactly how balls in a lottery drum, cards dealt from a deck, or a quality-control sample behave. It differs from the binomial distribution, which assumes sampling with replacement and a constant success probability on every trial.
Read more
Frequently asked questions
What is the difference between the hypergeometric and the binomial distribution?
Why is P(X ≥ k) not equal to 1 − P(X ≤ k)?
See also
Ancient Egyptian units converter
Convert length, area, volume and mass both ways. A 0.525 m cubit, 4.8 L hekat and 91 g deben model; khar varia
Arithmetic Mean
Enter numbers separated by commas and calculate the arithmetic mean online. The calculator will give you the s
Basic calculator
Add, subtract, multiply and divide with parentheses and percentages.