US
Lottery Number Lab Odds, drawing history and probability for Mega Millions and Powerball

Math primer

How to calculate lottery odds yourself

Two formulas cover every jackpot game ever sold. Once you can reproduce the official prize chart, no lottery claim can surprise you again.

Lottery odds are not a secret and not an estimate. They are a counting exercise you can do on paper, and every figure a lottery publishes can be reproduced from the ball matrix alone. Here is the whole method, with the arithmetic shown.

Step 1: order does not matter

A ticket matches whether or not the balls arrive in your order, so the count you need is combinations, not permutations. The number of ways to choose k items from n is

C(n, k) = n! / [ k! × (n−k)! ]

For Mega Millions' five white balls from 70, the fraction is easier written out and cancelled:

C(70, 5) = (70 × 69 × 68 × 67 × 66) / (5 × 4 × 3 × 2 × 1) = 12,103,014

Dividing by 5! is what removes the orderings: every set of five numbers can be arranged 120 ways, and all 120 win the same prize.

Step 2: multiply by the second pool

The bonus ball comes from a separate machine, so it is an independent choice and the counts multiply. This is the step people get wrong most often — the bonus ball is not one of the five, and it can duplicate one of them.

GameWhite-ball sets×Bonus pool=Jackpot odds
Mega Millions12,103,014×24=1 in 290,472,336
Powerball11,238,513×26=1 in 292,201,338

Step 3: the other prize tiers

For a partial match you need to count two things at once: how many of your five numbers hit, and how many missed. If m of your five match, then m came from the 5 drawn balls and (5−m) came from the (N−5) balls that were not drawn:

P(exactly m white) = C(5, m) × C(N−5, 5−m) / C(N, 5)

Then multiply by 1/B if you also need the bonus ball, or (B−1)/B if you must miss it.

Worked example: 4 white balls plus the Powerball

C(5, 4) × C(64, 1) / C(69, 5) × 1/26 = 5 × 64 / 11,238,513 × 1/26 = 1 in 913,129

Powerball publishes 1 in 913,129.18 for that tier. The formula reproduces it exactly, and the same two lines of arithmetic generate every other row of the official chart.

Every Powerball tier, from the matrix alone.
MatchFormulaOdds
5 white + PBC(5, 5) × C(64, 0) / C(69, 5) × 1/261 in 292,201,338
5 whiteC(5, 5) × C(64, 0) / C(69, 5) × 25/261 in 11,688,054
4 white + PBC(5, 4) × C(64, 1) / C(69, 5) × 1/261 in 913,129
4 whiteC(5, 4) × C(64, 1) / C(69, 5) × 25/261 in 36,525
3 white + PBC(5, 3) × C(64, 2) / C(69, 5) × 1/261 in 14,494
3 whiteC(5, 3) × C(64, 2) / C(69, 5) × 25/261 in 579.76
2 white + PBC(5, 2) × C(64, 3) / C(69, 5) × 1/261 in 701.33
1 white + PBC(5, 1) × C(64, 4) / C(69, 5) × 1/261 in 91.98
0 white + PBC(5, 0) × C(64, 5) / C(69, 5) × 1/261 in 38.32

Step 4: the overall odds

"Odds of winning any prize" is just the sum of the winning tiers' probabilities, inverted. Adding the nine rows above gives 1 in 24.87 for Powerball; the same sum for Mega Millions gives 1 in 23.07. Both match the official statements ("about 1 in 25" and "1 in 23") because they are the same calculation.

Four mistakes to avoid

Reference: every matrix these two games have used

Both lotteries have changed their ball pools repeatedly, and every change moved the jackpot odds. This is also why frequency statistics must never be mixed across eras.

Jackpot odds computed from each published matrix.
EffectiveGameMatrixJackpot odds
April 22, 1992Powerball5/45 + 1/451 in 54,979,155
September 6, 1996Mega Millions5/50 + 1/251 in 52,969,000
November 5, 1997Powerball5/49 + 1/421 in 80,089,128
January 13, 1999Mega Millions5/50 + 1/361 in 76,275,360
May 15, 2002Mega Millions5/52 + 1/521 in 135,145,920
October 9, 2002Powerball5/53 + 1/421 in 120,526,770
June 24, 2005Mega Millions5/56 + 1/461 in 175,711,536
January 7, 2009Powerball5/59 + 1/391 in 195,249,054
January 15, 2012Powerball5/59 + 1/351 in 175,223,510
October 22, 2013Mega Millions5/75 + 1/151 in 258,890,850
October 7, 2015Powerball5/69 + 1/261 in 292,201,338
October 31, 2017Mega Millions5/70 + 1/251 in 302,575,350
April 8, 2025Mega Millions5/70 + 1/241 in 290,472,336

The trend is unmistakable: with two exceptions, every revision made the jackpot harder to win. The reasoning behind that is worth a page of its own.

Now do it for your own state game

The method is identical for any pick-5 or pick-6 game — swap N, k and B and turn the handle. If your result matches the odds on the back of the play slip, you have understood the game completely. If a website's numbers disagree with your arithmetic, trust the arithmetic.

Entertainment and information only. Lottery drawings are independent random events and no method described on this site can improve your odds of winning. 18+ (21+ in some states). Verify all results with your state lottery. Full disclaimer.