Checking a minimum possible success count without replacement
When you draw without replacement from a small population, the number of marked items in the draw cannot be lower than the draw size minus the number of unmarked items available.
Why a finite pool sets a floor
Sampling without replacement removes items from the pool, so the pool can run out of one kind. If a population holds only a few unmarked items and the draw is larger than that, the draw must include marked items to fill the remaining places. The hypergeometric calculator models this. It takes the population size N, the number of marked items K, the draw size n and the count k of marked items in the draw. Some combinations of those inputs are impossible, and the calculator rejects them. This guide uses a small example to show where the floor comes from.
Five tokens, four marked
Consider a population of N = 5 tokens, of which K = 4 are marked and one is unmarked. Draw n = 3 tokens without replacement. The unmarked token can fill at most one of the three places. At least two places must therefore go to marked tokens, so the draw contains 2, 3 or more marked tokens, and 2 is the smallest possible. A count of 1 marked token would need two unmarked tokens, and only one exists. This reasoning needs no formula: count the available unmarked items and subtract from the draw size.
The rejected request
Entering N = 5, K = 4, n = 3 and k = 1 asks for the probability of exactly one marked token. The calculator rejects it with a message that the count is outside the possible draw range. That is the correct response. The requested draw would contain two unmarked tokens, but the population has one. The rejection is informative rather than a failure, since it tells you the input combination describes an impossible event under this model. It does not return a probability of zero, which would be a different statement about an event that can occur in principle but happens never. The range formula gives a simple rule here: any k inside the possible range has positive probability in this model, and any k outside it is rejected before a probability is computed. A request for three marked items from a population with only two marked items is rejected for the same reason, since the draw cannot hold more marked items than exist. Checking the range first saves a failed run and shows why.
The feasible lower boundary
With k = 2 the draw includes the single unmarked token and two marked ones. The number of such draws is C(4, 2) × C(1, 1) = 6, out of C(5, 3) = 10 equally likely draws. The probability is 6 / 10 = 0.6. For k = 3 the draw contains three marked tokens and no unmarked one, which can happen in C(4, 3) × C(1, 0) = 4 ways, giving 0.4. The two feasible outcomes, 0.6 and 0.4, add to 1, confirming that the possible counts are exactly 2 and 3 and that nothing else can occur.
The general range of possible counts
The smallest possible number of marked items in the draw is the larger of 0 and n − (N − K), the draw size minus the number of unmarked items. The largest is the smaller of n and K. For N = 5, K = 4 and n = 3, the range is from 3 − 1 = 2 to 3. Any k outside this range has no possible draws, and the calculator reports that it is outside the possible draw range. Checking the range before entering k is a quick way to see whether a request makes sense, and the same range formula can be used to bound results in other finite-population problems.
A larger example with a floor
Take N = 10, K = 8 and n = 5. Only two items are unmarked, so the draw includes at least 5 − 2 = 3 marked items. The possible counts are 3, 4 and 5. Their probabilities are C(8, 3) × C(2, 2) / C(10, 5) = 56 / 252 ≈ 0.2222, C(8, 4) × C(2, 1) / 252 = 140 / 252 ≈ 0.5556 and C(8, 5) × C(2, 0) / 252 = 56 / 252 ≈ 0.2222, which sum to 1. A request for k = 2 would need three unmarked items, so it is outside the range and would be rejected. This shows the floor growing with the draw size. Drawing 6 instead of 5 from the same population would raise the floor to 4, and drawing all 10 would force all 8 marked items into the draw. Each extra item drawn removes one possibility from the low end.
The ceiling from the marked items
The same logic works at the top. If only 3 items are marked, a draw cannot contain more than 3 of them, whatever its size. With N = 10, K = 3 and n = 5 the largest possible count is 3 and the smallest is max(0, 5 − 7) = 0. A request for k = 4 would need four marked items, so it is rejected. The upper limit is the smaller of the draw size and the number of marked items. Both limits come from the same fact: a draw without replacement cannot use more items of a kind than the population holds.
What a rejection tells you about the source
If a rejection appears in a real worksheet, it points to an inconsistency in the supplied numbers: the population count, the marked count, the draw size or the target count. Check each against its source. A population that was reduced after an earlier draw, a marked count that includes items already drawn, or a draw size that exceeds the population can all produce impossible combinations. Do not adjust a number just to make the calculator run. Find out which input is wrong, because the model should describe the situation and not the other way round.
Scope of the finite-population check
The example assumes a fixed population, selection without replacement, and equal chances for every subset. It describes abstract tokens, not a survey, inspection plan or game. A rejected input identifies an impossible combination under that model, and nothing more. Whether a real process follows the model is a separate question. The feasibility range is also worth checking when the numbers are large: with N = 1000, K = 990 and a draw of n = 20, at least 10 marked items are forced, so a request for fewer than 10 would be rejected. The range logic scales to any size, even when a hand enumeration of subsets would not be practical.
Reproduce the checks
Impossible one-marked request
Open the Hypergeometric Calculator and enter:
- Population size
5- Successes in population
4- Number of trials
3- Successes / event count
1
Expected rejection:
possible draw rangeThe requested two unmarked items exceed the available one.
Feasible lower boundary
Open the Hypergeometric Calculator and enter:
- Population size
5- Successes in population
4- Number of trials
3- Successes / event count
2
Expected output:
Pmf
0.6This draw includes the only unmarked token.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- Primary definition and convention reference ↗ · 2026-10-08