Lottery Odds Calculator
Estimate the exact odds of matching a chosen number of balls in a lottery draw, with optional support for a remaining-pool bonus ball or a separate bonus-number pool.
Draw settings
Bonus ball options
Requires one of the target matches to come from one extra ball drawn from the main pool after the primary draw.
Multiplies the main-draw probability by an independent exact-match probability from a separate bonus pool.
Live results
Calculation breakdown
| Stage | Event | Probability | Odds |
|---|---|---|---|
| Main draw | Exactly 6 of 6 ticket numbers match among 59 balls | 0.0000022194% | 1 in 45,057,474 |
How to use this lottery odds calculator
What this calculator does. It computes the probability of an exact lottery-matching event when a ticket contains the same number of main-pool selections as the draw. The basic model is sampling without replacement: a fixed number of winning balls is drawn from a larger pool, and the calculator asks for exactly how many of your selected numbers match. It then converts that probability into the familiar “1 in X” odds format. Optional bonus settings extend the event to one extra ball from the remaining main pool or to an independent bonus-number pool. This is a probability calculation, not a prediction of which numbers will be drawn and not a statement about prize value or expected profit. For the underlying distribution, see the NIST definition of the hypergeometric distribution, which describes sampling without replacement.
When to use it. Use the calculator to compare jackpot odds between different lottery formats, check the chance of an exact lower-tier match, understand how a larger number pool changes difficulty, or model games that add one remaining-pool bonus ball or a separate bonus-number draw. It is also useful for sanity-checking published odds when the game rules fit this exact-match structure.
How to calculate. The calculator opens with a ready-to-use demonstration: 6 balls drawn, 6 matches required, and 59 balls in the pool. The matching XLSX workbook is immediately available. To use your own game:
- Replace Balls to be drawn with the count of main numbers drawn from the pool.
- Set Number of matches to the exact number of successful matches you want to evaluate, then enter Number of balls in the pool.
- If the game uses a bonus, open Bonus ball options. Turn on Bonus ball (from remaining balls) when one target match must come from one extra main-pool ball. Turn on Bonus balls (from bonus pool) for an independent bonus draw, then complete its three fields.
- Read Winning odds are 1 to... and Exact probability, review the stage table, and select Download Excel to export the current canonical values. Reset clears the demonstration and all entered data; export is then disabled until a complete valid state is entered again.
Input guide. Balls to be drawn is required and accepts whole decimal digits only, from 1 to 100; “6” is a typical example. Higher draw counts change both the number of possible tickets and the number of ways a given match count can occur. Number of matches is required, must be a whole number from 0 through the draw size, and represents an exact match count; for the remaining-pool bonus mode it includes the bonus match, so a target of 6 means 5 main-draw matches plus the bonus. A common mistake is entering a match count that is mathematically impossible for a very small pool. Number of balls in the pool is required, accepts whole digits only, must be at least the main draw size, and may be up to 10,000; “59” is the startup example. Increasing the pool while holding the draw and target constant generally makes high-match events rarer.
Bonus ball (from remaining balls) is optional. When checked, one of the requested matches must be supplied by a single extra ball drawn from balls left after the main draw, so at least one target match is required and the pool must contain balls beyond the main draw. Bonus balls (from bonus pool) is optional and enables three required fields for that stage: Bonus balls to be drawn, Matches with bonus pool, and Balls in the bonus pool. These accept whole digits under the same draw/pool limits; a realistic example is 2 drawn, 2 matched, from 12. The bonus event is modeled as an independent exact-match draw, with the ticket assumed to contain the same number of bonus selections as Bonus balls to be drawn; its probability multiplies the main event. Entering separators, decimals, signs, percentages, or scientific notation is rejected rather than silently reinterpreted.
Output guide. Winning odds are 1 to... is the reciprocal of the complete event probability: a larger number means a rarer exact event. Exact probability shows that same value as a percentage. Main-draw matches used shows the exact main-stage match count after any remaining-pool bonus adjustment. Main-draw odds isolates the main-stage reciprocal probability, while Bonus-pool odds reports the independent bonus stage when enabled and otherwise says “Not used.” In the Calculation breakdown table, Stage names each probability component, Event describes the exact condition, Probability gives its stage probability, and Odds gives the corresponding reciprocal. A zero-probability configuration is treated as invalid rather than displayed as infinite odds.
Worked example. With 6 balls drawn from 59 and all 6 required to match, there is only one successful ticket combination among C(59,6) possible six-number combinations. C(59,6) equals 45,057,474, so the exact probability is 1 / 45,057,474 = 0.0000022194%, and the displayed winning odds are 1 in 45,057,474. That is the first-open result and the value written to the startup workbook. Penn State's counting-techniques lesson on combinations explains why combinations, rather than order-sensitive permutations, are the appropriate counting tool here.
How the exact-match formula works
The main draw follows a hypergeometric probability model. If the pool contains n balls, your ticket/draw contains r selected balls, and exactly m must match, the successful outcomes are the ways to choose m winners from your r ticket numbers multiplied by the ways to choose the remaining r – m drawn balls from numbers not on your ticket. The total outcomes are all ways to draw r balls from n.
The reciprocal, 1/P, is the “1 in X” figure. When a remaining-pool bonus is active, the main-draw target is reduced by one and the conditional probability that the bonus ball is one of the still-unmatched ticket numbers is applied. A separate bonus pool uses another hypergeometric exact-match probability and is multiplied because the two pools are modeled as independent. Penn State's discrete-random-variable lesson covering the hypergeometric distribution provides additional statistical context.
Interpretation and common mistakes
- Exact is not “at least.” Requesting 3 matches means exactly 3 matches, not 3 or more.
- Order does not matter. Standard lottery numbers are treated as an unordered selection. If a game pays based on draw order, this model is not the right one.
- Rules must match the model. Ticket selection counts are assumed to equal the number of balls drawn within each pool. Games with special positional rules, replacement, repeated numbers, or nonuniform weights require a different model.
- Odds do not imply timing. “1 in X” is a probability ratio for each qualifying random draw; it does not mean a win is guaranteed after X plays.
Lottery outcomes are random under the stated model. Use official game rules for prize eligibility, draw mechanics, ticket limits, and legal conditions.