A Complete Guide to Lottery Number Generation

This guide explains how the three lottery games supported by this site work—Powerball, Mega Millions, and Korean Lotto 6/45—including official rules, real odds, prize tier breakdowns, and a plain-English explanation of how random number generators produce lottery combinations. Use the generator on the home page after reading to see it in action.

Powerball — America's Flagship Lottery

Powerball is the largest lottery game in the United States by jackpot history. It is administered by the Multi-State Lottery Association (MUSL) and sold across 45 states, Washington D.C., Puerto Rico, and the U.S. Virgin Islands. The game launched in April 1992 as a successor to Lotto America and has since become the global reference point for what a record-breaking lottery jackpot looks like.

How to Play Powerball

Each Powerball ticket requires picking 5 main numbers from 1 to 69 and 1 Powerball number from a separate pool of 1 to 26. Drawings are held three times per week—Monday, Wednesday, and Saturday evenings at 10:59 p.m. ET. The jackpot starts at $20 million and rolls over with each drawing that produces no jackpot winner, sometimes climbing into the hundreds of millions or, in exceptional cases, exceeding one billion dollars. Tickets cost $2 each, and players can add the Power Play multiplier for $1 more, which multiplies non-jackpot prizes by 2×, 3×, 4×, 5×, or 10×.

Powerball Odds and Prize Tiers

Powerball has nine prize tiers. Matching all five main numbers plus the Powerball gives the jackpot, with odds of approximately 1 in 292,201,338. The overall odds of winning any prize are about 1 in 24.9. Other prize tiers (from highest to lowest):

  • 5 numbers + no Powerball — $1,000,000 (odds: ~1 in 11,688,053)
  • 4 numbers + Powerball — $50,000 (odds: ~1 in 913,129)
  • 4 numbers + no Powerball — $100 (odds: ~1 in 36,525)
  • 3 numbers + Powerball — $100 (odds: ~1 in 14,494)
  • 3 numbers + no Powerball — $7 (odds: ~1 in 580)
  • 2 numbers + Powerball — $7 (odds: ~1 in 701)
  • 1 number + Powerball — $4 (odds: ~1 in 92)
  • 0 numbers + Powerball — $4 (odds: ~1 in 38)

Notable Powerball Jackpots

  • $2.04 billion — November 7, 2022 (single winner, California; the largest lottery jackpot ever recorded)
  • $1.586 billion — January 13, 2016 (3 winners across California, Florida, and Tennessee; the first jackpot to surpass $1 billion)
  • $768.4 million — March 27, 2019 (single winner, Wisconsin)
  • $730 million — January 20, 2021 (single winner, Maryland)
  • $699.8 million — October 4, 2021 (single winner, California)

Mega Millions — The Other Major US Lottery

Mega Millions covers the same broad US geographic footprint as Powerball and has produced several of the largest jackpots in history. It launched in 1996 under the name The Big Game, rebranded to Mega Millions in 2002, and underwent a significant format restructuring in October 2017 that increased both the main ball pool size and the starting jackpot. The game is operated by a consortium of state lotteries and shares the same retail network as Powerball.

How to Play Mega Millions

Each Mega Millions ticket picks 5 main numbers from 1 to 70 and 1 Mega Ball from a separate pool of 1 to 25. Drawings happen Tuesday and Friday evenings at 11:00 p.m. ET. The jackpot starts at $20 million and rolls over until won. Tickets cost $2, with an optional Megaplier add-on for $1 that multiplies non-jackpot prizes by 2×, 3×, 4×, or 5×.

Mega Millions Odds and Prize Tiers

The jackpot odds are approximately 1 in 302,575,350—slightly longer than Powerball's. The overall odds of winning any Mega Millions prize are about 1 in 24. Prize tiers:

  • 5 numbers + no Mega Ball — $1,000,000 (odds: ~1 in 12,607,306)
  • 4 numbers + Mega Ball — $10,000 (odds: ~1 in 931,001)
  • 4 numbers + no Mega Ball — $500 (odds: ~1 in 38,792)
  • 3 numbers + Mega Ball — $200 (odds: ~1 in 14,547)
  • 3 numbers + no Mega Ball — $10 (odds: ~1 in 606)
  • 2 numbers + Mega Ball — $10 (odds: ~1 in 693)
  • 1 number + Mega Ball — $4 (odds: ~1 in 89)
  • 0 numbers + Mega Ball — $2 (odds: ~1 in 37)

Notable Mega Millions Jackpots

  • $1.602 billion — August 8, 2023 (single winner, Florida)
  • $1.537 billion — October 23, 2018 (single winner, South Carolina)
  • $1.35 billion — January 13, 2023 (single winner, Maine)
  • $1.337 billion — July 29, 2022 (single winner, Illinois)
  • $656 million — March 30, 2012 (3 winners; at the time, a world record)

Korean Lotto 6/45

The Korean Lotto 6/45 (로또 6/45) is South Korea's national lottery game, operated by the Korea Lottery Commission (동행복권) under authorization from the Ministry of Strategy and Finance. It launched on December 7, 2002, and has run every Saturday since without a major format change—making it one of the most consistent lottery datasets in the world. Draw broadcasts air live on MBC every Saturday evening and draw large audiences across the country.

How to Play Korean Lotto 6/45

Players select 6 numbers from 1 to 45. During each draw, 6 main numbers and 1 bonus number are drawn from a pool of 45 balls. The bonus number is used only for second-prize determination: if you match exactly 5 of the 6 main numbers plus the bonus number, you win 2nd prize instead of 3rd. Drawings are held every Saturday at 8:35 p.m. KST. Tickets cost ₩1,000 each and can be purchased at authorized retailers or through the official online platform.

Korean Lotto Odds and Prize Tiers

Matching all 6 main numbers gives the 1st prize jackpot, with odds of approximately 1 in 8,145,060—significantly more favorable than either US game, though prize amounts are correspondingly smaller. The prize pool is 50% of total ticket revenue for that draw week, distributed among winners. Prize tiers:

  • 1st prize: 6 main numbers — jackpot (split equally among winners)
  • 2nd prize: 5 main numbers + bonus number — fixed share (~₩55 million per winner)
  • 3rd prize: 5 main numbers — fixed share (~₩1.5 million per winner)
  • 4th prize: 4 main numbers — ₩50,000 fixed
  • 5th prize: 3 main numbers — ₩5,000 fixed

Understanding Lottery Odds

All three games use a combination format—the order in which balls are drawn does not matter, only whether your selected numbers match the drawn set. The number of possible distinct combinations determines the jackpot odds:

  • Powerball: C(69,5) × 26 = 11,238,513 × 26 = 292,201,338
  • Mega Millions: C(70,5) × 25 = 12,103,014 × 25 = 302,575,350
  • Korean Lotto 6/45: C(45,6) = 8,145,060

Each ticket you buy covers exactly one of those combinations, giving you exactly one chance at each odds level. Buying more tickets in the same drawing increases your chances proportionally—two tickets give you a 2-in-292-million chance—but the odds remain astronomically small regardless of how many you buy.

Choosing "hot" or "cold" numbers does not change these odds. Each drawing is a statistically independent event. A ball that has appeared frequently in recent draws has exactly the same 1-in-69 (or 1-in-45) probability of appearing in the next draw as any other ball. The belief that past results predict future independent events is known as the Gambler's Fallacy—one of the most common errors in probabilistic thinking—and it does not apply to properly conducted lottery draws.

How This Random Number Generator Works

This tool uses JavaScript's built-in Math.random() function, which produces pseudo-random numbers—sequences generated by a deterministic algorithm initialized with a seed value derived from the current system time. While not cryptographically random, PRNG output is statistically sufficient for lottery number selection: every valid combination has an equal probability of being produced, and the output is statistically indistinguishable from true randomness for this purpose.

The historical matching feature works by comparing each generated set against a database of over 4,000 real US jackpot draws and 1,200+ Korean Lotto draws. When a generated set exactly matches a past winning combination, the generator displays the draw date and details. This feature is for curiosity and engagement—a collision between random generation and the historical archive. It does not affect the probability of any future draw. Visit the About page for full details on data sources and update frequency, and try the Jackpot Match Simulator to see what a confirmed match looks like.

Responsible Gaming

Lotteries are a form of entertainment with a negative expected value. For every $2 spent on a Powerball ticket, the average return across all prizes—weighted by probability—is roughly $0.98 when jackpots are at the minimum starting level, and this expected value falls further once federal and state taxes on large prizes are factored in. Over the long run, lottery players as a group always lose more than they win in aggregate; the prize pool is funded by the majority of players who win nothing or win small amounts.

  • Set a fixed weekly or monthly lottery budget and treat it as an entertainment expense, like a movie ticket or a meal out.
  • Never buy lottery tickets with money reserved for rent, bills, food, or savings.
  • Lottery tickets are not an investment strategy. Statistically, you should expect to lose the full amount you spend over a large number of plays.
  • Chasing losses—buying more tickets because you have not won—is a warning sign of problem gambling behavior.
  • If you or someone you know shows signs of problem gambling, contact the National Council on Problem Gambling at 1-800-522-4700 (US) or 1577-0024 (Korea).

This site is not affiliated with Powerball, Mega Millions, MUSL, or the Korea Lottery Commission. It is an independent educational resource. See the About, FAQ, and Terms of Use pages for more information.

Disclaimer: For entertainment only. Not gambling advice. Verify official rules and current jackpot amounts at the official lottery websites before purchasing tickets. Check your local laws regarding lottery participation.