Matching numbers probability calculator

Compute the exact probability of matching K of your lottery picks against the drawn numbers, using the hypergeometric distribution. Includes the full match distribution from 0 up to min(picks, drawn).

Matching numbers inputs

P(match exactly 3)
1.7650%
As fraction
1 in 57
Probability (decimal)
0.017650
Total combinations C(N,M)
13,983,816
Favourable cases
246,820
Match exactlyProbability1 in …

The hypergeometric formula

P(match = K) = C(D, K) × C(N − D, M − K) / C(N, M)

Where:

  • N — total pool size (e.g., 49 for a 6/49 lottery)
  • D — numbers drawn by the lottery (often = M)
  • M — numbers you pick on your ticket
  • K — exactly how many of your picks match the draw
  • C(n, k) — binomial coefficient ("n choose k")

Intuition: the numerator counts the number of ways to choose K winning numbers from the D drawn, then choose the remaining M−K losers from the N−D non-drawn. The denominator counts every possible ticket. Their ratio is the probability.

Worked examples

ScenarioInputsP(K matches)1 in …
UK Lotto 6 of 49 — match 6N=49, D=6, M=6, K=60.0000072%13,983,816
UK Lotto 6 of 49 — match 3N=49, D=6, M=6, K=31.77%57
Powerball main 5 of 69 — match 5N=69, D=5, M=5, K=50.0000088%11,238,513
Powerball main 5 of 69 — match 3N=69, D=5, M=5, K=30.180%556

Note: full Powerball jackpot odds also include the bonus ball. Use the jackpot probability calculator for game-level odds with bonus balls.

FAQ

Why "exactly" instead of "at least"?

"Exactly K" gives you the probability mass at one outcome. "At least K" sums all outcomes from K up to min(D, M). The full distribution table on this page gives you both — read across to "match exactly", or sum from K downward for "at least K".

Are these odds the same for any draw?

Yes — every lottery draw is independent, and the probability of any particular match count is identical for every draw. There's no "due number" or "hot number" advantage in a fair lottery; that's the gambler's fallacy.

Related calculators