NY Win 4 Number Generator
Generate random NY Win 4 numbers - Pick 4 digits from 0-9
Generate random New York Win 4 numbers: four digits from 0-9, unsorted and with repeats, giving one of the 10,000 results from 0000 to 9999. A $1 Win 4 Straight pays $5,000, ten times the three-digit game, and the four-digit format brings four different Box sizes. Generate a batch, sort out which Box each number qualifies for, and take it to a New York Lottery retailer.
What is New York Win 4?
Win 4 is the New York Lottery's four-digit game. Every drawing produces one number between 0000 and 9999, with the midday drawing at 2:30 PM ET and the evening drawing at 10:30 PM ET, seven days a week. All prizes are fixed by the game rules rather than shared, and they are large for a daily game: $5,000 for a $1 Straight and $25,000 for the $5 maximum.
The extra digit changes more than the odds. With four positions there are five possible shapes of number, from four different digits (like 2581) to four of a kind (like 6666), and each shape has its own Box prize. That makes the "which bet fits this number?" question much more important in Win 4 than in a three-digit game, so this page spends most of its space on it.
How to Play New York Win 4
A plain Quick Pick at the terminal is entered as a 50-cent Straight on the next drawing. Bringing generated numbers lets you pick a $1 Box or a Straight/Box instead.
New York Win 4 Prize Structure
Fixed Win 4 prizes at 50 cents and $1; larger wagers multiply the 50-cent prize.
Odds: Straight 1 in 10,000; 4-Way Box 1 in 2,500; 6-Way 1 in 1,667; 12-Way 1 in 833; 24-Way 1 in 417; each Pair 1 in 100. A $5 Straight pays $25,000.
Checked: 2026-11-04, source: 9 NYCRR 5010.2 (Win-4), the Win-4 rules published by the New York State Gaming Commission. Draw times and features on sale can change; see nylottery.ny.gov.
The Five Shapes of a Win 4 Number
Every four-digit result falls into one of five patterns. The count of each shows how often the generator (or the Lottery's drawing) produces it:
Half of all generated numbers have four different digits, and almost all the rest have a single pair. Those two common shapes carry the smallest Box prizes ($200 and $400 on $1), because a Box on them wins on 24 or 12 different orders. The rare shapes pay more per Box since fewer orders win: a 4-way number such as 9919 returns $1,200 on $1. Quads like 0000 have only one arrangement, so they can be played Straight but not boxed.
Straight/Box and Combination Tickets in Win 4
Straight/Box ($1 ticket)
Half the dollar goes on a Straight and half on a Box of the same number. If the digits come out in exact order you collect both halves: $2,600 for an all-different number, $2,700 for one pair, $2,900 for two pairs and $3,100 for three of a kind. If they come out in another order you collect only the 50-cent Box prize, from $100 to $600.
Combination
A Combination buys a separate Straight on every order of your digits, so any order pays the full Straight prize. The price grows with the shape: 24 Straights for a number like 1234 ($12 at 50 cents each), 12 for 1233 ($6), 6 for 1122 ($3) and 4 for 1112 ($2).
Front Pair and Back Pair
The Front Pair is the first two digits and the Back Pair the last two, so in Win 4 the pairs never share a digit. With 4-8-1-5 drawn, 48 wins Front Pair and 15 wins Back Pair, each at 1 in 100 for $50 on $1.
Lucky Sum and Close Enough on Four Digits
The Win 4 rules also define two side bets. Lucky Sum ($1 minimum) pays when your four digits add up to the same total as the drawn digits. Totals run from 0 to 36; 18 is the most common, made by 670 of the 10,000 numbers and paying $7.50, while 0 and 36 need 0000 or 9999 and pay $5,000. It cannot be combined with Pair or Close Enough bets.
Close Enough wins when every digit is right or one away in the same position (9 and 0 count as neighbours). On $1 it pays $2,500 for an exact match, $124 with one digit off by one, $24 with two, $14 with three and, oddly, $32 with all four off by one; any Close Enough prize comes up about 1 time in 123.
Related New York Lottery Games
NY Numbers (Pick 3)
The three-digit version: 1,000 results, a $500 Straight, only two Box sizes (3-way and 6-way) and pairs that share the middle digit.
NY Pick 10
A keno-style game: choose 10 numbers from 1 to 80, the Lottery draws 20, and matching all 10 pays $500,000.
Want a quick pick for every New York game at once? Use the NY lottery number generator.
Turning a Generated Number into a Win 4 Bet
- _ Count the repeats: no repeat means a 24-way Box, one pair a 12-way, two pairs a 6-way, a triple a 4-way
- _ Budget for Combinations: a 24-way Combination costs $12 at the minimum, so check the shape before asking for one
- _ Keep the digit order: the generator never sorts, so the number reads the way a Straight or Pair is played
- _ Use half a number: the first two or last two digits of any result make a ready Front or Back Pair
- _ Plan ahead: export a week's worth and fill slips for up to six drawings at once
⚠️ Play Responsibly
A $5,000 prize on 1 in 10,000 odds
- The fixed Straight prize returns half the stake on average: over 10,000 one-dollar plays you would expect one $5,000 win
- At two drawings a day, 10,000 plays is more than 13 years of $1 Straights; random digits do not shorten that
- 18 or older only. Help: 1-877-8-HOPENY or NYProblemGamblingHelp.org, and our responsible play guide.
How NY Win 4 Digit Generation Works
Four independent secure draws of a digit from 0 to 9, written down in the order they were made. Nothing is sorted or removed, so all five shapes appear at the same rate they would in a real Win 4 drawing.
NY Win 4: one ticket
d = [secure_random_int(0, 9) for _ in 1..4] # order kept
number = d1 d2 d3 d4 # 0000 .. 9999
shape = count of each digit in d
{1,1,1,1} -> 24-way box
{2,1,1} -> 12-way box
{2,2} -> 6-way box
{3,1} -> 4-way box
{4} -> straight only
front pair = d1 d2 back pair = d3 d4
P(exact number) = 1/10,000