Lottery number generator
Drawn in your browser · nothing stored
Six distinct numbers between one and forty-nine, plus a bonus ball taken from the forty-three left in the drum. Every line is drawn uniformly, which is the whole of what a lottery generator can offer: no set of six is likelier to come up than any other.
How to generate a lottery line
A six-from-49 draw has 13,983,816 possible lines, so one ticket matches all six with a probability of 1 in 13,983,816 whichever numbers are on it. Smaller prizes are on a different scale entirely: there are 20 ways for three of your six to be right and 12,341 ways for the other three balls to miss you, giving 246,820 three-match lines, or roughly one entry in 57. Both figures are fixed by the shape of the game. Nothing on this page moves them, and no method anywhere else does either.
What a random line is actually good for
It cannot make you win more often. It can stop you sharing when you do. Jonathan Simon, analysing the combinations UK National Lottery players chose for themselves, found selection is anything but uniform: low numbers are heavily overplayed because dates crowd 1 to 31, and combinations that make a shape on the ticket grid attract far more entries than their share. Every one of those lines comes up exactly as often as any other, and splits the prize far more often when it does. A line reaching above 31 is the same bet held by fewer people.
Two beliefs that cost money
A number absent for forty draws is neither due nor overdue. Each draw starts from the same 49 balls with no record of the last one, so the absence carries no information at all. The same error inverted is the hot number, where a run of appearances gets read as a bias in the machine. Both survive because genuine randomness looks lumpier than people expect: with six balls drawn from 49, most numbers are absent most weeks, and long gaps are the ordinary state rather than a signal.
What this page does
The six main numbers are drawn without replacement, then the bonus is taken from the forty-three still in the drum, so it can never repeat one of them. The draw uses crypto.getRandomValues with rejection sampling rather than a modulus: reducing a 32-bit value modulo 49 would quietly favour the low numbers, and a lottery page is the worst place to carry a low-number bias. Format varies more than people assume. EuroMillions is five from 50 plus two from 12, which is 139,838,160 combinations; the US Powerball is five from 69 plus one from 26, or 292,201,338; Germany’s 6aus49 uses this shape with a single-digit Superzahl in place of a bonus ball.
What people use it for
- Filling a syndicate line without arguing over whose birthday goes in
- Getting a line that reaches above 31, where fewer people play
- Drawing numbers for an office sweepstake or a raffle
- Filling a multi-line slip a line at a time, pressing again for each
- Fixing a seed so the line can be verified after the draw
Questions
No. Every combination has identical odds: one in 13,983,816 for six from 49. No selection method changes that, and any page claiming otherwise is selling something.
About one in 57. There are 246,820 lines that match exactly three of the six, out of 13,983,816 in total.
Not to win more often, but to share less. Dates crowd the numbers 1 to 31, so those lines split the jackpot more often when they do come up.
No. Each draw begins with the same 49 balls and no memory of the last one, so a forty-week absence tells you nothing about the next draw.
The same mistake facing the other way. A number appearing three weeks running is what randomness looks like, not evidence the machine favours it.
The odds are identical. The only difference is that a machine will not avoid consecutive numbers or cluster on dates, which is where human selection loses money to sharing.
The forty-three balls left after the main six, so it can never duplicate one of them. That mirrors how a bonus is drawn in a physical machine.
It generates six from 49 plus a bonus. EuroMillions, Powerball and most US state games use a different shape, so check yours before copying the line onto a slip.
Type a seed before drawing. The same seed always produces the same line, which is how a syndicate can check afterwards that nobody changed it.
Because it is not built to be unpredictable and its output is not uniform once you take a modulus. This page draws from the browser’s cryptographic generator and rejects values that would skew the range.
No. It is a random number generator. The expected return on a lottery ticket is negative by design, so only ever play with money you can afford to lose.