Random Number Generator — Powerball & Mega Millions

🎲 True Random Number Generator
Cryptographically secure numbers via Web Crypto API — generate, test against historical draws, and save your picks
🎲
Generate Numbers crypto.getRandomValues() — cannot be predicted
🔒 All numbers generated locally using cryptographically secure random values. Nothing leaves your browser.

🔒 How the generator works

Each number comes from your browser's cryptographic random number generator (crypto.getRandomValues), the same source used to create encryption keys. Every white ball and every Powerball or Mega Ball has the same chance, no number can repeat within a line, and nothing is sent to our server: the numbers are made on your device. The two options above only filter the results (no runs like 12-13-14, no line with all five numbers in one decade); they don't make a line more likely to win.

🎲 Is a random line as good as picking your own?

Yes. The drawing machines don't know which numbers are "hot", "cold" or someone's birthday, so every possible line has exactly the same chance: 1 in 292,201,338 for the Powerball jackpot and 1 in 290,472,336 for Mega Millions. Quick picks win jackpots about as often as they are played, simply because many tickets are quick picks.

There is one real difference: sharing. Many players choose birthdays (so numbers up to 31), patterns on the play slip, or the same "lucky" numbers. If such a line wins the jackpot, it is more likely to be split with other tickets. A random line spreads across the whole range, so if it does win, it is less likely to be shared. It can't improve your odds of winning, only the size of the share if you do. (We measured which numbers people over-pick from 1,411 Powerball prize tables: see the results.)

🔍 What "Test vs History" shows

It checks the generated lines against past draws and shows how they would have done. That is a fun look back, not a forecast: a line that would have won before is no more likely to win next time. To check any line against every draw since 2016, use Have my numbers ever won?