Skip to content
Results from New York State open data · updated Dec 4, 2026, 4:17 PM ET18+ · Independent reference · No ticket sales
ToolFor fun

Number generator

Draws a random line for any game using your browser's cryptographic random source. A random line has exactly the same chance as any other line.

This tool needs JavaScript.

This is entertainment, not a system. No generator, pattern or statistic improves the odds of a lottery draw. The generator does not use past results and does not suggest that you should play.

What a line is up against

Our arithmetic from each game's published number pools.

GameA line isSize of the game
Powerball5 numbers from 1 to 69 plus 1 Powerball from 1 to 26292,201,338 possible combinations: C(69,5) x 26
Mega Millions5 numbers from 1 to 70 plus 1 Mega Ball from 1 to 24290,472,336 possible combinations: C(70,5) x 24
New York Lotto6 numbers from 1 to 5945,057,474 possible six-number combinations: C(59,6)
Take 55 numbers from 1 to 39575,757 possible five-number combinations: C(39,5)
Pick 1010 numbers from 1 to 801 in 8,911,711 chance that all ten chosen numbers are among the twenty drawn: C(80,10) / C(20,10)
Numbers3 digits, each from 0 to 91,000 possible three-digit results, 000 to 999: 10 x 10 x 10
Win 44 digits, each from 0 to 910,000 possible four-digit results, 0000 to 9999: 10 x 10 x 10 x 10