▶ Random Everything - 100+ Free Generators // v2.11.7
root@generate-random:~/newyork-win4$ _

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

STEP 1: Write a four-digit number, 0000 to 9999 (repeats allowed)
STEP 2: Choose Straight, a Box, Straight/Box, Combination, or a Front or Back Pair
STEP 3: Bet 50 cents to $5 per play, in 50-cent steps
STEP 4: Mark Midday and/or Evening, now or up to six drawings ahead
PRIZE: $5,000 for $1 in exact order, 1 chance in 10,000

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.

BET TYPE 50¢ $1
Straight (exact order)$2,500$5,000
4-Way Box (1112)$600$1,200
6-Way Box (1122)$400$800
12-Way Box (1233)$200$400
24-Way Box (1234)$100$200
Front or Back Pair$25$50

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:

SHAPE NUMBERS SHARE
All different (24-way)5,04050.4%
One pair (12-way)4,32043.2%
Three of a kind (4-way)3603.6%
Two pairs (6-way)2702.7%
Four of a kind (Straight only)100.1%

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

API Access for Developers

GET https://generate-random.org/api/v1/generate/lottery?main_numbers_min=0&main_numbers_max=9&main_numbers_count=4&sort=false
VIEW FULL API DOCUMENTATION →

Frequently Asked Questions

Can these digits actually win NY Win 4 prizes? ▶
Yes, if they match the drawing, like any number on a slip. Each generated number is a valid Win 4 play with the same 1 in 10,000 Straight chance as every other number from 0000 to 9999. The tool does not look at past draws and cannot raise those odds.
Which Box should I play with my number? ▶
The number decides it. Four different digits (such as 3708) is a 24-way Box paying $200 on $1; one repeated digit (3778) a 12-way paying $400; two pairs (3377) a 6-way paying $800; three of a kind (3777) a 4-way paying $1,200. Four of a kind can only be played Straight.
How much does it cost to play NY Win 4? ▶
From 50 cents to $5 per play in 50-cent steps. A 50-cent Straight pays $2,500 and a $5 Straight $25,000. Straight/Box is always a $1 ticket, and a Combination costs one bet for each order it covers.
When are NY Win 4 draws held? ▶
Twice a day, every day: midday at 2:30 PM ET and evening at 10:30 PM ET, except on holidays the Lottery designates. A ticket can cover the next drawing or up to six drawings in advance.
Can digits repeat in NY Win 4? ▶
Yes. Every number from 0000 to 9999 is valid, and only about half of them have four different digits. Numbers with repeats simply have fewer orders, which is why their Box prizes are higher.
Can I play NY Win 4 if I am not in New York? ▶
Win 4 tickets are sold through New York Lottery retailers to players 18 and older. Other states run their own four-digit games with their own prize tables.
Is a Straight/Box better than a Straight? ▶
It is a trade-off on the same $1. A $1 Straight pays $5,000 only in exact order. A $1 Straight/Box pays $2,600 to $3,100 in exact order but also pays $100 to $600 for any other order of your digits.