Published on February 24, 2026 | Updated: 4 October 2026 | 13 min read
RNG stands for random number generator. In an online casino it is the software that decides the outcome of every digital game: which symbols land on a slot’s reels, which card comes next in RNG blackjack, which pocket the ball lands in on a virtual roulette wheel. Each result is produced when you place the bet, independently of every earlier result, and the animation on your screen only displays an outcome that has already been decided.
This guide explains how a casino RNG works in practice, how a random number becomes a spin result, how RNG games differ from provably fair and live dealer games, what RTP really means for an ordinary session, and which things you can actually check yourself before you play.
How a casino RNG works
Computers are deterministic: given the same input, they produce the same output. Online casino games therefore normally use a pseudo-random number generator (PRNG), an algorithm that turns a starting value into a very long sequence of numbers that behave, statistically, like random ones. Three terms matter:
- Seed – the starting value. Anyone who knew the seed and the algorithm could reproduce the whole sequence, so the seed has to be unpredictable and kept secret.
- Algorithm – the mathematical procedure that moves the generator from one internal state to the next and outputs a number at each step.
- Period – how many numbers the generator produces before the sequence starts repeating. Modern generators have periods so long that repetition plays no role in practice; the well-known Mersenne Twister, for example, has a period of 2^19937 − 1.
Unpredictable seeds come from hardware or “true” random sources: physical noise such as thermal noise in electronic circuits or tiny timing variations, collected by the operating system or by a dedicated chip. True random sources are comparatively slow, so they are typically used to seed, and regularly reseed, a fast PRNG rather than to produce every single number.
Some implementations keep the generator cycling continuously in the background, so the value used depends on the exact moment your request arrives; others draw fresh values only when the game asks for them. Either way, the timing of your click cannot be exploited, because you have no way of observing the generator’s internal state.
What “cryptographically secure” means
A cryptographically secure PRNG has one extra property: even someone who has seen a long run of its outputs cannot predict the next value, or work out earlier ones, with any realistic amount of computing power. Not every generator has this property. Some fast generators designed for simulations, the Mersenne Twister among them, can be reconstructed from enough observed outputs. For real-money games, what matters is that neither players nor outsiders can predict results, which in practice means cryptographically strong generators or implementations whose state is never exposed.
From a random number to a spin result
An RNG outputs raw numbers – typically large integers, or fractions between 0 and 1. The game then has to map each number onto something meaningful: a stop position on a reel, a card from a virtual deck, a pocket on a roulette wheel.
- Scaling without bias. Imagine a generator that produces whole numbers from 0 to 255 (256 possible values) and a roulette wheel with 37 pockets. Simply taking the remainder after dividing by 37 would be biased: 256 = 6 × 37 + 34, so pockets 0 to 33 would come up 7 times out of 256 and pockets 34 to 36 only 6 times. Correct implementations discard the leftover values and draw again, or use another unbiased method. Checking for this kind of error is part of RNG testing.
- Reel strips and weighted symbols. A slot reel is a list of symbols, the reel strip. The RNG picks a stop position on each strip, and the symbols around that position are shown. High-paying symbols appear on the strip less often than low-paying ones. In classic-style slots this is known as a virtual reel: the reel on screen may show only a couple of dozen stops, while the RNG selects from a larger weighted table mapped onto them. Two symbols can therefore look equally common on screen yet have very different probabilities.
- Cards and roulette. RNG card games shuffle a virtual deck, usually with a standard shuffling algorithm driven by the RNG; RNG roulette selects one of 37 (European) or 38 (American) pockets with equal probability.
The result is decided before the animation starts. When you press spin, the game server determines the outcome, calculates any win and sends the result to your device. Spinning reels, a slowing ball or a dramatic bonus reveal are presentation. That is why a near miss – two bonus symbols on the reels and the third just above the payline – carries no information. It is simply how the reels around the selected stops are displayed; it does not mean you were close to a win and does not change the odds of the next spin.
RNG vs provably fair vs live dealer
Online casino games get their outcomes in one of three ways. Provably fair games, common at crypto casinos, add a verification layer: before you bet, the casino commits to a secret server seed by showing you its hash (a cryptographic fingerprint, usually SHA-256). You can set or change a client seed, and each bet has a counter called a nonce. The result is calculated from these values, typically with HMAC-SHA256. When you rotate the seed pair, the server seed is revealed: you can hash it to confirm it matches the original commitment and recompute every result with any independent tool. More on this in our guide to crypto casinos and provably fair games.
| Standard RNG | Provably fair | Live dealer | |
|---|---|---|---|
| Who generates the result | The game provider’s server | The casino’s server, from committed seeds | Physical cards, wheels or dice in a studio |
| What you can verify yourself | Almost nothing directly; you rely on licensing and independent testing | That each result matches the committed seeds and was not changed after your bet | The physical process on camera; round IDs and history |
| Typical games | Slots, RNG table games, video poker | Dice, crash, plinko, mines and similar “originals” | Blackjack, roulette, baccarat, game shows |
| What it does not prove | That the game has a low house edge, or that the operator will pay out. The payout table sets the RTP in every case, and payment depends on the operator, its licence and its terms. | ||
Live dealer games use physical randomness, although the results are read and settled by software. How a studio captures results is explained in how a live casino studio works.
What RTP means over many spins
RTP (return to player) is the share of all stakes a game is designed to pay back over a very large number of rounds. A 96% RTP corresponds to a 4% house edge. It is a long-run average, not a promise for your session, and the gap between the two is bigger than most people expect.
Example, assuming: a slot with 96% RTP, a stake of €1 per spin and a standard deviation of €10 per spin. The €10 figure is an assumption that fits a high-volatility slot; real values differ from game to game and are rarely published. The ranges below use the normal approximation, where ±2 standard deviations cover roughly 95% of outcomes.
| Spins | Total staked | Expected loss | Typical spread (±1 SD) | Realised return, approx. 95% range |
|---|---|---|---|---|
| 100 | €100 | €4 | ± €100 | from losing the whole €100 to roughly tripling it* |
| 1,000 | €1,000 | €40 | ± €316 | ≈ 33% – 159% |
| 10,000 | €10,000 | €400 | ± €1,000 | ≈ 76% – 116% |
| 100,000 | €100,000 | €4,000 | ± €3,162 | ≈ 89.7% – 102.3% |
| 1,000,000 | €1,000,000 | €40,000 | ± €10,000 | ≈ 94% – 98% |
| 10,000,000 | €10,000,000 | €400,000 | ± €31,623 | ≈ 95.4% – 96.6% |
* At 100 spins the normal approximation breaks down. Results on a high-volatility slot are strongly skewed: most short sessions end below the expected value, while a few end far above it thanks to one big hit. Read that row only as a sign of how wide the possible range is.
The spread grows with the square root of the number of spins (10 × √spins in this example), while the expected loss grows in direct proportion to them. Three practical conclusions follow:
- Short sessions are dominated by variance. Over a few hundred spins, luck swamps the 4% edge. Winning or losing an evening says almost nothing about the game.
- RTP only shows up over a huge number of spins. Even after 100,000 spins, the realised return in this example can plausibly sit anywhere from about 90% to 102%. The casino, which sees millions of spins across all players, experiences the RTP; an individual player usually does not.
- Volatility determines the spread. With the same RTP, a low-volatility slot produces smaller, more frequent wins and a narrower range; a high-volatility slot produces long dry spells and rare large wins. The expected cost per euro staked is the same.
Because the expected loss depends on total turnover, not on your deposit, the number of spins you play matters more than most other choices. Our article on bankroll management shows how to turn this into a budget and stake size.
Same slot, different RTP
Many game providers release a slot in several RTP configurations – the same game with the same graphics, but different payout settings, sometimes differing by several percentage points. The casino chooses which version it offers. The RTP quoted on a review site or in a provider’s marketing material may therefore not be the version running at the casino where you play.
The reliable source is the game itself: open the info, help or paytable panel inside the game at that casino and look for the stated RTP. Note that features such as a bonus buy can have their own RTP. If a game does not show its RTP at all, treat that as a reason for caution.
Who tests and certifies casino RNGs
In regulated markets, regulators require RNGs and games to be tested by independent testing laboratories accredited to ISO/IEC 17025 before they go live. Testing typically covers three areas:
- Statistical testing of the output. Large samples of generated numbers are run through test batteries – for example frequency tests, runs tests, serial correlation tests and chi-square goodness-of-fit tests – to look for patterns, bias or dependence between successive values.
- Review of the implementation. Examiners inspect the source code and how it is used: how the generator is seeded, how numbers are scaled to outcomes, and whether anything outside the RNG can influence results.
- Verification of the game maths. The theoretical RTP is calculated from the paytable and reel strips and confirmed by simulation, so that the published figure matches the game.
Certificates are issued per game version and per jurisdiction. An updated game needs testing again, and approval in one market does not automatically cover another. Some regulators also require operators to monitor how games perform once they are live.
How to check this yourself: look up the casino’s licence in the regulator’s public register, and follow testing seals only if they lead to a verifiable page on the laboratory’s or regulator’s own website. A logo in a footer proves nothing on its own. Our licence verification guide explains the steps.
For SmartPari specifically: the official Anjouan licence register lists smartpari.com under licence ALSI-202512006-FI1 held by Vitexis Ltd. (valid to 14 December 2026, checked 4 October 2026), but the operator’s own site showed only a password prompt (HTTP 401) on that date, so no game certificate or testing-laboratory statement could be read there. Third-party sites that name a testing lab for the brand cannot be verified at source.
Myths an RNG rules out
Because every result is independent and decided by the RNG at the moment of the bet, several popular beliefs do not hold:
- “The machine is due.” A slot has no memory. A long run without a win does not make a win more likely on the next spin.
- Patterns and hot or cold games. Streaks happen in any random sequence; they do not predict what comes next.
- Time of day. The probabilities are fixed by the game’s maths and do not change with the hour, the weekday or the number of players online.
- Autoplay vs manual spins. Both send the same request to the same generator; the odds are identical.
We go through these and other beliefs, including betting systems, in casino myths and what the maths says.
What you can actually check: a checklist
- RTP in the game’s info panel at the casino where you play, not a figure from elsewhere.
- Volatility rating, if the provider shows one, so you know how wide your results are likely to swing. Unfamiliar terms are explained in our glossary.
- Game rules and paytable: maximum win, the RTP of bonus buy features, and the malfunction clause.
- The licence, checked in the regulator’s own register.
- Testing certificates that link to a verifiable page, where available.
- A provably fair verifier for crypto-style games, which lets you recompute results after the seed is revealed.
- Your own limits: a budget you can afford to lose and a time limit, set before you start.
Whichever online casino you use, the game’s info panel, the terms and the regulator’s register are where the facts are, not marketing copy. A properly working RNG makes games random – it does not make them profitable. Every casino game has a house edge, so on average playing costs money. Treat it as paid entertainment and stop when your limit is reached.
Questions About Casino RNG
What does RNG mean in an online casino?
RNG stands for random number generator. It is the software that produces the outcome of every digital casino game, such as slot spins, RNG blackjack cards or virtual roulette results. Each result is generated independently at the moment you bet, and the animation only displays it.
Can a casino RNG be predicted?
Not in practice. The generator is seeded from unpredictable sources and its internal state is never visible to players, and cryptographically secure generators are designed so that even a long record of past outputs does not reveal the next one. Systems, patterns or timing tricks that claim to predict spins do not work.
How do I know an RNG game is fair and not rigged?
You cannot test it yourself with a few hundred spins, because variance hides the RTP over short sessions. What you can do is check that the casino holds a licence listed in the regulator's public register, that the game shows its RTP in the info panel, and that any testing certificate links to a verifiable page. In regulated markets, games are tested by independent accredited laboratories before release.
Does the RTP apply to my session?
No. RTP is a long-run average over a very large number of spins, typically millions. In a single session your result can be far above or below it, and on a high-volatility slot a session of a few hundred spins says almost nothing about the RTP.
What is the difference between RNG and provably fair?
In a standard RNG game you rely on licensing and independent testing. In a provably fair game the casino commits to a hashed server seed in advance, so after the seed is revealed you can recompute each result yourself and confirm it was not changed. Neither method changes the house edge or guarantees that the operator will pay out.