Understanding how an RNG works explains some of the most important facts about slots: why results cannot be predicted, why no game is ever “due” to pay and why strategies based on timing or patterns do not work. This guide explains what an RNG is, how it turns numbers into results, how it is tested and what “provably fair” means.
What Is a Random Number Generator?
A random number generator is a piece of software, or sometimes hardware, that produces a stream of numbers with no predictable pattern. In a slot, those numbers are used to choose the outcome of each spin.
When you press spin, the game takes the random numbers it needs at that moment and uses them to select where each reel stops, whether a feature is triggered and any other random elements, such as the value of a multiplier. The animation of the reels is then played to show you that result.
The key point is that the result is decided by the RNG, not by the spinning reels. The reels are simply a display.
Types of RNG
Pseudo-Random Number Generators (PRNGs)
Most online slots use a pseudo-random number generator. This is a mathematical algorithm that starts from an initial value, called a seed, and uses it to produce a long sequence of numbers.
Strictly speaking, a PRNG is deterministic: if you knew the exact algorithm and the exact seed, you could reproduce the sequence. In practice, well-designed PRNGs used in gambling are built so that their output is statistically indistinguishable from true randomness and cannot be predicted by players. They are seeded and reseeded in ways that make knowing the internal state impossible from the outside, and they produce numbers at a very high rate, so the number used for your spin depends on the exact moment you press the button.
Hardware Random Number Generators
A hardware RNG, sometimes called a true random number generator, draws randomness from physical processes, such as electronic noise. These are sometimes used to produce seeds for PRNGs, combining the unpredictability of physical sources with the speed and reliability of software.
Cryptographically Secure RNGs
Many gambling systems use cryptographically secure PRNGs, which are designed so that even someone who has observed a large amount of previous output cannot work out the next number. This is the same class of technology used in encryption and online security.

How an RNG Turns Numbers Into Slot Results
An RNG produces raw numbers, often within a very large range. The game then needs to convert those numbers into outcomes. This step is called scaling or mapping.
The following example is a simplified illustration. Imagine a reel strip with 100 positions. The game takes a random number and scales it so that it falls between 1 and 100. If the number is 37, the reel stops at position 37 on the strip, and the symbols at and around that position are shown on screen. The same process is repeated for every reel and for every random element in the spin.
The reel strip itself controls how often each symbol appears. If a high-paying symbol appears only once among those 100 positions, it will land on that reel’s payline position about once in every 100 spins on average. This is how the developer sets the probabilities in the game’s maths model. Our guide on how slot machines work explains reel strips in more detail.
Regulators require that scaling is done correctly, so that the conversion from raw numbers to outcomes does not introduce bias.

What an RNG Must Do
Regulated markets set clear requirements for RNGs. In Great Britain, for example, the Gambling Commission’s RTS 7: Generation of random outcomes requires that:
outcomes are acceptably random, which can be shown to a high degree of confidence through statistical testing;
RNG output is uniformly distributed and outcomes match their expected probabilities;
for software RNGs, predicting the next number is computationally infeasible without full knowledge of the algorithm and seed;
seeding and reseeding do not introduce predictability;
scaling and mapping preserve these qualities and follow the published paytables; and
adaptive behaviour is not permitted, meaning a game cannot change its probabilities during play to compensate for what it has paid out.
The same standard also prohibits game designs that mislead players about their chances, including false “near-miss” results that suggest a win was closer than it really was. Other regulators set similar requirements, often based on widely used technical standards such as those published by Gaming Laboratories International (GLI).
How RNGs Are Tested
Before a slot can be offered in a regulated market, its RNG and maths are usually tested by an independent laboratory. Well-known testing organisations include GLI and eCOGRA, among others.
Testing typically includes:
Statistical analysis of very large samples of RNG output, using recognised tests to check that the numbers are uniformly distributed and show no patterns.
Source code review to confirm that the RNG and game logic work as described, that numbers are used correctly and that there are no hidden mechanisms affecting outcomes.
Scaling and mapping checks to confirm that random numbers are converted into outcomes without bias.
RTP verification, confirming that the game’s theoretical return matches the developer’s stated figure.
Ongoing monitoring in some jurisdictions, where operators must report game performance or have systems re-audited periodically.
Once certified, a game cannot be quietly altered. Changes to a certified game usually require retesting and approval.

What RNGs Mean for Players
Every Spin Is Independent
Each spin’s result is decided by the RNG at the moment you play. It has no memory of previous spins and no knowledge of what is coming next. A slot that has just paid a large win is no less likely to pay again, and a slot that has not paid for a long time is no more likely to pay. Our guide to common slot myths covers this in more detail.
Timing Does Not Matter
Because the RNG generates numbers continuously and at high speed, the exact moment you press spin determines which numbers are used. No player can time a spin to land on a winning result, and the time of day, the day of the week or how busy the casino is has no effect.
Your Actions Do Not Change the Result
Stopping the reels early, changing your stake between spins, switching games or using autoplay where it is allowed does not influence the random outcome. The only thing a stake change does is change the size of any win or loss.
Random Does Not Mean Even
Randomness does not mean results will be evenly spread over a short period. Long losing runs, clusters of wins and sessions far above or below the game’s RTP are all normal outcomes of a random process. Our guide to RTP vs actual results explains why.
Random Does Not Mean Profitable
An RNG makes results unpredictable, but it does not change the house edge. The game’s maths model, including its reel strips and paytable, is designed to return less than is staked over time. A perfectly fair, perfectly random slot is still designed to keep part of what is staked.
What Is “Provably Fair”?
Some casinos, particularly those that accept cryptocurrency, offer games described as provably fair. This is a system that lets players check, after a round has been played, that the result was not altered.
Provably fair systems usually work along these lines:
The casino commits to a server seed before you play, showing you an encrypted version of it called a hash. The hash proves that the seed has been fixed, without revealing it.
You provide or receive a client seed, which you can often change yourself.
A counter, called a nonce, increases with each bet.
The result is calculated by combining the server seed, the client seed and the nonce.
After the seed is changed or revealed, you can use the original server seed to recalculate past results and confirm they match what you saw.
Provably fair verification can show that a specific result was generated from the committed seeds and was not changed after you placed your bet. It is worth understanding its limits, though:
it is mainly used for the casino’s own in-house games, such as dice or crash games, and is less common for slots supplied by major game studios, which typically rely on traditional laboratory certification;
verifying a result does not tell you the game’s RTP or house edge; and
it does not replace the protection offered by a recognised licence and regulator.
How to Make Sure the Games You Play Are Tested
You cannot test an RNG yourself, but you can take a few sensible steps:
Play with licensed operators. Check the casino’s licence details, usually shown in the website footer, and verify them on the regulator’s public register.
Choose games from established studios. Major providers typically have their games certified for many regulated markets. Our provider profiles cover their licensing and certification.
Look for testing information. Many operators and providers state which laboratories have tested their games.
Read the game’s rules. Regulated games should display their rules, paytable and usually their RTP. Our guide on how to read a slot paytable explains where to look.
Common Misunderstandings About RNGs
“Slots run on a cycle, so a payout is due.”
No. A properly certified RNG does not work on a fixed payout cycle. Each spin is independent, and the game does not track how much it “owes”.
“The casino can switch a game to lose when I am winning.”
In regulated markets, adaptive behaviour is not permitted. A game cannot change its odds during play based on your results, and certified games cannot be altered without approval.
“Near misses mean I almost won.”
A near miss, such as two bonus symbols landing with the third just out of view, is simply one of many random outcomes. It does not mean a win was close. In Great Britain, the Gambling Commission specifically prohibits games from creating false near-miss results.
“Autoplay spins are less random.”
No. Autoplay, where permitted, uses the same RNG and the same maths as manual spins. In some jurisdictions, including Great Britain, autoplay has been banned for online slots for reasons of player protection, not because it affects randomness.
Frequently Asked Questions
What does RNG stand for in slots?
RNG stands for random number generator. It is the software that decides the outcome of every spin in a modern slot.
Are online slots really random?
In regulated markets, yes. Online slots must use tested RNGs that produce statistically random, unpredictable results, and games are certified by independent laboratories before release.
Can an RNG be hacked or predicted?
Well-designed, cryptographically secure RNGs used by licensed operators are built to make prediction computationally infeasible. Claims of devices, apps or software that can predict slot results should be treated as scams.
Does the RNG decide the result before the reels stop?
Yes. The result is decided at the moment you press spin. The spinning reels are an animation that displays that result.
Is a provably fair game safer than a certified one?
Not necessarily. Provably fair systems let you verify that a specific result was not changed after you bet, while certification checks the RNG, the game logic and the RTP. Licensing and regulation provide further protections, such as dispute resolution. They address different questions.
Key Takeaways
An RNG decides every slot result at the moment you press spin; the reels are only a display.
Most online slots use secure pseudo-random number generators, sometimes seeded by hardware sources.
Random numbers are scaled and mapped to reel positions, which set the probabilities of each symbol.
In regulated markets, RNGs must be tested and must not adjust outcomes during play.
Every spin is independent, so no game is ever “due” to pay, and randomness does not remove the house edge.
Whatever game you choose, set a budget before you play. Our guide to setting gambling limits explains how, and our Responsible Gambling page lists free, confidential support.
Related Guides
Browse all of our slot guides for more explanations of how slots work.