How a slot RNG works
A slot RNG works by producing a stream of numbers with no usable pattern and, the moment you press spin, using one or more of them to pick where each reel stops. The result is settled on the game server before any animation starts, so nothing you do afterwards, and nothing that happened on earlier spins, changes it.
Key takeaways
- The random number generator runs on the game server, not on your phone or laptop.
- Each spin turns random numbers into reel stop positions using the reel strips in the maths model.
- The outcome is fixed before the reels animate; the spinning is a presentation of a result already chosen.
- Spins are independent: there's no memory, no due wins and no hot or cold machines.
- UK slots must pass independent testing before they can be offered on licensed sites.
- Where it runs
- The game provider's server
- Type used
- Pseudo-random number generator (PRNG)
- When the result is set
- At the moment you press spin
- Memory of past spins
- None
- Who checks it
- Independent test houses for UK approval
How a slot RNG works, in one paragraph
Think of the RNG as a machine that produces numbers nobody can predict. When you press spin, your device sends a request to the game server. The server takes fresh random numbers, converts each one into a position on a reel strip, works out what symbols sit in the window, checks them against the paytable, and sends back the result. Your screen then plays an animation that lands on that result. Every other part of a slot, from the theme to the sound, sits on top of this process.
Pseudo-random numbers: deterministic, but unpredictable
Computers can't produce randomness out of nothing, so slots use a pseudo-random number generator. It's an algorithm that takes a starting value, the seed, and produces a long sequence of numbers that pass statistical tests for randomness. Given the same seed, it would produce the same sequence, which is why the seed itself is drawn from unpredictable sources and the internal state is kept secret on the server.
Modern generators have periods so long that the sequence won't repeat in any practical timeframe. Some systems cycle through values continuously in the background; others generate fresh values the instant a spin request arrives. For the player the effect is identical: the number used for your spin can't be predicted from the ones before it, and nobody watching the reels could reconstruct the generator's state.
"Random" here means unpredictable and evenly distributed, not "fair to you". Fairness to the player comes from the maths model sitting on top, which is where the house edge lives.
What happens between pressing spin and seeing a result
- You press spin; your stake is deducted and a request goes to the game server.
- The server draws random numbers for every decision this spin needs.
- Each number is scaled to a range, for example a stop position from 0 to 63 on a 64-stop reel.
- The server reads which symbols sit at those positions and fills the reel window.
- It evaluates wins against the paytable, applying any wilds, multipliers or feature triggers.
- The result and your new balance are recorded and sent to your device.
- Your screen animates the reels for at least 2.5 seconds, then shows the outcome already decided.
Because the outcome is recorded on the server first, a dropped connection doesn't change it. Reload the game and the round completes as it was drawn; our page on what happens if a slot freezes mid-spin covers this.
Turning a random number into a reel stop: worked example
Imagine a simple slot with five reels, each built from a strip of 64 symbol positions. The RNG produces a number for each reel, scaled to 0–63. Reel one gets 17, reel two gets 42, and so on. Position 17 on reel one might be a cherry, with a bell above it and a seven below. That's how the visible three-row window is filled.
| Stops per reel | Calculation | Possible stop combinations |
|---|---|---|
| 32 | 32 × 32 × 32 × 32 × 32 | 33,554,432 |
| 64 | 64⁵ | 1,073,741,824 |
| 100 | 100⁵ | 10,000,000,000 |
With 64 stops per reel, a specific combination of five stop positions has odds of one in about 1.07 billion. But a single symbol usually appears many times on a strip. If the top symbol appears twice on each 64-stop reel, the chance of all five landing on the middle row is (2/64)⁵, roughly one in 33.5 million. Change that to one appearance on the last reel and the odds halve again. This is how designers control how often big wins happen without touching the RNG.
Good implementations also avoid scaling bias. If the generator produces numbers from 0 to 999 and you simply take the remainder after dividing by 64, some positions would come up very slightly more often than others. Certified RNG code uses methods that keep every position exactly as likely as intended.
One spin, many random numbers
A modern video slot rarely draws just five numbers. Depending on the design, the server might also draw:
- the height of each reel on a Megaways game, which decides the number of ways that spin;
- which symbol a mystery symbol turns into;
- the value of a multiplier, cash prize or coin on a hold and win grid;
- whether a random feature, such as an extra wild or a modifier, fires on this spin;
- the replacement symbols that drop in after a win on a cascading reels game.
Every one of those draws follows the same principle: independent, unpredictable and mapped onto probabilities set in the maths model. The RNG is the same engine throughout; what changes is the table it reads from.
Why the RNG doesn't decide the RTP
A common mix-up is to think the RNG is "set" to pay a certain percentage. It isn't. The RNG only produces fair, unpredictable numbers. The RTP comes from the reel strips, symbol weights and paytable those numbers are read against. Run the same RNG through a different set of reel strips and you get a different return.
That's how one slot can exist in several RTP versions: the studio supplies alternative reel configurations, and the operator chooses which one to run. The choice is made in configuration, not on the fly, and the live figure appears in the game's help screen. Our guide to how slot RTP is calculated shows the arithmetic behind a published figure.
RNG myths compared with what the code actually does
| Belief | What actually happens |
|---|---|
| A slot is due a win after a long dry spell | Each draw ignores all previous draws, so the odds on the next spin are unchanged |
| Slots pay more at certain times of day | The RNG doesn't know the time; the maths model is the same at 3pm and 3am |
| Stopping the reels early changes the result | The result exists before the animation; slam stop is banned in the UK anyway |
| The casino tightens a game when you're winning | Licensed games run a fixed, certified configuration; there's no live dial |
| Switching games resets your luck | Every game's RNG draws are independent, wherever you play |
| Bigger stakes trigger features more often | Trigger odds per spin are normally the same at any stake |
Our slot myths guide and the question page do slots get hot or cold take several of these further.
How UK regulation checks a slot's RNG
Before a slot can be offered on a site licensed by the Gambling Commission, the game and its random number generation have to meet the Commission's technical standards and be tested by an independent test house. Labs such as GLI, BMM Testlabs, eCOGRA and iTech Labs run statistical batteries on billions of generated values, check that outcomes are evenly distributed and independent, and review how numbers are scaled and mapped onto reels.
Testing also checks that the game's actual return over very large simulations matches the RTP the studio declares. After release, operators and studios monitor live performance. Our pages on how online slots are tested in the UK and who tests UK slots explain the certification chain in more depth.
What a random generator means for your sessions
If every spin is independent, then no betting pattern, timing trick or stake progression changes your odds. A run of ten losing spins tells you nothing about spin eleven. Over thousands of spins the return drifts towards the RTP, but in a single session anything inside the game's range can happen, including losing your whole budget.
The useful decisions are the ones you control: which game, what stake and how long. A 96% slot at 20p a spin costs an average of 0.8p per spin, about £4 per 500 spins, but short-term results swing far above and below that. Our guide on setting a slot session budget turns those numbers into a plan.
18+. Gambling should be entertainment that costs money, not a way to make it. Set a deposit limit before you play: how to set limits. Free, confidential help: National Gambling Helpline 0808 8020 133.
Frequently asked questions
Is a slot RNG truly random?
A slot RNG is pseudo-random, meaning it uses an algorithm rather than a physical process, but for practical purposes its output is unpredictable. It starts from a secret seed drawn from unpredictable sources and produces numbers that pass demanding statistical tests for randomness. Without access to the generator's internal state on the server, nobody can predict the next value. UK slots are tested by independent labs before release to confirm this. Our page asking are online slots random looks at the evidence, and the RNG glossary entry gives a short definition.
When is the result of a slot spin decided?
The result is decided on the game server at the moment it receives your spin request, before the reels start moving on your screen. The server draws random numbers, maps them to reel positions, calculates any win and records the result with your new balance. The animation that follows is a presentation of that result, which is why disconnections don't change outcomes. UK rules require at least 2.5 seconds per spin, but that delay is purely visual. See why UK slots are slower and our guide on how slots work.
Can a casino change a slot's RNG to make you lose?
No, a licensed casino doesn't have access to the RNG and can't adjust it in real time. The generator runs on the studio's or game platform's server, and the game configuration is certified before release. What an operator can do is choose which RTP version of a game to run, from options the studio supplies; that changes the reel configuration, not the randomness. The live figure is shown in the game's information screen. Our pages on whether casinos control slot wins and why RTP differs between casinos explain more.
Does the RNG keep running when nobody is playing?
In some implementations the generator cycles constantly; in others it produces values only when a request arrives. Either way, it makes no practical difference to you, because the number used for your spin can't be predicted and doesn't depend on what other players did or when. The old idea that you can "catch" a slot at a lucky moment comes from misunderstanding this. Our question page on whether slots pay more at night and our slot myths guide go through the timing myths in detail.
How many random numbers does one slot spin use?
At least one per reel, and often many more. A five-reel game might need five numbers for the stop positions, plus extra draws for random wilds, mystery symbol reveals, multiplier values or replacement symbols in a cascade. A Megaways game also draws the height of each reel. All of these come from the same generator and are independent of each other and of earlier spins. The maths model decides how each number is interpreted. Our guides on how slot maths models work and how Megaways works show this in practice.
Do near misses mean the RNG nearly gave me a win?
No, a near miss is just one possible outcome, no closer to a win than any other losing spin. The RNG picked stop positions; the fact that two bonus symbols landed with the third just above the window carries no information about the next spin. Near misses can feel significant, which is why they deserve some scepticism. Each spin's odds are fixed by the maths model and reset completely. Our glossary entry on the near miss explains the psychology, and losses disguised as wins covers a related effect.
Who tests slot RNGs for the UK market?
Independent test houses approved to work for the UK market check both the random number generator and the game built on it. Well-known labs include GLI, BMM Testlabs, eCOGRA and iTech Labs. They run large statistical tests on generated numbers, review how numbers are mapped to outcomes, and simulate huge numbers of spins to confirm the declared RTP. Games must meet the Gambling Commission's technical standards before licensed sites can offer them. Our guide on how online slots are tested in the UK and the page how to check a slot is fair go further.
Does playing demo mode use the same RNG?
Demo versions normally run the same game logic with play-money credits, so the randomness and maths are generally the same as the real-money version on that site. Results in demo mode are just as independent, which means a good demo run says nothing about your next real session. In Great Britain you can only play demos after age verification. Demos are useful for learning features and seeing how swingy a game feels. Our guide on how to test a slot in demo mode and the demo mode glossary entry explain what to look for.
Can software or apps predict slot RNG results?
No. Tools claiming to predict slot outcomes can't see the generator's internal state on the server, so they have nothing to work from. Spin results come from secret values and certified code that never reaches your device. Anything sold as a predictor or hack is at best useless and at worst a scam aimed at taking money or account details. The only things you control are game choice, stake and session length. Our page on whether there's a trick to slots and our how to win at slots guide cover what is and isn't possible.