Casino RNGs: Randomness, Predictability and Testing
A random number generator (RNG) supplies values that game software converts into results.
What does an RNG do in a casino game?
Software uses random values to select results, such as a virtual reel position or a card shuffle. The game then applies its rules and paytable. Randomness does not mean every prize has the same probability, nor does it remove the house edge.
Pseudorandom generators, seeds and predictability
A pseudorandom number generator (PRNG) uses an algorithm and internal state to produce a sequence. In a deterministic system, the same initial state and the same subsequent inputs reproduce the same output. Knowledge of the algorithm and sufficient state or seed information can therefore undermine unpredictability; complexity alone is not a defence.
Secure designs protect state, use suitable entropy and may reseed with fresh input. An old seed alone need not reveal later output after unknown reseeding or other inputs. NIST SP 800-90A describes deterministic generators, while SP 800-90C covers constructions combining generators and entropy sources. Neither publication is evidence that a particular casino implements them correctly.
Can an online casino manipulate an RNG?
Software can be defective, misconfigured or deliberately altered. It is inaccurate to say manipulation is technically impossible. That possibility is also not evidence that a particular operator is cheating.
As one regulatory example, the UK Gambling Commission's RTS 7 requires supportable randomness and unpredictable results, correct mapping to stated probabilities, and prohibits adaptive interventions that change outcome probabilities during play. These are requirements for its licensees, not a guarantee covering every casino worldwide.
What does testing or certification establish?
A test report provides evidence about the software, version, scope and requirements assessed. It does not make later tampering impossible, guarantee every deployment is identical, or insure a player's balance.
The Commission's testing procedure addresses pre-release testing, updates and changes to gaming systems or RNGs. Its annual testing audit checks change controls and live return-to-player monitoring for the licensees in scope. Ongoing controls matter as well as an initial certificate.
Previous results, RTP and the house edge
For independent spins under unchanged rules, a losing streak does not make a win due. Games can also have features with persistent state or changing rules described in advance, so independence should not be asserted for every event in every game.
Return to player (RTP) describes a theoretical long-run average under the game's rules. It is not the amount an individual session must return. A short losing session does not by itself establish a defective RNG; a winning session does not prove fairness.
What a player can check
Verify the operator's licence with the named regulator, and check whether a test report or certificate identifies the relevant product and version. A logo alone is insufficient. Read the game rules and advertised RTP, and keep game and transaction references if reporting a discrepancy. Testing does not turn gambling into a reliable way to earn money.
Technical and regulatory sources checked 4 October 2026. This guide does not certify any operator or game.

18+. Gambling can be addictive — please play responsibly. Free, confidential help: GamblingTherapy.org · BeGambleAware.org.