The Hypergeometric Distribution Calculator finds the chance of drawing a specified number of items with a chosen feature from a finite group without replacement. You supply the population size, population successes, sample size and desired sample successes. It reports exactly k, k or more, k or fewer and zero-success probabilities.
A success is simply the category you are counting, such as marked tokens or defective parts. It does not have to mean a desirable outcome. The model assumes every sample of the stated size is equally likely. Counts alone cannot verify that your real selection process is random.