π° Lottery Number Generator
Random numbers for Powerball, Mega Millions, Pick 3, Pick 4, or your own custom game.
For entertainment only. Lottery tickets must be purchased from a licensed retailer. Must be of legal age in your state.
How to Use This Lottery Number Generator
Pick a game: Powerball, Mega Millions, Pick 3, Pick 4, or Custom. For a custom game, enter how many numbers to draw and the highest number in the range.
Click Generate Numbers. The main numbers appear as white balls, sorted for easy reading. The bonus ball (Powerball or Mega Ball) appears in color.
Do not like the set? Click Generate Numbers again to re-roll instantly. Use 5 Quick Picks for a full ticket of five plays.
Write your numbers down or screenshot them, then buy your ticket from a licensed retailer. This tool does not sell tickets.
How Powerball Works
Powerball draws 5 white balls from 1 to 69, plus 1 red Powerball from 1 to 26. Drawings happen three times a week. The jackpot starts at $20 million and rolls over until someone wins, which is how it climbs into the hundreds of millions. There are 9 prize tiers: matching just the Powerball wins $4, and matching all 5 white balls plus the Powerball wins the jackpot. The overall odds of winning any prize are about 1 in 25. The jackpot odds are 1 in 292,201,338, which is why rollovers are so common.
How Mega Millions Works
Mega Millions draws 5 white balls from 1 to 70, plus 1 gold Mega Ball from 1 to 24. It also starts at a $20 million jackpot and rolls over. Like Powerball, it has 9 prize tiers, with $2 for matching only the Mega Ball. The jackpot odds are slightly longer than Powerball at 1 in 302,575,350, and the overall odds of any prize are about 1 in 24. Both games offer a cash option (a lump sum worth much less than the advertised annuity) or the annuity paid over 30 years.
How Pick 3 and Pick 4 Work
Pick 3 and Pick 4 are daily numbers games with far better odds and far smaller prizes. Pick 3 draws 3 digits from 0 to 9, and Pick 4 draws 4 digits from 0 to 9. Digits can repeat, and order matters for a straight bet: 1-2-3 is different from 3-2-1. A straight Pick 3 win pays around $500 on a $1 bet (odds 1 in 1,000); a straight Pick 4 pays around $5,000 (odds 1 in 10,000). Box bets let your digits win in any order for a smaller prize. Because these games draw daily and hit often, many players use them as their regular low-stakes game.
Odds, Explained Honestly
Here is the math that matters: every combination has the same probability in every drawing. The machine does not remember last week's numbers, your birthday numbers are not luckier than a quick pick, and no system, pattern, or "hot numbers" list changes the odds by even a fraction. The one choice that does matter is avoiding the most popular combinations, like 1-2-3-4-5-6 or sequences of birthdays, because thousands of other players pick them too. If those numbers ever hit, the jackpot gets split many ways. A random set from this generator spreads you away from the crowd, which is the only free edge in the lottery.
A Note on Responsible Play
The lottery is entertainment, not an investment strategy and not a retirement plan. The expected return on a ticket is deeply negative: for every dollar spent, players collectively get back far less than a dollar. Set a small fixed budget you are comfortable losing completely, like the cost of a coffee, and never exceed it. Never borrow money to play, never chase losses, and never spend money meant for rent, bills, or savings. If playing stops being fun, or someone you know cannot stop, call or text 1-800-GAMBLER anytime for free, confidential support.
This generator produces random numbers for entertainment only and is not affiliated with any lottery.
Frequently Asked Questions
How are the lottery numbers generated?
Every draw uses your browser's built-in random number generator (Math.random), which produces a fresh unpredictable result on each click. Main numbers are drawn without repeats within a set, except in Pick 3 and Pick 4 where repeats are allowed because the real games allow them. Nothing is stored, shared, or reused between clicks.
Why are the main numbers sorted?
Sorting makes the numbers easier to read and compare with your ticket. The order you draw them in does not matter for Powerball or Mega Millions: you win as long as your numbers match the drawn set, regardless of order. Pick 3 and Pick 4 keep their drawn order because order matters in those games.
What are the odds of winning the Powerball jackpot?
About 1 in 292.2 million. That is the number of possible combinations: choose 5 from 69 (11,238,513 ways) times 26 possible Powerballs. Matching just the Powerball alone has odds of about 1 in 38, which is why small prizes hit far more often than the jackpot.
What are the odds of winning Mega Millions?
About 1 in 302.6 million for the jackpot: choose 5 from 70 (12,103,014 ways) times 24 possible Mega Balls. The overall odds of winning any prize are roughly 1 in 24. Mega Millions and Powerball are the two hardest jackpots in the US, and both have produced billion-dollar prizes.
What are the odds in Pick 3 and Pick 4?
Pick 3 straight (exact order) is 1 in 1,000. A Pick 3 box bet, where order does not matter, ranges from 1 in 167 to 1 in 333 depending on whether digits repeat. Pick 4 straight is 1 in 10,000. These games hit far more often than the big jackpots, but the payouts are much smaller.
Can this generator improve my chances of winning?
No, and neither can any other number picker. Every combination has exactly the same probability in every drawing, whether it is quick-picked, chosen by a generator, or picked from birthdays. The one real choice you have is avoiding popular number patterns (like 1-2-3-4-5 or all birthdays), which does not change your odds of winning but reduces the chance you split a prize with others who picked the same pattern.
Is playing the lottery a good investment?
No. Lotteries are entertainment with a negative expected return: on average, players get back far less than they spend. Treat ticket money like a movie ticket: a small amount you are comfortable losing for the fun of playing. Never spend money you need for bills, savings, or debt, and never chase losses. If playing stops being fun, call or text 1-800-GAMBLER for free confidential help.