Lottery Odds Calculator
Lottery odds calculator for single-drum and bonus-ball lotteries. Enter game parameters and get exact odds for matching 0 to all numbers, jackpot probability, and “1 in X” chances.
Full original guide (expanded)
Lottery Odds Calculator
Compute exact lottery odds for standard number-drawing games. Define the game rules and this calculator will return the probability of matching 0, 1, 2, … up to all numbers, plus the familiar “1 in X” jackpot odds.
The engine uses hypergeometric probability behind the scenes and can handle both single-drum lotteries (classic 6-from-49 style) and two-drum lotteries with bonus balls (Powerball-style games).
1. Choose lottery type
Single-drum: all numbers are drawn from the same pool. Two-drum: main numbers + separate bonus/Powerball pool.
2A. Single-drum lottery parameters
Example: “Choose 6 numbers out of 49; draw 6 winning numbers out of the same 49”.
Total distinct numbers in the game (e.g. 49).
How many distinct numbers you choose.
How many numbers the lottery draws.
Used for “P(matches ≥ rmin)” in the summary.
Lottery odds and hypergeometric probability
Most number-drawing lotteries can be modelled using the hypergeometric distribution. Consider a single-drum game: there are N possible numbers, you choose T of them on your ticket, and K numbers are drawn for the winning combination. The number of matches between your ticket and the draw, R, follows a hypergeometric law.
The probability of matching exactly r numbers is:
\[ \mathbb{P}(R = r) = \frac{\binom{T}{r}\,\binom{N - T}{K - r}}{\binom{N}{K}}, \]where \( \binom{n}{k} \) is the binomial coefficient “n choose k”. The denominator \( \binom{N}{K} \) counts all possible K-number draws from N, while the numerator counts favourable draws with exactly r matches.
Jackpot odds as “1 in X”
For the jackpot, r is typically equal to all numbers on your ticket (e.g. r = 6 in a 6-from-49 game). Once the jackpot probability \( p_{\text{jackpot}} \) is known, the usual way to present odds is
If \( p_{\text{jackpot}} \approx 7.15 \times 10^{-8} \), the odds are approximately \( 1 / (7.15 \times 10^{-8}) \approx 13{,}983{,}816 \), so we say the jackpot odds are about “1 in 13,983,816”.
Two-drum lotteries with bonus balls
In a two-drum game, the main numbers and the bonus balls are drawn from separate pools. If \( R_1 \) is the number of matches in the main pool and \( R_2 \) in the bonus pool, then:
because the two drums are independent. The jackpot corresponds to matching all main numbers and all bonus numbers at the same time.
Practical notes and limitations
- The calculator works with exact integer combinatorics implemented in floating-point arithmetic. For typical lottery sizes (N up to ~80) this is numerically stable.
- Real lotteries often define multiple prize tiers (e.g. “3+1”, “4+0”, “5+1”). You can derive the odds for each tier from the joint probability table of matches.
- Buying more tickets scales your probability linearly but does not change how small the base probability is – a key point in responsible gambling education.
Lottery odds – FAQ
Formula (LaTeX) + variables + units
\mathbb{P}(R = r) = \frac{\binom{T}{r}\,\binom{N - T}{K - r}}{\binom{N}{K}},
\text{Odds} = \frac{1}{p_{\text{jackpot}}}.
\mathbb{P}(R_1 = r_1, R_2 = r_2) = \mathbb{P}(R_1 = r_1)\,\mathbb{P}(R_2 = r_2),
','\
The probability of matching exactly r numbers is: \[ \mathbb{P}(R = r) = \frac{\binom{T}{r}\,\binom{N - T}{K - r}}{\binom{N}{K}}, \] where \( \binom{n}{k} \) is the binomial coefficient “n choose k”. The denominator \( \binom{N}{K} \) counts all possible K-number draws from N, while the numerator counts favourable draws with exactly r matches.
\[ \text{Odds} = \frac{1}{p_{\text{jackpot}}}. \]
\[ \mathbb{P}(R_1 = r_1, R_2 = r_2) = \mathbb{P}(R_1 = r_1)\,\mathbb{P}(R_2 = r_2), \]
- No variables provided in audit spec.
- NIST — Weights and measures — nist.gov · Accessed 2026-01-19
https://www.nist.gov/pml/weights-and-measures - FTC — Consumer advice — consumer.ftc.gov · Accessed 2026-01-19
https://consumer.ftc.gov/
Last code update: 2026-01-19
- Initial audit spec draft generated from HTML extraction (review required).
- Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
- Confirm sources are authoritative and relevant to the calculator methodology.