Skip to content

How Lottery Numbers Are Drawn: Machines, RNGs and Audits

Lottery draws use either ball machines or computer random number generators. Here is how each one works, who checks them, and why every draw stands alone.

Listen to this article

Read by Liz, our AI narrator voice

Clear glass drum of plain white balls on a table in a softly lit studio

In short

The 20-second version

  • Lottery numbers come from mixed balls in a machine or from a random number generator.
  • Independent auditors and security steps are part of official draws.
  • Each draw is independent, so past results do not change the next one.

Lottery numbers are drawn at random, using either a machine that mixes numbered balls or a computer program called a random number generator (RNG). Official lotteries add security steps and independent observers so that no one can control the result. Each draw starts fresh, with no memory of the one before.

This guide explains both methods in plain words. It also covers who watches the draw, and what draw history can and cannot tell you.

The short answer: two main ways to draw numbers

Most big lottery games pick numbers in one of two ways:

  • Ball machines. Numbered balls are mixed in a clear machine. Balls are pulled out one at a time, and each one is shown on camera.
  • Random number generators. A computer system produces numbers that cannot be predicted. This method is used for some games and for many instant or online products.

The goal is the same in both cases. Every number in the pool should have the same chance of being picked, and no person should be able to steer the outcome.

Some games use more than one pool of numbers. For example, a game might draw its main numbers from one set of balls and a bonus number from a second set. Each set is drawn separately. You can read how a specific game is set up in our game guides.

How ball machines work

A ball machine is a clear container that holds numbered balls. The balls are moved around so they are thoroughly mixed. Then they are drawn one at a time.

There are two common designs:

  1. Air mix machines. Air blows through the container and keeps the balls moving. A ball is then pushed or pulled into a tube or chute.
  2. Paddle or gravity machines. The balls are stirred or tumbled, and a ball drops out into a collection area.

In both designs, the balls are meant to be the same size and weight. That is how the lottery tries to give each ball the same chance of being chosen.

What happens before a draw

Official lotteries describe a set of checks before a draw takes place. Details differ from one lottery to the next, but the checks usually cover these points:

  • The balls are weighed and measured to confirm they match the required standards.
  • The machines are inspected and tested.
  • Equipment is kept in a secure place when it is not in use.
  • A set of balls and a machine may be picked at random just before the draw.

These steps are meant to show that the equipment is fair and has not been tampered with. For the exact procedures a lottery follows, check that lottery's own website. Our sources section lists some official pages.

What happens during the draw

The draw is usually filmed, and many lotteries stream or publish it. Staff and an independent observer are present in the room. As each ball comes out, its number is read out and recorded. The final set of numbers is then confirmed and published as the official result.

If something goes wrong, such as a ball sticking or a machine fault, the lottery's rules say how to handle it. A draw can be paused or redone under those rules, with the observer present.

How random number generators work

A random number generator is a computer system built to produce results that cannot be guessed. In lottery use, it is a tested and certified system, not an ordinary program that you might run on your own computer.

There are two broad types of RNG:

  • Software RNGs use a mathematical formula that starts from an unpredictable input, called a seed. The output looks random and passes statistical tests.
  • Hardware RNGs measure a physical process that is hard to predict, such as electronic noise, and turn it into numbers.

Lotteries that use RNGs have them tested by independent labs and reviewed by regulators. The tests look for two things. First, that each possible number comes up with the right share of chances. Second, that earlier results give no clue about later ones.

An RNG is also used when a player picks "quick pick" or "easy pick" at a retailer. The terminal generates the numbers for the ticket. Those numbers are no better or worse than numbers you choose yourself. Every valid combination has the same chance in a fair draw.

Ball machines versus RNGs at a glance

| Feature | Ball machine | Random number generator | | --- | --- | --- | | How numbers are picked | Physical balls are mixed and drawn | A certified system produces numbers | | What you can see | Balls coming out, often on camera | Usually a result shown after the process | | Main checks | Weighing, inspection, observers | Lab testing, code review, observers | | Aim | Every ball has an equal chance | Every number has an equal chance |

Neither method is "more random" in a way that matters to a player. Both are designed to meet the same fairness standard.

Who checks that the draw is fair

Official lotteries do not ask players to simply trust the process. They use several layers of oversight.

Independent auditors. Official lottery sites say draws are observed by an independent auditing firm or a similar outside body. The auditor watches the draw, checks that the procedures were followed, and signs off on the result. You can read the security notes on the official Powerball and Mega Millions sites, and on the website of the Multi-State Lottery Association, which runs several US games.

Security rules. Lotteries limit who can enter the draw room. They also use sealed equipment, logs of who handled it, and cameras.

Regulators. State, national or other government bodies oversee lotteries. They set rules for how draws must be run and what records must be kept.

Recorded draws. Because draws are recorded, a result can be reviewed afterward if a question comes up.

The specific people and companies involved vary by game and country. If you want to know who audits a particular draw, the best place to look is that game's official page.

Why every draw is independent

Each lottery draw is independent. This means the result of one draw has no effect on the next.

The reason is simple. Balls do not remember what came out last time. They go back into the machine, or a fresh set is used, and the mixing begins again. An RNG works the same way: it has no memory that makes one outcome more likely because of an earlier one.

Here is a plain example. Say a number came up in last week's draw. This week it has the same chance as every other number. If a number has not come up for a long time, it has the same chance too. No number is "due" or "cold" in a way that changes the next draw.

This is also why no system, pattern or number choice can improve your chances. Birthdays, lucky numbers, patterns on the play slip and "hot" lists all have the same chance as any other valid set of numbers. A fair draw treats them all the same.

The gambler's fallacy

Many people feel that a number that has not appeared must be about to appear. That feeling has a name: the gambler's fallacy. It is a mistaken belief that random events balance out in the short term. Random draws do not work that way. Over a very long run, results tend to even out in share, but that does not make any single draw predictable.

What draw history can and cannot show

Draw history is a record of what happened. It is useful for some things and useless for others.

What it can do:

  • Show you the winning numbers from a past date.
  • Let you check whether an old ticket matched.
  • Show how often each number has appeared in the past, as a simple count.
  • Satisfy curiosity about records, such as the most recent draw dates.

What it cannot do:

  • Tell you what the next numbers will be.
  • Show that a number is more or less likely next time.
  • Reveal a pattern you can use.

If you look at a long list of results, you will see streaks, repeats and gaps. That is normal for random draws. Streaks happen by chance, and the human eye tends to see patterns even where there are none.

You can browse the latest draw results and the number statistics from past draws on LottoCheck. Treat them as a record of the past only. They do not point to what comes next.

Checking your own numbers and staying safe

Once the official numbers are published, you can compare them with your ticket. Our guide on how to check a lottery ticket walks through the steps. The LottoCheck app can also scan a ticket and show whether it matched. Results in the app are unofficial, and official results from the lottery always prevail.

A few safety points are worth knowing:

  • Only trust the official lottery website or an authorized retailer for final results and prize claims.
  • Be wary of any message that says you have won a draw you did not enter. Read how lottery scams work to learn the warning signs.
  • Keep your ticket safe and signed if your lottery's rules say to do so.

If gambling is causing you stress or problems, free support is available. The National Council on Problem Gambling lists help and treatment options.

Play for fun and only spend what you can afford to lose. If gambling stops being fun, call 1-800-GAMBLER for free, confidential help. LottoCheck is for adults 18 and older.

Questions people ask

Are lottery numbers really random?

Official lottery draws are designed to be random. They use mixed balls or a tested random number generator, and independent observers watch the process. The aim is that every number has the same chance of being picked.

Do lotteries use ball machines or computers?

It depends on the game. Many large draw games use ball machines, while other games and many instant or online products use a random number generator. Check the official page for a game to see which method it uses.

Does one draw affect the next one?

No. Each draw is independent, so earlier results have no effect on later ones. The balls are mixed again, or the RNG runs again, and every number has the same chance as before.

Sources

  1. Powerball official site
  2. Mega Millions official site
  3. Multi-State Lottery Association
  4. National Council on Problem Gambling: Help and Treatment

Theo Barrett

Draw Data Writer

Theo Barrett writes for the LottoCheck editorial team. He looks at draw history and number frequency, and explains what the data shows and why past draws do not predict the next one.

Pen name used by the LottoCheck editorial team.

More on draw data

The LottoCheck app

Scan your ticket. Know in seconds if you won.

LottoCheck checks Powerball, Mega Millions and state games for you, and tells you when a draw is in. It is coming to iPhone and Android. Leave your email and we will tell you on launch day.

One email on launch day. No spam. Unsubscribe any time.

  • Coming soon to theApp StoreSoon
  • Coming soon toGoogle PlaySoon