Lottery Odds Calculator
The exact odds of matching any number of balls in any lottery format, with a bonus ball from a second pool or the same one, raffle odds for your tickets, and the chance of winning at least once over many draws.
Result…
How it's calculated
P(match exactly k) = C(m, k) × C(N − m, n − k) ÷ C(N, n) (N in the pool, n drawn, m chosen) Second bonus pool: multiply by C(m₂, k₂) × C(N₂ − m₂, n₂ − k₂) ÷ C(N₂, n₂) Same-pool bonus: × (m − k) ÷ (N − n) to match it, × (N − n − m + k) ÷ (N − n) to miss it Raffle: P(no prize) = C(T − t, prizes) ÷ C(T, prizes) · Over d draws: 1 − (1 − p)ᵈ
A lottery draws n balls from a pool of N without putting them back, so every set of n numbers is equally likely and there are C(N, n) of them. The number of draws that match exactly k of your numbers is C(m, k) × C(N − m, n − k): choose which k of your numbers come up, and which of the other balls make up the rest. That is the hypergeometric distribution. Many games add a bonus ball, either from a second pool drawn separately, whose chance multiplies in, or as one more ball from the same pool. Enter any format: the calculator works with exact whole numbers (BigInt), so the odds are exact. "1 in X" is the chance; the odds against are X − 1 to 1. For a raffle, the chance that none of your tickets is drawn is the chance every prize goes to someone else.
Your numbers, step by step
About the Lottery Odds calculator
This lottery odds calculator gives the exact chance of matching any number of balls in any draw you describe, so it works for every lottery format rather than a fixed list of games. Enter how many main balls are in the pool, how many are drawn, how many numbers you choose and how many you want to match. Add a bonus ball from a second pool, or one more ball drawn from the same pool, and the chance is combined exactly. Results come as “1 in X”, a percentage and an exact fraction, worked with whole-number arithmetic so even very long odds are exact. It also shows your chance of at least one win over many draws, and a raffle mode gives the odds for your tickets out of all those sold, with one or more prizes. The steps show every combination count.
How to use it
- Choose “Lottery draw” and enter “Main balls in the pool”, “Main balls drawn” and “Numbers you choose”.
- Enter “Main numbers to match” for the prize you are checking, using the game's own prize table.
- If there is a bonus ball, choose it under “Bonus ball” and fill in the bonus pool, or say whether it must match.
- Set “Draws you play” to see the chance of winning at least once over many draws; for a raffle, choose “Raffle” and enter your tickets, the tickets sold and the prizes drawn.
Worked example
In a draw of 6 balls from 49 where you choose 6 numbers, there are C(49, 6) = 13,983,816 possible draws, so matching all 6 is 1 in 13,983,816. Matching exactly 3 is C(6, 3) × C(43, 3) = 20 × 12,341 = 246,820 draws, which is 1 in 56.66, or 1.77%. Over 104 draws that is an 84.3% chance of at least one match of 3. If a bonus ball is then drawn from the same pool, matching 5 plus the bonus is 1 in 2,330,636.
Updated
Questions people ask
How are lottery odds calculated?
Count the possible draws, C(N, n) for n balls from N, and the draws that match exactly k of your numbers, C(m, k) × C(N − m, n − k). The chance is the second count divided by the first; Wikipedia's lottery mathematics article sets out the same formula, including the case of a separate bonus pool.
What is the difference between “1 in X” and odds of X to 1?
“1 in X” is the chance: one winning outcome in X equally likely ones. The odds against are X − 1 to 1, so a 1 in 200 chance is odds of 199 to 1 against. The odds calculator converts between the forms.
Does playing every week improve my chances?
Each draw is independent, so past results never change the next one. Over many draws the chance of at least one win is 1 − (1 − p) to the power of the number of draws, which grows slowly; each ticket still costs the same.
How do I work out raffle odds?
With one prize, your chance is your tickets divided by all the tickets sold. With several prizes and one prize per ticket, the chance of no prize is C(T − t, prizes) ÷ C(T, prizes), and the chance of winning something is 1 minus that.
Can this tell me which numbers will come up?
No. In a fair draw every combination is equally likely, so no set of numbers is luckier than another. The calculator gives chances only; the rules, prizes and price of a ticket come from the operator, and whether to play is your own decision.