Lottery Number Generator
Generate random quick-pick lines for Powerball, Mega Millions, EuroMillions, EuroJackpot, UK Lotto, Canada Lotto 6/49 or your own game, with exclusions and the exact jackpot odds. Numbers are drawn privately in your browser with a secure random generator.
Exclude numbers and options
Numbers are drawn with your browser's cryptographically secure random generator (crypto.getRandomValues). Every combination has exactly the same chance of winning: no generator, "hot" or "cold" numbers or strategy can improve your odds. Check game rules and prices with your official lottery operator and play responsibly.
How to use the Lottery Number Generator
- Choose a lottery game from the list, or Custom game to set your own rules.
- Set the number of lines you want to play (1 to 50).
- Open Exclude numbers to leave out numbers or ranges, such as 13 or 1-9.
- Press Generate numbers to draw new quick picks; the jackpot odds are shown below.
- Copy or download your lines and enter them at an official retailer or website.
Jackpot odds by game
Odds for one line, calculated as C(main pool, main picks) × C(bonus pool, bonus picks). Rules as of 2026; always check your official lottery operator before playing.
| Game | You pick | Combinations | Jackpot odds |
|---|---|---|---|
| Powerball (US) | 5 from 69 + 1 from 26 | 11,238,513 × 26 | 1 in 292,201,338 |
| Mega Millions (US, since April 2025) | 5 from 70 + 1 from 24 | 12,103,014 × 24 | 1 in 290,472,336 |
| EuroMillions | 5 from 50 + 2 from 12 | 2,118,760 × 66 | 1 in 139,838,160 |
| EuroJackpot | 5 from 50 + 2 from 12 | 2,118,760 × 66 | 1 in 139,838,160 |
| UK Lotto | 6 from 59 | 45,057,474 | 1 in 45,057,474 |
| Canada Lotto 6/49 | 6 from 49 | 13,983,816 | 1 in 13,983,816 |
The math behind lottery odds
Choosing k different numbers from n, when order does not matter, gives C(n,k) = n! / (k! × (n − k)!) combinations. For Lotto 6/49: C(49,6) = (49 × 48 × 47 × 46 × 45 × 44) / (6 × 5 × 4 × 3 × 2 × 1) = 13,983,816. A separate bonus pool multiplies the total: EuroMillions has C(50,5) = 2,118,760 main combinations and C(12,2) = 66 Lucky Star pairs, so 139,838,160 in all.
Buying several different lines raises your chance proportionally: 10 Powerball lines give 10 in 292,201,338, or about 1 in 29.2 million. That is why the generator avoids identical lines by default.
Facts that matter more than "lucky" numbers
- Every combination is equally likely. 1-2-3-4-5-6 has exactly the same chance as any other line.
- Past draws do not matter. Balls have no memory, so "hot" and "cold" numbers do not predict anything.
- Popular numbers can mean shared prizes. Many players pick dates, so numbers 1-31 are over-represented; random picks across the whole range spread your choices.
- Set a budget. Treat tickets as entertainment, never as an investment. If gambling stops being fun, contact a support service in your country.
Need random numbers for something else? Use the Random Number Generator or roll the Dice Roller.
Frequently asked questions
Are the numbers really random?
Yes. The generator uses your browser's cryptographically secure random number generator (crypto.getRandomValues) with rejection sampling, so every number in the range has exactly the same chance and no number repeats within a line.
Can a number generator improve my chances of winning?
No. Every combination has the same probability in a fair draw, so no generator, pattern, birthday system or hot and cold numbers can improve your odds. Random picks can only help in one small way: they avoid popular patterns (like birthdays), so if you win you are less likely to share the prize.
What are the odds of winning the Powerball jackpot?
1 in 292,201,338. You must match 5 white balls from 69, which is C(69,5) = 11,238,513 combinations, and the Powerball from 26: 11,238,513 × 26 = 292,201,338.
What changed in Mega Millions in 2025?
From the April 8, 2025 draw, the Mega Ball range was reduced from 1-25 to 1-24, while the 5 white balls stay 1-70. The jackpot odds are now 1 in 290,472,336 (C(70,5) × 24). The base price also rose to $5 per play with a built-in multiplier.
How are the odds calculated?
For a game where you pick k numbers from n plus j bonus numbers from m, the number of combinations is C(n,k) × C(m,j), where C(n,k) = n! / (k! (n − k)!). The jackpot odds for one line are 1 in that number, and with several different lines they improve proportionally.
Does excluding numbers change my odds?
No. Each line still has the same chance of winning the jackpot. Excluding numbers only changes which combinations the generator can pick for you.
Do you store my numbers?
No. Lines are generated locally and are not saved or sent anywhere. Only your chosen game and settings are remembered in this browser.