Saved

Press the star next to a tool's name to save it.

All my tools

Lottery Calculator

Use this lottery calculator to find the odds of the jackpot and of matching any number of the drawn numbers, for games like 6 from 49 or 5 from 69 plus a bonus ball.

Restored your last values ·

Enter how many numbers are in the pool and how many are drawn, such as 49 and 6. You get the number of possible tickets, the chance of the jackpot and of every smaller number of matches. Add a bonus pool for games with a separate bonus ball, and a prize and a price to see the jackpot's expected return.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the pool size and the numbers drawn, then press Calculate.

See full result

A lottery calculator works out the odds of winning. Enter the size of the pool of numbers and how many are drawn, such as 6 from 49, and you get the number of possible tickets, the chance of the jackpot and the chance of matching any smaller number of the numbers. A bonus pool covers games with a separate ball, such as the 5 from 69 plus 1 from 26 format. Add the jackpot and the ticket price to compare the jackpot's expected return with the cost. It runs in your browser.

How to use the lottery calculator

  1. Enter the pool size and the numbers drawn.
  2. Add a bonus pool if the game draws one bonus ball separately.
  3. Enter a number of matches, a prize and a price if you want them.
  4. Press Calculate.

The number of tickets

The Wikipedia article on lottery mathematics counts the possible tickets with the binomial coefficient C(P, W), the number of ways to choose W balls from a pool of P. For 6 numbers from 49, C(49, 6) is 13,983,816, so the jackpot has odds of 1 in 13,983,816, and you would need that many different tickets to be sure of winning it.[1] The calculator gives the exact figure for any pool of up to 200 numbers, using exact whole-number arithmetic.

Matching some of the numbers

The chance of matching exactly M of the numbers is C(T, M) × C(P − T, W − M) ÷ C(P, W), where T is the number of numbers on the ticket and W the number drawn.[1] It is a hypergeometric probability: of your T numbers, M must be among the W drawn, and the rest must come from the other P − T. For 6 from 49, the page's table gives 0.436 for no matches, 0.413 for 1, 0.132 for 2, 0.0177 for 3, 0.000969 for 4, 0.0000184 for 5 and 0.0000000715 for all 6.[1] The 5-of-6 case is 6 × 43 ÷ 13,983,816, which is 1 in 54,201. The calculator lists the chance of each number of matches as a percentage and as odds.

Games with a bonus pool

In a game such as 5 from 69 with a separate pool of 26, the page says that the chance is the product of the chances in each pool.[1] The number of tickets is 11,238,513 × 26 = 292,201,338, which we worked out, so the jackpot is about 1 in 292 million. The page's table for the 5 from 69 pool alone gives 0.678 for no matches, 0.283 for 1, 0.0371 for 2, 0.00179 for 3, 0.0000285 for 4 and 0.000000089 for 5, and with the bonus ball the chance of matching none of either is about 0.652.[1] Enter 69, 5 and 26 to see the table of every combination.

At least some matches

Many games pay for lower numbers of matches, so the calculator also gives the chance of matching at least a given number. For 6 from 49, the chance of at least 3 matches is about 1.86 percent, or 1 in 54. This sums the chances of 3, 4, 5 and 6 matches. It is the chance of winning some prize in a game that pays from 3 matches up, although the real prize tiers vary from game to game.

Expected value

The page has no formula for the expected value of a ticket, and no ticket prices or prize tables. It does say that buying every combination pays off only if the cost of the tickets, with overhead, does not exceed the total prize that they would win, and that if the jackpot is likely to be shared, only your likely share should count.[1] For a rough view, the calculator multiplies the chance of the jackpot by the prize and subtracts the price. With a jackpot of 14 million, a 6 from 49 ticket has an expected jackpot return of about 1.00, so against a price of 2, the jackpot adds a loss of about 1 per ticket. Smaller prizes add back some, and a shared jackpot takes some away.

Choosing numbers

Every set of numbers has the same chance. A pattern such as 1, 2, 3, 4, 5, 6 is as likely as any other, and a past winner is no more or less likely to be drawn again. Some people choose numbers that others avoid, such as those above 31, because a shared jackpot pays each winner less. That does not change the chance of winning, only the size of a win.

Putting the odds in context

Odds of 1 in 13,983,816 are hard to picture. If you bought one ticket a week, you would expect to wait about 270,000 years for a win, which is our own working. The chance of the jackpot in a game with a bonus pool, 1 in 292 million, is over 20 times smaller. The calculator gives you the figures, so that you can judge for yourself whether the entertainment is worth the price.

Worked examples

In a game with 6 numbers from 40, the number of tickets is C(40, 6) = 3,838,380, so the jackpot has odds of about 1 in 3.8 million. In a 5 from 90 game, the number of tickets is 43,949,268. For a game in which you pick 6 numbers from 49 and win a small prize for 3 matches, the chance of that prize is 1 in 57, from the exact figure of 1.77 percent. You can enter any of these to see the table of the matches.

Common mistakes

  • Thinking that numbers are due. Each draw is independent.
  • Adding odds across pools. With a bonus pool, the chances multiply.
  • Counting the order. The order of the numbers does not matter.
  • Ignoring a shared jackpot. Several winners split the prize.

What next

Use this often? Add Lottery to your Home screen.

Frequently asked questions

What is a lottery calculator?

A tool that finds the number of possible tickets and the odds of winning the jackpot or smaller prizes, from the size of the pool and the numbers drawn.

What are the odds of winning a 6 from 49 lottery?

1 in 13,983,816, which is C(49, 6).

How is the chance of matching some numbers found?

C(T, M) × C(P − T, W − M) ÷ C(P, W), where T is the numbers on your ticket, W the numbers drawn and M the matches.

How do odds work with a bonus ball pool?

The chances of the two pools are multiplied. 5 from 69 plus 1 from 26 gives 1 in 292,201,338.

Does choosing certain numbers improve my chance?

No. Every combination is equally likely. Unusual numbers only reduce the chance of sharing a jackpot.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools