Sports, Games, Gambling Odds & Hobbies Poker, Casino & Lottery Probability Hypergeometric distribution (combinatorial exact odds)

Lottery Odds Calculator (Combinations & Prize Tiers)

Enter the size of the number pool, how many balls are drawn and whether the game has a separate bonus or power ball, and this calculator returns the exact number of possible tickets, the jackpot odds, and the odds of every match tier from the top prize down. It also works out the overall chance of winning any prize and scales both figures to the number of tickets you buy. The defaults describe US Powerball — five numbers from 69 plus one from 26 — whose 292,201,338 combinations are reproduced exactly by the formula below.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Main number poolThe highest main number on the play slip, for example 69 in Powerball.69
Main numbers drawnHow many main numbers you must pick and the draw produces.5
Bonus ball poolSize of the separate bonus pool; enter 0 for games with no bonus ball.26
Main numbers needed for the smallest prizeThe lowest main-number match that pays anything, ignoring the bonus ball.3
Bonus ball alone wins a prizeTick this for games like Powerball where matching only the power ball pays.Yes
Tickets purchasedDistinct lines bought for a single draw; used to scale your chance.1

It returns

  • Jackpot odds (1 in N) — One ticket in this many wins the top prize.
  • Total possible tickets
  • Odds of any prize (1 in N)
  • Jackpot chance with your tickets
  • Chance of any prize with your tickets

The formula

P(j)=(kj)(mkkj)(mk)
(mk)=m!k!(mk)!

In plain text: Total tickets = C(m, k) × B ; P(match exactly j) = C(k, j)·C(m − k, k − j) / C(m, k)

  • mSize of the main number pool (count)
  • kMain numbers drawn and picked (count)
  • jMain numbers you match (count)
  • BSize of the separate bonus pool, or 1 if there is none (count)
  • C(n, r)Binomial coefficient, n! / (r!(n − r)!) (count)

This is the hypergeometric distribution: sampling without replacement from a pool split into the k numbers that were drawn and the m − k that were not.

Updated Category Poker, Casino & Lottery Probability Verified against published test cases Reading time 10 min

Why lottery odds are a counting problem, not a guess

Lottery odds are exact. Unlike a sports market or a card game against opponents, a draw has a finite, enumerable set of outcomes, every one equally likely, and the odds follow from counting them. The only skill involved is counting correctly.

The count you need is the binomial coefficient, written C(m, k) and read as "m choose k". It is the number of ways to select k items from m when order does not matter. Order does not matter in a lottery because the balls are sorted before they are compared with your ticket, which is why the answer is C(69, 5) = 11,238,513 rather than the far larger 69 × 68 × 67 × 66 × 65 = 1,348,621,560 that you would get if the sequence counted. Dividing that product by 5! = 120 removes the 120 orderings of the same five numbers.

A separate bonus pool multiplies rather than adds, because the bonus ball is drawn from its own machine and is independent of the main five. Powerball's 26 red balls turn 11,238,513 main combinations into 11,238,513 × 26 = 292,201,338 distinct tickets, which is the published jackpot figure.

Lower tiers use the same counting logic in a slightly richer form. To match exactly three of five you must choose which three of your five picks are the winners, C(5, 3) = 10 ways, and then choose your remaining two numbers from the 64 that were not drawn, C(64, 2) = 2,016 ways. That is 20,160 tickets out of 11,238,513, and the pattern generalises to the formula at the top of this page.

The formula, term by term

The probability of matching exactly j of the k drawn numbers is C(k, j) · C(m − k, k − j) / C(m, k). Each factor answers a separate question.

C(k, j) counts the ways to pick which of the drawn numbers you got right. C(m − k, k − j) counts the ways to fill your remaining picks from the losing numbers — there are m − k of those, and you need k − j of them. Their product is the number of tickets with exactly that result. C(m, k) is every possible ticket, so the ratio is the probability. This is the hypergeometric distribution, the standard model for sampling without replacement.

The bonus ball then splits every tier in two. Given any main-number result, the bonus matches with probability 1/B and misses with probability (B − 1)/B, so the tier probability multiplies by whichever applies. Overall prize odds combine both: the chance of clearing the smallest main-number tier, plus the chance of missing it but catching the bonus ball, in games where the bonus alone pays.

Two things this arithmetic cannot tell you. It says nothing about which numbers to pick — every combination has identical probability, and picking 1-2-3-4-5-6 is exactly as likely as any other line. And it says nothing about the value of a ticket, because the payout depends on the jackpot size and on how many other players share it. Popular patterns such as calendar dates get shared more often, so avoiding them raises your expected payout without changing your odds at all.

Worked example: US Powerball, from first principles

Powerball asks for five numbers from 1 to 69 and one Powerball from 1 to 26.

  1. Count the main combinations. C(69, 5) = (69 × 68 × 67 × 66 × 65) / (5 × 4 × 3 × 2 × 1) = 1,348,621,560 / 120 = 11,238,513.
  2. Add the Powerball. Multiply by 26: 11,238,513 × 26 = 292,201,338 distinct tickets. That is the jackpot figure the game publishes.
  3. Match five without the Powerball. Exactly one main combination is right, and 25 of the 26 Powerballs are wrong: 1 × 25 = 25 tickets out of 292,201,338, so 1 in 11,688,053.5.
  4. Match four plus the Powerball. C(5, 4) × C(64, 1) = 5 × 64 = 320 main combinations, one Powerball: 320 tickets, giving 292,201,338 / 320 = 1 in 913,129.2.
  5. Match three, no Powerball. C(5, 3) × C(64, 2) = 10 × 2,016 = 20,160 main combinations × 25 wrong Powerballs = 504,000 tickets, so 292,201,338 / 504,000 = 1 in 579.8.
  6. Any prize. The chance of three or more main numbers is (20,160 + 320 + 1) / 11,238,513 = 20,481 / 11,238,513 = 0.0018224. Add the Powerball-only route: 0.0018224 + (1 − 0.0018224) × (1/26) = 0.0018224 + 0.0383914 = 0.0402139, which is 1 in 24.87.

Every one of those figures matches the odds table the game publishes, which is the point: the operator is not computing anything you cannot compute yourself in six lines.

What the odds actually mean for a ticket buyer

Odds of 1 in 292,201,338 mean that buying one line every draw, twice a week, gives you an expected wait of about 2.8 million years for a jackpot. Buying more lines scales linearly and does not help much: 1,000 distinct lines take the jackpot chance from 0.00000034% to 0.00034%, still roughly one chance in 292,000.

The overall prize odds of 1 in 24.87 sound far friendlier, and that number is why players feel the game pays out. It is dominated by the smallest tier: matching only the Powerball, which happens once in 26 tickets and typically returns a few dollars on a two-dollar ticket. Matching three or more main numbers — every tier that can pay more than the minimum — happens 20,481 times in 11,238,513, which is once in about 549 tickets.

Expected value is the honest test, and it needs the prize schedule as well as the odds. Multiply each tier's probability by its prize, add them, subtract the ticket price, and adjust for the chance the jackpot is shared and for tax. Advertised jackpots are usually annuity totals rather than the lump sum, which is a substantially smaller number, so a headline that appears to exceed the odds rarely does after those two adjustments. If you want the general machinery for probability across repeated independent trials, the drop rate probability calculator handles the same 1 − (1 − p)n question for any rare event.

Jackpot odds for major lottery formats

Every figure is C(m, k) multiplied by the bonus pool, computed from the published game format. Enter the format in the calculator above to reproduce any row.
GameFormatMain combinationsBonus multiplierJackpot odds (1 in)
US Powerball5 from 69 + 1 from 2611,238,51326292,201,338
US Mega Millions5 from 70 + 1 from 2512,103,01425302,575,350
EuroMillions5 from 50 + 2 from 122,118,76066139,838,160
UK Lotto6 from 5945,057,474145,057,474
Classic 6/496 from 4913,983,816113,983,816
Pick 5 from 425 from 42850,6681850,668

EuroMillions draws two Lucky Stars from twelve, so its bonus multiplier is C(12, 2) = 66. To reproduce that jackpot figure here, enter a bonus pool of 66; the lower tiers of a two-star game do not map onto this calculator's single-bonus structure.

Misconceptions the arithmetic settles

  • "Due" numbers do not exist. Each draw is independent. A number that has not appeared in 200 draws has exactly the same chance tonight as any other.
  • Consecutive numbers are not less likely. 1-2-3-4-5-6 has probability 1/13,983,816 in a 6/49 game, identical to every other line. It feels unlikely because you are comparing one specific pattern against a large class of scattered ones.
  • Buying every combination is not a strategy. For Powerball it costs hundreds of millions of dollars, must be physically printed before the draw closes, and still risks splitting the jackpot with another winner.
  • The overall odds are not the odds of a meaningful win. Powerball's 1 in 24.87 is dominated by a minimum-tier prize that roughly returns the ticket price.
  • Quick picks are not luckier or unluckier. They are drawn from the same uniform distribution. Their only real advantage is avoiding popular hand-picked patterns, which reduces the chance of sharing a jackpot.
  • Advertised jackpots are usually annuities. The lump-sum cash value is substantially lower, and tax applies on top, so expected-value comparisons against the odds need the cash figure.

Where these odds sit among other games of chance

Lotteries are the extreme end of a spectrum that runs through every wagering calculator on this site. A lottery offers an enormous payout at a probability of roughly one in a hundred million and a house edge typically between 30% and 50% of stake, depending on the jurisdiction's prize allocation. A sportsbook parlay offers a large payout at odds of maybe one in a hundred with a much smaller margin, which the parlay payout calculator quantifies leg by leg. A poker decision is priced by the pot rather than by an operator, which the poker pot odds calculator handles.

The staking implication is uniform across all of them. Because a lottery ticket carries a negative edge by design, the growth-optimal stake computed by the Kelly criterion calculator is zero, and no ticket count changes that. What a lottery genuinely sells is a payoff shape no other product offers: a bounded, trivial loss against an unbounded, life-changing gain. That is a legitimate thing to buy knowingly, and the purpose of these numbers is to make sure it is bought knowingly.

If you are studying the underlying mathematics rather than the game, the same hypergeometric machinery drives card-drawing probabilities in trading card games, quality-control sampling, and the capture-recapture estimators used in ecology. The counting is identical; only the labels change.

Frequently asked questions

What are the odds of winning Powerball?

1 in 292,201,338 for the jackpot, and about 1 in 24.87 for any prize. The jackpot figure is C(69, 5) × 26 = 11,238,513 × 26. The overall figure is dominated by the Powerball-only tier, which pays a small fixed prize and hits once in 26 tickets, so it does not describe your chance of a substantial win.

Does buying more tickets meaningfully improve my chances?

It improves them exactly proportionally, which is not much at these scales. Ten distinct lines make the jackpot ten times more likely, taking Powerball from 1 in 292 million to 1 in 29.2 million. To reach a 1% jackpot chance you would need roughly 2.9 million distinct lines for a single draw. Buying more tickets does raise your chance of a small prize appreciably, because the low tiers are far more common.

Are some number combinations better than others?

No combination is more likely, but some are less profitable. Every line has identical probability because the draw is uniform over all combinations. What varies is how many other players chose the same line: dates concentrate picks in 1-31, and patterns drawn on the play slip are common, so those lines split jackpots more often. Choosing numbers above 31, or using a quick pick, raises your expected payout without touching your odds.

How do I calculate the odds of matching 4 numbers?

Use C(k, 4) × C(m − k, k − 4) / C(m, k). In a 6/49 game that is C(6, 4) × C(43, 2) / C(49, 6) = 15 × 903 / 13,983,816 = 13,545 / 13,983,816, which is 1 in 1,032.4. The calculator's tier table produces this row for any format you enter, split by whether the bonus ball also matched.

Why does the bonus pool multiply instead of add?

Because the bonus ball comes from a separate machine and is independent of the main numbers. Independent choices multiply: for each of the 11,238,513 main combinations in Powerball there are 26 possible red balls, so there are 26 times as many complete tickets. If the bonus were drawn from the same pool as the main numbers, it would not be independent and this multiplication would be wrong.

Can this calculator handle games with two bonus balls?

For the jackpot tier, yes: enter the number of bonus combinations as the bonus pool. EuroMillions draws two Lucky Stars from twelve, so enter 66, which is C(12, 2), and the jackpot odds come out at 1 in 139,838,160. The lower tiers will not be right, because a two-star game has partial star matches that a single-ball model does not represent.

What does 'odds of any prize' actually include?

Everything at or above the smallest main-number match you set, plus the bonus-ball-only tier if you ticked that box. Powerball's published 1 in 24.87 assumes a smallest tier of three main numbers and a paying Powerball-only tier, which is what the defaults reproduce. If your game's lowest prize is two numbers plus the bonus, or a free ticket, the operator's published overall odds will differ from the default here.

Is a lottery ticket ever a positive expected-value bet?

Very rarely, and less often than headlines suggest. A rolled-over jackpot can in principle exceed the reciprocal of the odds multiplied by the ticket price, but three adjustments usually remove the surplus: the advertised figure is an annuity rather than the smaller cash value, taxes take a large share, and a big jackpot attracts more ticket sales, raising the chance of splitting it. Even when expectation is positive, the variance is such that no practical staking plan can exploit it.

References

  • An Introduction to Probability Theory and Its Applications, Vol. 1, 3rd ed. — William Feller, John Wiley & Sons
  • Powerball Game Rules and Prize Structure — Multi-State Lottery Association (MUSL)
  • Concrete Mathematics: A Foundation for Computer Science, 2nd ed. — Graham, Knuth and Patashnik, Addison-Wesley