Loona Calculators
Loona Calculators › Fun › Lottery Number Generator

🍀 Lottery Number Generator

Pick your game and generate a full set of lottery numbers in one tap — official presets for Powerball, Mega Millions, EuroMillions and the UK Lotto, or build a custom draw for any lottery in the world. Numbers are drawn with secure randomness and shown sorted, just like a real ticket.

How to use the Lottery Number Generator

  1. Choose your lottery game from the list (or Custom for any other lottery).
  2. For a custom game, set how many main and bonus numbers there are and how large each pool is.
  3. Press Generate Lucky Numbers — press again for a completely new set.
Example: For EuroMillions, the generator draws 5 different main numbers from 1–50 and 2 Lucky Stars from 1–12 — for example 7 · 15 · 23 · 34 · 48 with stars 3 · 9. Any other combination, including 1 · 2 · 3 · 4 · 5, is exactly as likely.

Frequently Asked Questions

Do generated numbers improve my chances of winning?

No — and any tool that claims otherwise is misleading you. Every valid combination has exactly the same probability, whether you pick it, a machine picks it, or it is 1-2-3-4-5-6. A generator is simply a fair, fast way to choose.

What are the jackpot odds for each game?

Powerball: 1 in 292,201,338. Mega Millions: 1 in 290,472,336 (current format since April 2025). EuroMillions: 1 in 139,838,160. UK Lotto: 1 in 45,057,474. For perspective, you are far more likely to be struck by lightning in your lifetime than to win a jackpot.

Why are the numbers shown sorted?

Real draws are unordered, but tickets and results are conventionally printed in ascending order so you can compare them easily. Sorting is only presentation — it does not change the combination or its odds.

Related Calculators

🎲

Random Number Generator

Fun

🎲

Dice Roller

Fun

🪙

Coin Flip

Fun

❤️

Love Calculator

Fun

%

Percentage Calculator

Maths

How it works — the formula

The generator draws without replacement from each pool using the secure random source (crypto.getRandomValues with rejection sampling), so every combination of the right size is equally likely. The number of possible combinations of a game with pool size n and pick k is the binomial coefficient C(n, k) = n! ÷ (k! × (n−k)!); games with a separate bonus pool multiply the main combinations by the bonus pool size.

Worked example

Example (UK Lotto): C(59, 6) = 59! ÷ (6! × 53!) = 45,057,474 possible combinations — hence jackpot odds of 1 in 45,057,474 per ticket line. For Powerball: C(69, 5) = 11,238,513 main combinations × 26 Powerballs = 292,201,338.

Frequently asked questions

Can a number repeat inside one set?

Main numbers are always unique within a set, matching how real lotteries draw without replacement. Bonus numbers (like the Powerball) come from a separate pool, so a bonus number can coincidentally equal a main number — exactly as in the real game.

Should I avoid 'unlucky' or popular numbers?

It makes no difference to your chance of winning, but it can affect the prize if you win: combinations many people play (birthdays 1–31, patterns, famous sequences) are shared with more winners. Unpopular-looking combinations do not win more often — they just tend to be shared less.

Is this tool affiliated with any lottery?

No. Loona Automation is not affiliated with Powerball, Mega Millions, EuroMillions, the UK National Lottery or any operator. Always check the official rules, pools and draw schedules for your game, and play responsibly — never spend money you cannot afford to lose.

Embed this calculator on your website — free

Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.