How to generate lottery numbers
- Choose the Lottery. Powerball is selected by default; Mega Millions, EuroMillions, Eurojackpot, 6/49, UK Lotto and others are in the same list.
- For a game that is not listed, choose Your own rules and set Main numbers and Out of, plus Extra numbers with their own range if the game has them.
- Set the number of Lines, from 1 to 10.
- Press Generate numbers or hit the Space key.
- Copy the lines. Before you fill in a ticket, check the current rules with the lottery operator.
Lotteries the generator knows
| Lottery | Rules | Jackpot odds |
|---|---|---|
| Powerball (USA) | 5 of 69 + 1 of 26 | 1 in 292,201,338 |
| Mega Millions (USA) | 5 of 70 + 1 of 24 | 1 in 290,472,336 |
| EuroMillions | 5 of 50 + 2 of 12 | 1 in 139,838,160 |
| Eurojackpot | 5 of 50 + 2 of 12 | 1 in 139,838,160 |
| UK Lotto | 6 of 59 | 1 in 45,057,474 |
| Megalot (Ukraine) | 6 of 42 + 1 of 10 | 1 in 52,457,860 |
| Super Loto (Ukraine) | 6 of 52 | 1 in 20,358,520 |
| 6/49 | 6 of 49 | 1 in 13,983,816 |
| 6/45 | 6 of 45 | 1 in 8,145,060 |
| 5/36 | 5 of 36 | 1 in 376,992 |
| 7/49 | 7 of 49 | 1 in 85,900,584 |
Numbers within a line are always different and sorted. Extra numbers — the Powerball, the Mega Ball, the EuroMillions Lucky Stars — are drawn separately and shown as balls of another colour, just as they come from a separate drum in the real draw.
Your own rules cover almost any other game, an office pool or a local raffle: from 1 to 20 main numbers out of up to 100, and from 0 to 5 extra numbers out of up to 50.
The most popular games also have their own pages: Powerball, Mega Millions, EuroMillions and Lotto 6/49.
How to read the odds
Under every result the page shows the rules, such as "5 of 69 + 1 of 26", and the jackpot chance computed from them. The number is simply the count of possible combinations: six numbers out of 49 can be chosen in 13,983,816 ways, and only one of them takes the top prize. In Powerball, 11,238,513 possible sets of white balls are multiplied by 26 possible Powerballs.
Big numbers are hard to picture, so here is one way to see them. Buy one Powerball line for every draw, three draws a week, and you would wait on average about 1.9 million years for a jackpot. Smaller prizes are far more likely, but most tickets win nothing at all.
Do random numbers improve your chances?
No. Every combination has exactly the same chance: 1-2-3-4-5-6 is as likely as any other line. No generator, system, "hot" or "cold" number or study of past results can predict a draw — the balls have no memory. A note under the result says this too.
What random numbers can do is help you avoid the patterns many people choose: birthdays (numbers up to 31), straight rows on the play slip, sevens. Combinations like these are played by thousands, so if one of them hits, the jackpot is split many ways. Random lines do not raise your odds of winning; they only make a shared prize a little less likely. And they settle the office-pool debate about whose numbers to play.
The numbers come from crypto.getRandomValues(), the secure generator built into your browser; nothing is sent to a server. More in the article on how the randomness works.
Before you buy a ticket
- This site sells no tickets, takes no bets and is not linked to any lottery or operator. The generated lines are not entries in any draw.
- Rules, number ranges and draw days change — Mega Millions, for example, reworked its game in April 2025. Always check the current rules with the official operator.
- Lottery tickets are for adults only; the minimum age is set by local law.
- Treat a ticket as the price of a little entertainment, not as a way to make money, and spend only what you can easily afford to lose.
Frequently asked questions
Can a lottery number generator predict the winning numbers?
No. Lottery draws are random, and every combination has the same chance. A generator saves you the trouble of choosing; it cannot make a line more likely to win.
Are the numbers really random?
Yes. Each number is drawn with crypto.getRandomValues(), the cryptographically secure generator in your browser, on your device. Every number in the range has the same chance, and nobody — including this site — can know or influence the result.
Can a number repeat within a line?
Not among the main numbers: they are always different and sorted. Extra numbers are drawn separately from their own range, so the Powerball can be the same number as one of the white balls, just as in the real draw.
How do I generate numbers for a lottery that isn't on the list?
Choose Your own rules in the Lottery field and enter how many main numbers are drawn and Out of how many; add extra numbers if the game has a bonus ball. The odds under the result are calculated for your rules.
Is a quick pick better than choosing my own numbers?
The odds of winning are identical. The only difference is that random numbers are less likely to match the popular patterns other players choose, so a winning random line is less likely to share the jackpot.
Can I buy tickets on this site?
No. The site sells no tickets and has no connection to any lottery operator. Buy tickets only from the official operator or its authorised retailers.