Lottery Odds Calculator
Calculate lottery odds for any game that draws numbers from a pool, with or without a separate bonus draw such as the Powerball. The calculator gives the exact odds of the jackpot, the odds of matching only some of the numbers, and the chance that one of several tickets wins, as 1-in odds and as a percentage, with every step of the counting shown.
Lottery odds are counted with combinations, because the order in which the numbers are drawn does not matter. The ways of choosing numbers come from the combination calculator, and matching some but not all of the numbers is a case of the hypergeometric distribution. For the chance of winning at least once over many draws, see the probability of at least one calculator.
The size of the main pool, such as 69
How many numbers are drawn from it, and picked on a ticket, such as 5
The size of a separate bonus pool, such as 26. Leave it empty for a game without one
How many numbers are drawn from the bonus pool, such as 1
Related Calculators
Combination Calculator (nCr)
Count combinations exactly with big-integer nCr results, even for very large n.
Hypergeometric Distribution Calculator
Exact probabilities for sampling without replacement: exactly, at most, at least and between k successes from a finite population.
Probability of At Least One Calculator
Compute the chance an event happens at least once in n tries, or the tries needed to hit a target.
How lottery odds work
A lottery draws k numbers from a pool of N. The order in which they come out does not matter, so the number of different draws is the number of combinations C(N, k) = N! / (k! × (N − k)!). Every draw is equally likely, so a ticket with k numbers wins the jackpot with chance 1 / C(N, k). In a lottery that draws 6 numbers from 49 that is 1 in 13,983,816.
Many games add a bonus draw from a second pool, such as the red Powerball or the Lucky Stars of EuroMillions. The two draws are independent, so the number of different tickets is the product of the two counts and the jackpot chance is 1 divided by that product.
How to use the calculator
- Jackpot odds. Enter the size of the main pool and how many numbers are drawn from it. If the game has a bonus draw, also enter the size of the bonus pool and how many bonus numbers are drawn; otherwise leave those two fields empty.
- Odds of matching some numbers. Also enter how many of the main numbers, and how many of the bonus numbers, a ticket matches. The result is the chance of matching exactly that many, which is a different prize from the jackpot.
- Chance with several tickets. Enter the number of different tickets. Two different tickets cannot both match the whole draw, so their chances simply add up.
- A ticket carries as many numbers as are drawn. The pools can hold up to 1,000 numbers, and the number of tickets can have up to 30 digits.
- The bonus numbers come from their own pool. A bonus ball that is drawn from the main pool, as in the UK Lotto, is a different model, which is worked out by hand below.
Lottery odds formulas
Tickets = C(N, k) × C(M, b)
P(jackpot) = 1 / (C(N, k) × C(M, b))
Ways to match exactly m of the k main numbers = C(k, m) × C(N − k, k − m)
Ways to match exactly j of the b bonus numbers = C(b, j) × C(M − b, b − j)
P(prize) = [C(k, m) × C(N − k, k − m)] × [C(b, j) × C(M − b, b − j)] / [C(N, k) × C(M, b)]
P(one of t different tickets wins the jackpot) = t / (C(N, k) × C(M, b))
Here N is the size of the main pool, k the numbers drawn from it, M the size of the bonus pool and b the bonus numbers drawn. For a game without a bonus draw, drop the bonus factors. To match exactly m of the k drawn numbers, a ticket takes m of the k winning numbers and the other k − m from the N − k numbers that were not drawn; that is the hypergeometric count.
Worked example: the Powerball jackpot
Powerball draws 5 white balls from 69 and one red Powerball from 26. Choose Jackpot odds and Load example to enter 69, 5, 26 and 1.
- White balls: C(69, 5) = 69! / (5! × 64!) = 11,238,513 ways.
- Powerball: C(26, 1) = 26 ways.
- Every white set pairs with every Powerball: 11,238,513 × 26 = 292,201,338 equally likely tickets.
- Exactly one ticket matches the draw, so the chance of the jackpot is 1 / 292,201,338, which is 3.4223e-7%, or 1 in 292,201,338. This is the jackpot figure Powerball publishes.
Worked example: five white balls but not the Powerball
Choose Odds of matching some numbers and Load example, which enters the Powerball game with 5 main numbers matched and 0 bonus numbers matched.
- White balls: all 5 of the 5 drawn, C(5, 5) = 1 way, and none of the other 64, C(64, 0) = 1 way: 1 × 1 = 1 way.
- Powerball: none of the 1 drawn, C(1, 0) = 1 way, and the other 1 from the 25 numbers that were not drawn, C(25, 1) = 25 ways: 1 × 25 = 25 ways.
- Winning tickets: 1 × 25 = 25 of the 292,201,338, so the chance is 25 / 292,201,338, which is 8.5557e-6%, or 1 in 11,688,053.52.
Powerball odds for every prize
| Numbers matched | Winning tickets | Odds |
|---|---|---|
| 5 white balls + Powerball | 1 | 1 in 292,201,338 |
| 5 white balls | 25 | 1 in 11,688,053.52 |
| 4 white balls + Powerball | 320 | 1 in 913,129.18 |
| 4 white balls | 8,000 | 1 in 36,525.17 |
| 3 white balls + Powerball | 20,160 | 1 in 14,494.11 |
| 3 white balls | 504,000 | 1 in 579.76 |
| 2 white balls + Powerball | 416,640 | 1 in 701.33 |
| 1 white ball + Powerball | 3,176,880 | 1 in 91.98 |
| Powerball only | 7,624,512 | 1 in 38.32 |
| Any prize | 11,750,538 | 1 in 24.87 |
These agree with the odds that Powerball publishes for each prize level. Adding the nine winning counts gives 11,750,538 of the 292,201,338 tickets that win something, so the chance of some prize is 1 in 24.87. To reproduce a row, choose Odds of matching some numbers and enter the two match counts.
Jackpot odds of popular lotteries
| Game | Numbers drawn | Jackpot odds |
|---|---|---|
| Powerball | 5 of 69 and 1 of 26 | 1 in 292,201,338 |
| Mega Millions | 5 of 70 and 1 of 24 | 1 in 290,472,336 |
| EuroMillions | 5 of 50 and 2 of 12 | 1 in 139,838,160 |
| SuperEnalotto | 6 of 90 | 1 in 622,614,630 |
| Lotto 6 of 59 (UK Lotto) | 6 of 59 | 1 in 45,057,474 |
| Lotto 6 of 49 | 6 of 49 | 1 in 13,983,816 |
| Pick 5 of 39 | 5 of 39 | 1 in 575,757 |
The Mega Millions row uses the format in force since April 2025. Operators change their formats from time to time, so check the current rules of your game and enter its pool sizes.
Odds of matching some numbers in a 6 of 49 lottery
| Numbers matched | Winning tickets | Odds |
|---|---|---|
| 6 | 1 | 1 in 13,983,816 |
| 5 | 258 | 1 in 54,200.84 |
| 4 | 13,545 | 1 in 1,032.4 |
| 3 | 246,820 | 1 in 56.66 |
| 2 | 1,851,150 | 1 in 7.55 |
| 1 | 5,775,588 | 1 in 2.42 |
| 0 | 6,096,454 | 1 in 2.29 |
Every ticket matches exactly one of these counts, so the seven rows add up to all 13,983,816 tickets. For three matches, C(6, 3) = 20 ways to take three of the six drawn numbers times C(43, 3) = 12,341 ways to take the other three from the 43 numbers that were not drawn gives 20 × 12,341 = 246,820 tickets.
A bonus ball drawn from the same pool
Some games, such as the UK Lotto and Lotto 6/49, draw an extra bonus ball from the numbers left in the main pool, and a ticket that matches five numbers plus that ball wins a bigger prize. The calculator does not model this, but the count is short: a ticket wins it when it holds five of the six drawn numbers and the bonus ball as its sixth number, which can happen in C(6, 5) = 6 ways, one for each drawn number it leaves out.
For a 6 of 59 lottery the chance is 6 / 45,057,474 = 1 in 7,509,579, and for a 6 of 49 lottery it is 6 / 13,983,816 = 1 in 2,330,636. These 6 tickets are part of the 258 that match exactly five numbers in the 6 of 49 table, which leaves 252 for the five-number prize without the bonus ball.
Your chance with more tickets
| Different Powerball tickets | Chance that one of them wins the jackpot |
|---|---|
| 1 | 3.4223e-7% |
| 10 | 3.4223e-6% |
| 100 | 3.4223e-5% |
| 1,000 | 0.0003% |
| 10,000 | 0.0034% |
The chance grows in proportion to the number of tickets, because different tickets cannot win together. Even 10,000 tickets leave the chance below four thousandths of one percent. To cover every combination of the game, you would need 292,201,338 tickets.
Playing again and again
Each draw is independent, so a ticket for the next draw has the same 1 in 292,201,338 chance as the last one. The chance of winning at least once in n draws is 1 − (1 − 1/292,201,338)^n, and it builds up slowly. Powerball has three draws a week, which is 156 a year.
| Time playing | Draws | Chance of at least one jackpot |
|---|---|---|
| 1 year | 156 | 0.000053% |
| 10 years | 1,560 | 0.00053% |
| 50 years | 7,800 | 0.0027% |
| 100 years | 15,600 | 0.0053% |
A 50% chance needs 202,538,534 draws, which is about 1.3 million years at three draws a week.
Do the numbers you pick matter?
No. Every combination is equally likely, including 1-2-3-4-5-6 and a quick pick chosen by the machine. Past draws do not influence later ones, so "hot" and "cold" numbers change nothing, and believing that a number is "due" is the gambler's fallacy. What your choice can change is how many other players hold the same numbers, and therefore how many people share a jackpot if it is won; it never changes the chance of winning it.
Assumptions and pitfalls
- Fair, independent draws. Every number is equally likely and no draw depends on an earlier one. The calculation cannot be better than that assumption.
- One ticket and one draw. The odds are for a single ticket in a single draw. The chance of winning at least once over many draws is larger, as the table above shows, but still tiny for a jackpot.
- Different numbers on a ticket, order ignored. Digit games, such as three digits from 0 to 9 in the exact order, are not of this kind. They have 10 × 10 × 10 = 1,000 outcomes.
- Odds of winning are not the prize you receive. Jackpots can be shared by several winners and are taxed in many places. To judge a ticket, multiply each prize by its chance and add the results, then compare the total with the price.
- Formats change. Pool sizes and prize levels are set by the operator and have been changed before, so enter the numbers of the game as it is played today.
Lottery odds in Excel, Python, R and the TI-84
| Tool | Command |
|---|---|
| Excel / Google Sheets | =COMBIN(69,5)*26 gives the 292,201,338 tickets of the Powerball. |
| Excel | =HYPGEOM.DIST(3,5,5,69,FALSE) gives 0.001794, the chance that exactly 3 of the 5 white balls are matched. |
| Python | from math import comb; comb(69, 5) * 26 |
| Python (SciPy) | from scipy.stats import hypergeom; hypergeom.pmf(3, 69, 5, 5) gives the chance of exactly 3 of the 5 white balls |
| R | choose(69, 5) * 26 for the tickets, and dhyper(3, 5, 64, 5) for exactly 3 of the 5 white balls |
| TI-84 | 69 nCr 5 × 26 (MATH, then PRB, then nCr) |
The counts are the same as the calculator's. The hypergeometric commands give the chance for the white balls alone, before the Powerball is taken into account, so they are the main-number part of a prize.
Frequently Asked Questions
What are the odds of winning the Powerball jackpot?
1 in 292,201,338. Powerball draws 5 white balls from 69 and one red ball from 26, so there are C(69, 5) x 26 = 11,238,513 x 26 = 292,201,338 equally likely tickets, and exactly one of them matches the draw. That is a chance of 3.4223e-7%.
How do you calculate lottery odds?
Count the possible tickets and divide one by that count. When k numbers are drawn from a pool of N and the order does not matter, there are C(N, k) = N! / (k! x (N - k)!) tickets, so the jackpot chance is 1 / C(N, k). If the game has a separate bonus draw, multiply by the number of bonus combinations as well.
What are the odds of matching only some of the numbers?
Count the tickets that match exactly that many and divide by all tickets. To match exactly m of the k drawn numbers, take m of the k winning numbers and the other k - m from the N - k numbers not drawn: C(k, m) x C(N - k, k - m) tickets. In a 6 of 49 lottery three matches give 20 x 12,341 = 246,820 tickets, which is 1 in 56.66.
Do more tickets improve my chances of winning the lottery?
Yes, but only in proportion. Different tickets cannot win together, so t different tickets give t times the chance of one. With 100 different Powerball tickets the jackpot chance is 3.4223e-5%, still about 1 in 2.9 million. Repeating the same numbers on several tickets adds nothing.
Does choosing my own numbers or using a quick pick change the odds?
No. Every combination of numbers is equally likely, so 1-2-3-4-5-6 has the same chance as any other ticket, and so does a quick pick. Past draws do not influence future ones either. The choice only affects how many other players hold the same numbers and would share the jackpot.
How does a bonus ball change the odds?
A bonus draw from a separate pool multiplies the number of tickets by the number of bonus combinations, as the Powerball does with 26. A bonus ball drawn from the same pool changes only the prize that needs it: five numbers plus the bonus ball wins with chance 6 / C(N, 6), which is 1 in 7,509,579 for 6 of 59 and 1 in 2,330,636 for 6 of 49.
How many tickets would guarantee a jackpot?
One for every combination: C(N, k) times the bonus combinations. That is 13,983,816 tickets for a 6 of 49 lottery and 292,201,338 for the Powerball. Holding every combination makes the jackpot certain, but it can still be shared with other winners.
Which lottery has the best odds?
The game with the fewest possible tickets. In the table above the 5 of 39 game is the easiest, with 1 in 575,757, followed by the 6 of 49 lottery with 1 in 13,983,816, while SuperEnalotto, with 1 in 622,614,630, is the hardest.
Is the lottery worth playing?
The calculator gives chances, not returns. A ticket's expected return is each prize times its chance, added up, and it can be compared with the ticket price. Jackpots may be shared and taxed. For the Powerball the chance of some prize is 1 in 24.87, and 7,624,512 of the 11,750,538 winning tickets, about 65%, win by matching the Powerball alone.
Embed This Calculator
Add this free calculator to your course page or LMS.
Adjust the height value to fit your page.