Probability · Calculator · 5 min

Probability Without Replacement Calculator

Find the odds of drawing exactly, at least, or at most a given number of matches. Compare what happens when you put each item back.

09/ 10
Make it your own

Change a value. See what changes.

What happensLive calculation

The idea to keep

When you keep an item out, the mix of items left in the pool changes. The effect is easiest to see when you draw a large share of the pool.

01 / The explanation

What is going on?

The hypergeometric distribution counts matches when you draw randomly without replacement. Of the N items in the pool, K match. A sample of n items with exactly k matches contains k of those K items and n − k of the others. Divide the number of ways to make that sample by the number of ways to draw any sample of size n. C(a, b) means the number of ways to choose b items from a without regard to order.

P(X = k) = C(K, k) × C(N − K, n − k) / C(N, n)
02 / Step by step

Work through it

  1. Enter the size of the starting pool and how many items count as a match.
  2. Choose how many items to draw and how many matches you are interested in.
  3. Compare the exact and cumulative probabilities. “At least” and “at most” both include the target number.
03 / A worked example

Put numbers to the idea

A bag holds 4 red marbles and 6 blue marbles. You draw 5 and want at least one red. Without replacement, 6 of the 252 possible five-marble samples contain only blue, so the chance of at least one red is 1 − 6/252 ≈ 97.6190%. If you return each marble and mix the bag before the next draw, the chance is 1 − (6/10)⁵ = 92.2240%.

04 / Common questions

A little more clarity

When should I use the hypergeometric distribution?

Use it to count matches in a fixed-size random sample drawn without replacement from a pool with a known number of matching items. Cards dealt from one deck and samples drawn from a small batch are common examples.

What is the difference between hypergeometric and binomial probability?

In the hypergeometric model, removing an item changes the remaining pool. In the binomial model, each draw is independent and the chance of a match stays the same.

How do I find the chance of at least one match?

Set the target matches to 1 and read the “At least 1 match” row. The calculator adds the probabilities for one or more matches, which equals one minus the chance of zero matches.