RandALL

Lottery number generator

Random lotto numbers from a tumbling drum, in any format, with or without bonus balls.

6 from 49

Tap Draw or the drum, or press Space

Your draw

A second pool, drawn on its own
Off: they stay in the order they came out

One line in 13,983,816 has every number right.

What it does

Set how many numbers to draw and how high they go, tap Draw, and a glass drum tumbles out your random lottery numbers one ball at a time. The numbers are drawn first, with your browser’s secure random generator and no repeats, so every combination has exactly the same chance. Bonus balls work too.

How to use it

  1. Set the draw: how many numbers, 1 to 20, and the highest number, up to 99.
  2. Add bonus balls if the game has a second pool, like the Powerball or the Lucky Stars.
  3. Tap Draw, or press Space. Tap again to skip the show and see them all at once.
  4. Copy the numbers. Your past draws stay in the panel, a tap copies one.
Put this lottery on your own site

Paste this where you want it to appear: a class page, a blog post, a stream overlay. It is free to use, with the link under it left in place.

What people use it for

A quick pick

A random line for a ticket, like the shop’s terminal gives you. It is exactly as likely to win as numbers you choose, no more and no less.

Raffles

Tickets numbered 1 to 80? Draw three for first, second and third prize. Turn Sort off and they stay in the order they came out.

Bingo night

Turn Sort off and draw 20 from 75: the balls come out in an order you can call one by one, and no number comes twice.

In class

Pick 6 from a class of 30 by their number on the register. Nobody is picked twice in the same draw.

Prize draws

Number the entries, draw as many winners as you have prizes, and copy the result into the announcement.

How many combinations are there?

How many different lines can a draw make? For X numbers from 1 to Y it is “Y choose X”: the number of ways to draw them in order, divided by the number of orders the same numbers can come out in.

For 6 from 49 that is 49 × 48 × 47 × 46 × 45 × 44 ways in order, divided by 6 × 5 × 4 × 3 × 2 × 1 = 720 orders: 13,983,816 lines. One of them is the draw, so one line has a 1 in 13,983,816 chance of matching all six. A separate bonus pool multiplies it: 5 from 69 is 11,238,513 lines, and 26 Powerballs make that 292,201,338.

DrawDifferent lines
3 from 10Three prizes from ten raffle tickets, in any order120
6 from 30Six students from a class of 30593,775
5 from 50The main numbers of EuroMillions and Eurojackpot2,118,760
6 from 49Lotto 6/4913,983,816
6 from 59UK Lotto, one round45,057,474
5 from 69 + 1 from 26Powerball, with its Powerball292,201,338
20 from 99The most this page draws428,786,696,323,047,746,376

Every line in a table like this has the same chance. A line of 1, 2, 3, 4, 5, 6 is exactly as likely as any other, it just looks less random.

How it picks

The way the RandALL app does it: the numbers first, the machine after.

  1. The numbers are drawn first. When you tap Draw, the page shuffles the pool 1 to Y with crypto.getRandomValues, your browser’s secure random source, and takes the first X. Rejection sampling keeps every number exactly equally likely, and a number that is out cannot come again.
  2. Bonus balls are a second draw. They come from their own pool, drawn the same way. So a bonus number can be the same as a main number, as it can in Powerball.
  3. Then the machine runs. The drum is real circle physics: gravity, collisions and three fins that carry the balls up the glass. Whichever ball reaches the outlet takes the next drawn number on its way out, and the ball that carried that number takes the leaver’s, so a drawn number never stays in the drum. The physics decides which ball you watch, never which number you get.
  4. Skip and Sort change nothing. Skip puts the numbers already drawn straight into the tray. Sort only puts them in order. With a pool over 60, the drum shows 60 of its balls; every number in the pool still has the same chance.

Tested. In 200,000 test draws of 6 from 49 and 100,000 of 2 from 12, every number came up equally often (chi-square test) and no draw repeated a number. In simulated runs of the machine on six formats, played out or skipped part way, it always delivered exactly the drawn numbers in the drawn order.

How every RandALL tool picks

All 19 web tools

Questions

Are these lottery numbers really random?

Yes. They come from crypto.getRandomValues, the random source browsers use for security, and they are drawn before the drum moves. Every number has the same chance and none is drawn twice.

Can a lottery number generator help me win?

No. In a fair lottery every combination has exactly the same chance, whether a machine, a birthday or this page chose it. A generator saves you choosing. It cannot predict a draw or improve your odds.

What are the odds of winning the lottery?

It depends on the format. Matching all 6 numbers from 1 to 49 is 1 in 13,983,816. The Powerball jackpot, 5 from 69 plus 1 from 26, is 1 in 292,201,338. The panel shows the odds for whatever format you set.

Is a quick pick better than choosing my own numbers?

The odds are exactly the same. The one difference people point to: many players pick birthdays, so numbers up to 31 are popular, and a popular line that comes up is shared by more winners. Random numbers avoid that pattern. They do not make a win more likely.

Can the same number come up twice?

Not among the main numbers: like balls leaving a real drum, a number that is out stays out. Bonus balls come from a separate pool, so a bonus number can match a main number.

Can I use it for a raffle or bingo?

Yes. Set the highest number to your last ticket and draw as many as you have prizes. Turn Sort off to keep the order the balls came out in, which suits bingo calls. For names instead of numbers, use the random name picker.

Is there a lottery number app for iPhone?

Yes, RandALL. Its Lottery tool is the drum this page is built on: tilt your phone and the balls slosh, shake it to draw again, and draw from up to 9,999 numbers. Your first 24 hours are free, with every tool.

RandALL app icon

Take it with you

RandALL for iPhone has 25 tools in one app: wheels and teams, real 3D dice, random alarms, Finger Picker and more. It works offline.

Your first 24 hours are free, with every tool. After that, subscribe or buy the lifetime unlock once. Family Sharing included.

Get it on the App Store

iPhone only for now. These web tools are yours to keep using.

QR code that opens RandALL on the App Store
Scan with your iPhone
All tools

Lists

Spin the WheelYour list on a wheel Random Name PickerDraw a few names List RandomizerWho goes first? Bracket GeneratorLast one standing Team GeneratorSplit a list into groups

Games

Coin FlipHeads or tails? Dice RollerAny dice, any sides Random Number GeneratorPick a number, any range Random Card GeneratorDraw a card Lottery Number GeneratorPick X of Y Rock Paper ScissorsRock, paper or scissors Spin the BottleRandom direction Tarot Card ReadingOne card, or three

Generators

Random Country GeneratorSpin the globe Random Color GeneratorA color and its palette Random Date GeneratorRandom date and time Fortune CookieOpen a cookie Random TimerNobody knows when it ends Random Animal GeneratorRandom species
RandALL for iPhone25 tools in one app. Works offline.