Calculator Tools
Lottery Odds Calculator
Compute jackpot odds, every prize tier, and expected value for any pick-N-of-M lottery. Presets for Powerball, Mega Millions, UK Lotto, and EuroMillions.
Quick presets
Load a real-world lottery in one click, or type your own format below.
Lottery format
Multiple tickets (optional)
Jackpot odds
1 in 292,201,338
Probability 3.42 x 10^-7 %.
At least one main number
1 in 3
Probability 32.1572%.
Distinct possible tickets
292,201,338
One per unique combination of main and bonus picks.
Prize tier breakdown
Probability of matching exactly N of your 5 main picks, with and without the bonus.
| Match | Odds | Probability | Percent |
|---|---|---|---|
| 5/5 + bonusJackpot | 1 in 292,201,338 | 3.422e-9 | 3.42 x 10^-7 % |
| 5/5 + no bonus | 1 in 11,688,054 | 8.555e-8 | 8.55 x 10^-6 % |
| 4/5 + bonus | 1 in 913,129 | 1.095e-6 | 0.0001095% |
| 4/5 + no bonus | 1 in 36,525 | 2.737e-5 | 0.002737% |
| 3/5 + bonus | 1 in 14,494 | 6.899e-5 | 0.006899% |
| 3/5 + no bonus | 1 in 580 | 0.001724 | 0.1724% |
| 2/5 + bonus | 1 in 701 | 0.001425 | 0.1425% |
| 2/5 + no bonus | 1 in 28 | 0.03564 | 3.5646% |
| 1/5 + bonus | 1 in 92 | 0.01087 | 1.0872% |
| 1/5 + no bonus | 1 in 4 | 0.2718 | 27.1805% |
| 0/5 + bonus | 1 in 38 | 0.02609 | 2.6093% |
| 0/5 + no bonus | 1 in 2 | 0.6523 | 65.2333% |
Tiers use the hypergeometric distribution. Probability is the chance of that exact outcome on a single ticket; odds show the equivalent "1 in N" ratio rounded to the nearest whole number. Add prize amounts to estimate expected value per ticket.
Formula
For a single pool with main pool m and r picks, the probability of matching exactly k of your numbers on a single ticket is
P(k) = C(r, k) x C(m - r, r - k) / C(m, r)
With a second pool of size b and p bonus picks per ticket, bonus matches are independent of the main draw. The joint probability of k main matches and exactly j bonus matches is
P(k, j) = P(k) x C(p, j) x C(b - p, p - j) / C(b, p)
All binomial coefficients are computed as BigInts so no precision is lost, even for Powerball class numbers.
How to use
- Click a preset chip to load a real lottery format (Powerball, Mega Millions, UK Lotto, EuroMillions, EuroJackpot, Lotto 6/49, SuperEnalotto, El Gordo, Australian Saturday Lotto).
- Or set a custom format: main pool size, numbers you pick per ticket, optional bonus pool size, and bonus picks per ticket. Use 0 for the bonus pool if your lottery has none.
- Read the jackpot odds, the total number of distinct possible tickets, and the chance of matching at least one main number in the headline cards.
- Scroll the tier table for the exact probability and 1 in N odds of every match count, with and without the bonus when a bonus pool is in play.
- Optional: enter the number of tickets you plan to buy to see the cumulative probability of winning the jackpot at least once.
- Optional: click Add prize amounts, type the cash prize for each tier, and set the ticket price to compute expected net value per ticket and the probability of winning any prize.
- Click Copy summary to grab the full result as plain text, or Reset to start over.
About this tool
Lottery Odds Calculator turns any pick-N-of-M lottery format into a complete probability table: jackpot odds, every prize tier from matching all main numbers down to matching none, the chance of hitting at least one main number, the cumulative probability of winning any prize at the amounts you set, and the expected net value per ticket once a ticket price is provided. Pick a preset (US Powerball 5 of 69 plus 1 of 26, Mega Millions 5 of 70 plus 1 of 24, UK National Lottery 6 of 59, EuroMillions and EuroJackpot 5 of 50 plus 2 of 12, Lotto 6/49, Italian SuperEnalotto 6 of 90, Spanish El Gordo de la Primitiva 5 of 54 plus 1 of 10, Australian Saturday Lotto 6 of 45) or type a custom format using main pool size, picks per ticket, bonus pool size, and bonus picks. The math is the standard hypergeometric distribution: the chance of matching exactly k of your r picks against m drawn numbers is C(r, k) times C(m minus r, r minus k) divided by C(m, r), with bonus matches modelled independently using the same formula on the second pool. Every binomial coefficient is computed in BigInt so Powerball-class numbers like C(69, 5) times C(26, 1) equal 292,201,338 exactly, with no floating-point rounding. The tier table sorts from best outcome to worst and shows odds as a clean 1 in N value, the raw decimal probability, and the percentage; very small percentages render in scientific form (3.42 x 10^-7 %) instead of unhelpful strings of zeros. Two optional inputs unlock deeper analysis: enter a number of tickets purchased to see the probability of hitting the jackpot at least once across independent tickets (computed with 1 minus (1 minus p) to the N using log1p for numerical safety), and add a prize amount for each tier together with a ticket price to read the expected value per ticket (sum of prize times probability minus the ticket price). Use this to size up a lottery before you spend, to teach hypergeometric probability with a topical example, to check published odds against the math, to compare formats from different countries side by side, or to make peace with the fact that buying 100 Powerball tickets still leaves the chance at roughly 1 in 2.9 million. Everything runs locally in your browser; the numbers you enter stay on your device. This calculator describes probabilities; it does not predict draws and is not gambling advice.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Probability Calculator
Five modes for P(A), P(A and B), P(A or B), P(A | B), Bayes, independent trials, and odds.
Open tool
CalculatorPermutation and Combination Calculator
nPr, nCr, factorial, n^r, and multiset coefficient with exact step-by-step working.
Open tool
GeneratorLottery Number Generator
Random quick picks for Powerball, Mega Millions, EuroMillions, UK Lotto, and custom games.
Open tool
GeneratorRandom Number Generator
Random integers, decimals, dice rolls, and list picks with unique-only and sort.
Open tool
GeneratorDice Roller
Roll one or many polyhedral dice with modifiers, advantage, keep highest or lowest, and 2d6+3 notation.
Open tool
GeneratorCoin Flip
Fair virtual coin flip with single, multi flip, and custom outcomes.
Open tool