Skip to content

Lottery number generator

Generate random picks for Powerball, Mega Millions, a 6/49 lotto, a 5/39 game or any custom format. Make several lines at once and see the jackpot odds for each line.

  • Free, no limits
  • No sign-up
Everything happens in your browser; your data is never uploaded.
  • ✓ Free
  • ✓ No sign-up
  • ✓ Nothing uploaded

Next step

What to do next

How to use it

  1. Choose the game, or Custom.
  2. For Custom, set how many numbers and the highest number.
  3. Set the number of lines (1–20).
  4. Click Generate numbers and copy them.
Try it now

Supported games

GameMain numbersExtra ballJackpot odds per line
Powerball5 of 1–691 of 1–26 (Powerball)1 in 292,201,338
Mega Millions5 of 1–701 of 1–24 (Mega Ball)1 in 290,472,336
Lotto 6/496 of 1–49—1 in 13,983,816
Pick 5 (5/39)5 of 1–39—1 in 575,757

Many state lotteries use their own ranges, so pick Custom and enter how many numbers are drawn and the highest number. Game rules change from time to time; check your lottery's official site for the current format.

How the odds are calculated

The jackpot odds are the number of possible combinations. For a game where you pick k numbers from 1 to n, that's the binomial coefficient C(n, k) = n! ÷ (k! × (n − k)!). For Powerball, C(69, 5) = 11,238,513 combinations of white balls, times 26 possible red Powerballs, gives 292,201,338. The tool shows the odds for whatever game you choose, including custom ones. Smaller prizes have better odds, but they depend on each game's prize table.

Random numbers vs. your own picks

Every combination has exactly the same chance of being drawn, including 1-2-3-4-5. Random numbers don't improve your odds of winning. They can, however, affect how much you'd share: many players pick birthdays, so numbers up to 31 are chosen more often, and a jackpot won with popular numbers is more likely to be split. Random picks spread across the whole range avoid that pattern. That's also what "quick pick" at the counter does.

How the numbers are drawn

Within each line, the main numbers are all different and sorted in ascending order, like on a ticket. The extra ball (Powerball or Mega Ball) is drawn separately, so it can match one of the main numbers. Numbers come from your browser's cryptographic random generator. Lines are independent of each other. Copy all lines as text to keep them, or fill them in on your ticket or the official lottery app.

Need numbers for an office pool? Generate one line per ticket, up to 20 at a time, and paste the copied text into the group chat so everyone can see the picks before the draw. Each line is labeled (Line 1, Line 2 and so on), and the extra ball is separated from the main numbers with a vertical bar so it's easy to fill in a play slip correctly.

Play responsibly

Lotteries are entertainment, and the expected return on a ticket is less than its price. Only spend what you can afford to lose, and only play if you're of legal age in your state. If gambling stops being fun, help is available: in the US, call or text 1-800-GAMBLER. This tool isn't affiliated with any lottery and can't check tickets or results.

Frequently asked questions

What are the odds of winning the Powerball jackpot?

1 in 292,201,338 per line.

Do random lottery numbers win more often?

No. Every combination has the same chance. Random picks may help you avoid sharing a jackpot with people who chose popular numbers.

Can the Powerball match a white ball number?

Yes. The Powerball comes from a separate drum (1–26), so it can be the same number as one of the five white balls.

Can I generate numbers for my state's lotto?

Yes. Choose Custom and enter how many numbers are drawn and the highest number.

Last updated: November 12, 2026

Recommended

Similar tools

If Lottery number generator helped, you may need these too.

See all in category →

People also use