Home › Generators & Text Tools › Lottery Number Generator
Lottery Number Generator
This free Lottery Number Generator picks truly random numbers for the world's big lottery games — and for any local game you can describe. Choose a ready preset for a Powerball-style, Mega Millions-style, UK Lotto-style or classic 6/49 draw, or set your own number counts and ranges. Every set is drawn fresh in your browser using secure randomness; nothing is uploaded, tracked or saved.
Picking a preset fills in the boxes below. Change any box and the preset switches back to Custom.
Bonus balls are drawn from their own separate pool, just like in real Powerball and Mega Millions draws, so a bonus number can match a main number. With duplicates off, every number inside one pool is different.
Private by design: the draw happens in your browser and your numbers never leave this page.
How to use this tool
- Choose a game preset — Powerball-style, Mega Millions-style, UK Lotto-style or the classic 6/49 — or leave it on Custom.
- Set how many main numbers each set needs and the lowest and highest numbers allowed. If the game has bonus balls, set their count and range too.
- Choose how many sets you want (1 to 20), and whether the same number may appear twice inside one set.
- Press Generate Numbers. Your sets appear as balls, grouped set by set, with bonus balls in red.
- Press Copy All Numbers to save your picks, or generate again for a completely fresh set — the old one is cleared each time.
How it works
Each set is drawn with the Web Crypto API, the strong random number source built into your browser. When duplicates are off, the tool keeps drawing until it has collected the required count of different numbers, then sorts them for easy reading. Bonus balls are drawn separately from their own range, exactly as the real games do it.
The number of possible combinations for any game follows one formula. If a game picks k different numbers from a pool of n, the count is:
Your jackpot odds with one ticket are simply 1 in that number of combinations. The line under the tool works this out live for whatever settings you choose — try the presets and watch the odds jump. If duplicates are allowed, each place has the full range of choices, so the count becomes rangepicks instead; the tool handles that case too. Either way, remember what the formula is telling you: every single combination, however odd it looks, has exactly the same chance.
Worked example
Take the classic 6/49 game: six different numbers are picked from 1 to 49. How many possible combinations are there?
Step 1: Put n = 49 and k = 6 into the formula.
Step 2: C(49, 6) = (49 × 48 × 47 × 46 × 45 × 44) ÷ (6 × 5 × 4 × 3 × 2 × 1).
Step 3: The top line multiplies out to 10,068,347,520 and the bottom line to 720.
Step 4: 10,068,347,520 ÷ 720 = 13,983,816 combinations.
So one ticket in a 6/49 game has a 1 in 13,983,816 chance of the jackpot. If you generate five sets, you hold five of those combinations — five chances in 13,983,816. Better, but still a very long shot, which is exactly why the honest note below matters.
Odds for famous lottery games
| Game | Format | Possible combinations | Jackpot odds (one ticket) |
|---|---|---|---|
| Powerball (USA) | 5 from 1–69 + bonus 1 from 1–26 | 292,201,338 | 1 in 292,201,338 |
| Mega Millions (USA) | 5 from 1–70 + bonus 1 from 1–25 | 302,575,350 | 1 in 302,575,350 |
| UK Lotto | 6 from 1–59 | 45,057,474 | 1 in 45,057,474 |
| Classic 6/49 (India & worldwide) | 6 from 1–49 | 13,983,816 | 1 in 13,983,816 |
A note of honesty: random numbers have exactly the same chance as any numbers you choose yourself — birthdays, lucky numbers, or last week's winning line. No generator, including this one, can predict or improve a draw. Playing the lottery is entertainment, not income: buy a ticket for the fun of the daydream if you enjoy it, spend only what you can afford to lose, and never treat it as a way to earn money.
FAQ
How does this Lottery Number Generator work?
Choose a game preset or set your own rules: how many main numbers to pick, the lowest and highest numbers, and whether the game has bonus balls. Press Generate Numbers and the tool draws each set using your browser's secure random number generator — the same kind of randomness used for passwords. You can create up to 20 sets at once and copy them all with one click.
Are the numbers really random?
Yes. The tool uses the Web Crypto API (window.crypto), which produces strong random numbers with no pattern, weighting or favourite numbers. It does not track “hot” or “due” numbers, because in a fair lottery every number has exactly the same chance in every draw, whatever came up last week.
Do generated numbers have a better chance of winning?
No — and any tool that promises that is not being honest. Every combination has exactly the same chance: in a 6/49 game, 1, 2, 3, 4, 5, 6 is just as likely as any other set of six numbers. A generator's real value is speed and fairness: it stops you picking only birthdays, which limits your numbers to 31 or less, and gives you a genuinely mixed, unbiased pick in one click.
What are the odds of winning the jackpot in a 6/49 lottery?
There are C(49, 6) = 13,983,816 possible combinations of six numbers from 1 to 49, so one ticket has a 1 in 13,983,816 chance of matching all six. Games with more numbers or a bonus ball are harder still: the Powerball jackpot odds are 1 in 292,201,338. Buying more tickets improves your odds only in proportion — two tickets make it 2 in 13,983,816.
Can I use this for Powerball, Mega Millions or UK Lotto?
Yes. The presets include Powerball-style (5 numbers from 1–69 plus a bonus ball from 1–26), Mega Millions-style (5 from 1–70 plus 1 from 1–25), UK Lotto-style (6 from 1–59) and the classic 6 from 49 played in India and many other countries. If your local game is different, choose Custom and set the exact counts and ranges yourself.
Is playing the lottery a way to earn money?
No. A lottery ticket is entertainment — a small price for a daydream — not an income source or an investment. The odds are set so that, on average, players get back only part of what they spend. Play only with money you can afford to lose, never borrow money to play, and treat any win as a happy bonus, not a plan.