~ / life / lotto-generator

🎱 Lotto Number Generator

Draws fair random numbers for South Korea's Lotto 6/45, Powerball, Mega Millions or your own range. Pick numbers that must appear (fixed) or never appear (excluded) and generate up to 10 lines at once.

numbers
When I tap a number
result

    How to use the lottery number generator

    1. Choose a game: Korea Lotto 6/45 (6 numbers from 1–45), Powerball (5 from 1–69 plus a Powerball from 1–26), Mega Millions (5 from 1–70 plus a Mega Ball from 1–24) or Custom — any count from 1–20 numbers out of a range up to 99, handy for raffles, Pick-6 style state games or classroom draws.
    2. Under When I tap a number, choose Fixed or Excluded, then tap numbers on the board. Tap again to clear.
    3. Fixed numbers appear in every line (up to one fewer than the numbers drawn); excluded numbers never appear.
    4. Set how many lines (1–10) and tap Generate. Lines A–J are drawn at once — tap again as often as you like.
    5. Use copy to paste the numbers into a note or group chat, then fill them in on a play slip or enter them manually online.

    For Korea Lotto 6/45, ball colors follow the official draw: 1–10 yellow, 11–20 blue, 21–30 red, 31–40 gray, 41–45 green. Powerball is shown in red and the Mega Ball in gold. Fixed numbers get an outline.

    How are the numbers drawn?

    The generator uses your browser's cryptographic random number generator, crypto.getRandomValues, which is far less predictable than Math.random. The tiny bias you normally get when squeezing a random number into a range (modulo bias) is removed with rejection sampling. All remaining candidates are shuffled with the Fisher-Yates algorithm and the first ones are taken, so every remaining number has exactly the same chance. Numbers never repeat within a line; lines are independent, so two identical lines are possible but astronomically unlikely.

    Korea Lotto 6/45 odds

    In South Korea's Lotto 6/45 (로또 6/45, run by Dhlottery) you choose 6 numbers out of 45, so there are 45C6 = 45×44×43×42×41×40 ÷ 720 = 8,145,060 possible combinations. Each draw picks 6 winning numbers plus 1 bonus number. One line costs ₩1,000.

    PrizeMatchCombinationsOdds%Prize money
    1stAll 6 numbers11 in 8,145,0600.0000123%75% of the prize pool, shared by 1st-prize winners
    2nd5 numbers + bonus number61 in 1,357,5100.0000737%12.5% of the pool, shared
    3rd5 numbers (no bonus)2281 in 35,7240.0028%12.5% of the pool, shared
    4th4 numbers11,1151 in 7330.136%Fixed ₩50,000
    5th3 numbers182,7801 in 44.62.24%Fixed ₩5,000
    Any prize5th or better194,1301 in 422.38%-

    About half of ticket sales is paid back as prizes, so a ₩1,000 line returns about ₩500 on average before tax. In Korea, winnings up to ₩2 million per line are tax-free, the portion up to ₩300 million is taxed at 22% and anything above that at 33%.

    Powerball and Mega Millions odds

    GameFormatJackpot oddsPrice
    Powerball5 of 69 + 1 of 261 in 292,201,338 (69C5 × 26)$2
    Mega Millions5 of 70 + 1 of 241 in 290,472,336 (70C5 × 24)$5
    Korea Lotto 6/456 of 451 in 8,145,060₩1,000

    Game rules and prices change from time to time — always check the official lottery website before you play.

    Does a number generator improve your odds?

    No. No generator, "hot numbers" list or pattern system can change the odds. Every draw is independent, so every combination — including 1-2-3-4-5-6 — has exactly the same chance. This tool simply picks numbers fairly so you don't have to.

    The one thing you can influence

    You can't change your chance of winning, but you can change how many people you'd share a jackpot with. Lots of players pick birthdays (1–31), lucky 7s and neat patterns on the play slip, so those combinations are shared more often when they win. Random numbers avoid that crowding; if you want to force some high numbers in, fix one above 31.

    Handy uses

    Prize structures, prices and tax rates are as of October 2026 and may change; always confirm results with the official lottery operator (Dhlottery in Korea). You must be of legal age to buy lottery tickets (19+ in Korea; 18+ in most US states). Numbers are generated in your browser and are never stored or sent anywhere.

    FAQ

    What are the odds of winning Korea Lotto 6/45?
    The jackpot (1st prize) odds are 1 in 8,145,060 per line, because there are 45C6 = 8,145,060 ways to pick 6 numbers from 45. 2nd prize is 1 in 1,357,510, 3rd 1 in 35,724, 4th 1 in 733 and 5th about 1 in 44.6.
    Do random number generators increase my chances?
    No. Each draw is independent, so every combination has exactly the same odds. A generator only saves you from choosing — and random picks help you avoid popular combinations you might have to share.
    Can I use it for Powerball or Mega Millions?
    Yes. Choose Powerball (5 of 69 + Powerball 1–26) or Mega Millions (5 of 70 + Mega Ball 1–24). The last ball in each line is the Powerball or Mega Ball.
    How many numbers can I fix or exclude?
    You can fix up to one fewer than the numbers drawn (5 for Korea 6/45, 4 for Powerball) and exclude as many as you like as long as enough numbers remain to fill a line. A number cannot be both fixed and excluded.
    What do the Korean lotto ball colors mean?
    They mark number ranges: 1–10 yellow, 11–20 blue, 21–30 red, 31–40 gray and 41–45 green, matching the official draw broadcast.
    Can two lines come out the same?
    Lines are drawn independently, so it is possible, but for Korea 6/45 with no fixed numbers the chance two lines match is about 1 in 8.1 million. Just tap Generate again.

    Related tools