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.
| Game | White-ball sets | × | Bonus pool | = | Jackpot odds |
|---|---|---|---|---|---|
| Mega Millions | 12,103,014 | × | 24 | = | 1 in 290,472,336 |
| Powerball | 11,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.
| Match | Formula | Odds |
|---|---|---|
| 5 white + PB | C(5, 5) × C(64, 0) / C(69, 5) × 1/26 | 1 in 292,201,338 |
| 5 white | C(5, 5) × C(64, 0) / C(69, 5) × 25/26 | 1 in 11,688,054 |
| 4 white + PB | C(5, 4) × C(64, 1) / C(69, 5) × 1/26 | 1 in 913,129 |
| 4 white | C(5, 4) × C(64, 1) / C(69, 5) × 25/26 | 1 in 36,525 |
| 3 white + PB | C(5, 3) × C(64, 2) / C(69, 5) × 1/26 | 1 in 14,494 |
| 3 white | C(5, 3) × C(64, 2) / C(69, 5) × 25/26 | 1 in 579.76 |
| 2 white + PB | C(5, 2) × C(64, 3) / C(69, 5) × 1/26 | 1 in 701.33 |
| 1 white + PB | C(5, 1) × C(64, 4) / C(69, 5) × 1/26 | 1 in 91.98 |
| 0 white + PB | C(5, 0) × C(64, 5) / C(69, 5) × 1/26 | 1 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
- Adding when you should multiply. Independent stages multiply. The chance of matching five white balls and the bonus is the product of the two, not the sum.
- Using permutations. Forgetting to divide by 5! inflates the count by 120× and gives an "odds" figure in the tens of billions.
- Treating "1 in 292 million" as a percentage. It is 0.000000342%. Writing it as a percentage is a good way to feel the size of it.
- Assuming odds accumulate. Buying 10 tickets makes your chance 10 in 292,201,338, not 1 in 29,220,134 for each of ten independent shots at the same prize — and playing every week for fifty years buys around 2,600 draws against a 292 million denominator.
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.
| Effective | Game | Matrix | Jackpot odds |
|---|---|---|---|
| April 22, 1992 | Powerball | 5/45 + 1/45 | 1 in 54,979,155 |
| September 6, 1996 | Mega Millions | 5/50 + 1/25 | 1 in 52,969,000 |
| November 5, 1997 | Powerball | 5/49 + 1/42 | 1 in 80,089,128 |
| January 13, 1999 | Mega Millions | 5/50 + 1/36 | 1 in 76,275,360 |
| May 15, 2002 | Mega Millions | 5/52 + 1/52 | 1 in 135,145,920 |
| October 9, 2002 | Powerball | 5/53 + 1/42 | 1 in 120,526,770 |
| June 24, 2005 | Mega Millions | 5/56 + 1/46 | 1 in 175,711,536 |
| January 7, 2009 | Powerball | 5/59 + 1/39 | 1 in 195,249,054 |
| January 15, 2012 | Powerball | 5/59 + 1/35 | 1 in 175,223,510 |
| October 22, 2013 | Mega Millions | 5/75 + 1/15 | 1 in 258,890,850 |
| October 7, 2015 | Powerball | 5/69 + 1/26 | 1 in 292,201,338 |
| October 31, 2017 | Mega Millions | 5/70 + 1/25 | 1 in 302,575,350 |
| April 8, 2025 | Mega Millions | 5/70 + 1/24 | 1 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.