How likely is it to win the lottery?
The number of possible rows in a lottery draw and the chance that one row hits the jackpot.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
Jackpot chance per row
324,632
Ways to choose 5 of 35 items when the order does not matter and nothing repeats.
More about the count
- Formula
- C(40, 7) = 40! ÷ (7! × 33!)
- Possible rows
- 18,643,560
The number of possible rows in a lottery draw and the chance that one row hits the jackpot.
How to use
- Enter how many numbers are in the draw and how many you pick on one row, such as 7 out of 40.
- Read the chance that one row hits the jackpot, with the number of possible rows.
- For a game with two drums, count each drum on its own and multiply the rows.
Possible rows and the chance of three right, by draw
| Numbers drawn / pool | Possible rows | Exactly 3 right |
|---|---|---|
| 5 / 35 | 324,632 | 1.34% |
| 6 / 40 | 3,838,380 | 3.12% |
| 7 / 40 | 18,643,560 | 7.68% |
| 6 / 45 | 8,145,060 | 2.24% |
| 6 / 49 | 13,983,816 | 1.77% |
| 5 / 50 | 2,118,760 | 0.47% |
| 6 / 59 | 45,057,474 | 1.04% |
One drum, order ignored, no repeats. Games with a second drum multiply the rows of each drum.
How it works
A lottery row wins the jackpot only if it matches every drawn number. The order of the draw does not matter and a ball never comes back, so the number of possible rows is the number of combinations: C(n, k) = n! ÷ (k! × (n − k)!), with n the numbers in the draw and k the numbers on a row.
Drawing 7 numbers out of 40 gives 40! ÷ (7! × 33!) = 18,643,560 rows, so one row has a 1 in 18,643,560 chance. Ten rows have ten times the chance, still 1 in 1,864,356.
The odds hold for a fair draw, where every row is equally likely. Smaller prizes for fewer correct numbers have their own, better odds, and a shared jackpot is split between the winners.
Buying more rows raises the chance in proportion, not by more. In the 7-out-of-40 game, 100 different rows make it about 1 in 186,436. Prize tiers for fewer matches are worth checking in the game rules.
Worked example
How many rows can a lottery with 6 numbers out of 49 have, and how likely is a prize for 3 right?
- Possible rows: C(49, 6) = 49! ÷ (6! × 43!) = 13,983,816. One row has a 1 in 13,983,816 chance of the jackpot.
- Rows with exactly 3 right: choose 3 of the 6 drawn numbers and 3 of the 43 others, which gives 246,820 rows.
- 246,820 ÷ 13,983,816 = 1.77%.
One row hits the jackpot 1 time in 13,983,816, and has 3 numbers right 1.77% of the time.
Method
No outside data is used: the result is worked out directly from the formula C(n, k) = n! / (k! (n − k)!), explained under How it works.
Frequently asked questions
What are the odds of a lottery that draws 7 numbers out of 40?
There are C(40, 7) = 18,643,560 possible rows, so one row has a 1 in 18,643,560 chance of hitting all seven.
How do I work out the odds of a game with two drums?
Count each drum on its own and multiply. Picking 5 of 50 and then 2 of 12 gives 2,118,760 × 66 = 139,838,160 possible rows.
Do some numbers win more often?
No. In a fair draw every row is equally likely, so no pattern or past result changes the odds.
What are the odds of a 6 out of 49 lottery?
C(49, 6) = 13,983,816 possible rows, so one row wins the jackpot with a 1 in 13,983,816 chance.
Does buying ten rows make a big difference?
It makes the chance ten times larger, but from a tiny number to a tiny number: 10 rows of the 7-out-of-40 game give about 1 in 1.86 million instead of 1 in 18.6 million.
Next you might need
More in Math & numbers
- Percentage calculator, private, runs on your device
- Area of shapes, private, runs on your device
- Circle calculator, private, runs on your device
- Complex number calculator, private, runs on your device
- Correlation and regression calculator, private, runs on your device
- Descriptive statistics calculator, private, runs on your device





