Lottery Odds Calculator

Odds of matching all the numbers in a pick-k-of-n lottery, with an optional bonus ball, and the chance of matching exactly j numbers. Maths, not advice.

The numbers to choose from, such as 49. Up to 200.
How many numbers are drawn, which is also how many you pick. Order does not matter.
For Powerball-style games where one extra ball is drawn from its own separate pool (for example 26) and you pick one bonus number. Leave 0 if there is no separate bonus ball. A bonus drawn from the main pool is not covered.
The number of main-pool numbers matched, from 0 up to k.

Results

Jackpot odds (all 6 numbers)
1 in 13,983,816
Possible main-number combinations, C(49, 6)
13,983,816
Jackpot probability
7.1511 × 10⁻⁸
P(exactly 3 of 6 main numbers)
0.01765
Exactly 3 main numbers, as "1 in N"
1 in 56.66

How it’s calculated

In a "pick k of n" lottery the order of the numbers does not matter, so the number of different tickets is the number of combinations C(n, k). Only one of them wins the jackpot, so the jackpot odds are 1 in C(n, k). If a separate bonus ball must also match (Powerball-style), multiply by the size of the bonus pool.

C(n, k) = n! ÷ (k! · (n − k)!) jackpot odds = 1 in C(n, k) × (bonus pool, or 1 if none) P(exactly j matches) = C(k, j) · C(n − k, k − j) ÷ C(n, k) with a bonus pool of m balls: P(j matches and the bonus ball) = P(exactly j matches) × 1 ÷ m P(j matches, not the bonus ball) = P(exactly j matches) × (m − 1) ÷ m

The match formula is the hypergeometric distribution: of the k drawn numbers you hold j, and of the n − k undrawn numbers you hold the other k − j.

Bonus ball model. The bonus ball here is drawn from its own separate pool of m numbers (1 to m), independently of the main draw, and you pick one bonus number, as in Powerball or Mega Millions. The game is then two independent lotteries, so the probabilities multiply. Some games (such as the UK Lotto bonus ball) instead draw the bonus from the same pool as the main numbers; that needs a different formula, so this calculator does not cover it.

Worked example: a 6-from-49 lottery. C(49, 6) = 13,983,816, so the jackpot odds are 1 in 13,983,816. To match exactly 3 numbers: C(6,3) × C(43,3) ÷ 13,983,816 = 20 × 12,341 ÷ 13,983,816 = 0.017650, about 1 in 56.7. For a 5-from-69 game with a 26-ball bonus pool, C(69, 5) = 11,238,513 and times 26 gives 1 in 292,201,338. Matching all 5 main numbers but not the bonus ball is 25 ÷ 292,201,338, about 1 in 11,688,054.

This page explains the counting. It is not a way to improve your chances: every combination is equally likely, buying more tickets raises the odds only in proportion, and games are priced so the average player loses money. Please play responsibly and only with money you can afford to lose.

Frequently asked questions

Are some number combinations luckier than others?

No. Every combination has exactly the same probability of being drawn. Patterns such as 1-2-3-4-5-6 are just as likely as any other set, although more people may choose them, which affects how a prize is shared.

Do these odds apply to my lottery?

Only if its rules match the model here: k numbers drawn without replacement from one pool, plus an optional bonus ball from a separate pool. Games that draw the bonus from the same pool, or have extra rules, need different formulas. Check your lottery's official odds.

Does buying two tickets double my odds?

Two different tickets give double the chance of the jackpot, from a very small number to a still very small number. Buying many tickets does not change the odds of each one.

What does 1 in 13,983,816 mean in practice?

If you could play the game many millions of times, you would expect to hit the jackpot about once per 13,983,816 plays on average. It does not mean that exactly that many plays will pass before a win.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator