Casino Choice
RNG audits strengthen online casino fairness
30 November 2026
Every spin, card and dice roll in an online casino game comes from a random number generator (RNG), so the fairness of the game depends on whether that generator works as claimed. Independent testing labs check three things: that outcomes are statistically random, that the game rules and maths match the published return to player (RTP) rate, and that the software behaves as intended. This article explains how labs test RNGs, what they verify, and what a certificate does and does not guarantee.
How labs test an RNG
Testing starts with the source code. Auditors examine the RNG's algorithm to confirm that it produces numbers that are statistically independent of one another. They then run its output through a battery of statistical tests, such as the DIEHARD suite, to see whether the numbers meet the required standard of randomness.
Labs also examine seeding and re-seeding. The seed is the starting value that sets the RNG's initial state, and re-seeding supplies a new one so that sequences do not repeat. Finally, auditors analyse how the output is distributed, checking that the numbers spread evenly across the whole range and map correctly onto the game's possible outcomes. Over a long enough run of play, wins and losses should line up with the game's paytable and theoretical RTP.
Which accreditation standards apply
Regulators decide which labs may do this work. The Danish Gambling Authority, for instance, requires testing organisations to hold ISO/IEC 17020 and/or ISO/IEC 17025 accreditation before they can test RNGs for online betting. These international standards govern the competence and impartiality of the bodies carrying out tests and inspections, so an audit from an accredited lab follows a recognised, consistent method.
The International Association of Gaming Regulators' Multi-Jurisdictional Testing Framework sets out what a full game fairness test should include: a maths review, a review of the game rules, source code review, simulation output testing, manual game play and emulation of rare outcomes. Taken together, these checks confirm that the rules, paytable and RTP are implemented as published, not just that the RNG produces random numbers.
What auditors verify
The Danish Gambling Authority's testing standard states that RNG output must be truly random, statistically independent, unpredictable to anyone without knowledge of its algorithm and seed, and able to pass the required statistical tests. The IAGR framework adds that random number generation and game results must be "acceptably random", with output uniformly distributed over the entire range and in line with expected theoretical probabilities.
To meet those requirements, auditors measure the RNG's period, meaning how many numbers it can generate before the sequence repeats, and its range, to confirm both suit the game. They inspect background cycling, the RNG's activity between game rounds, and run outcome distribution tests that compare how often each result actually occurs with how often the game's maths says it should.
Some audits use live data rather than lab simulations. iTech Labs runs RTP and RNG audits, generally every month, on real game data taken from game servers; RNG audits of this kind are common for multiplayer card games, dice games and ball games. In an RTP audit, the actual RTP is calculated from recorded bets and wins and compared with the theoretical figure.
The main testing organisations
Gaming Laboratories International (GLI) evaluates RNGs through source code review, assessment of the RNG period, determination of the RNG range, investigation of seeding and re-seeding, inspection of background cycling, DIEHARD battery tests and outcome distribution tests.
eCOGRA certifies remote gambling products through independent testing and inspection. Its certification covers RNG-driven games, betting products, random number generators, casino platforms and websites, internal control systems and information security management systems. The scheme is built on ISO/IEC 17067:2013, with conformity assessments carried out under ISO/IEC 17025:2017, ISO/IEC 17020:2012 and ISO/IEC 17065:2012. eCOGRA owns and controls the certification system and applies it to jurisdictional requirements.
iTech Labs specialises in the recurring RTP and RNG audits described above, using real server data.
How regulators use the results
Lab work feeds directly into licensing. The UK Gambling Commission's testing strategy requires approved third-party test houses to carry out statistical analysis of an RNG and its output before a game is released. The Commission also treats the scaling and mapping of RNG output, the step that turns raw numbers into reel positions, cards or dice results, as part of fairness testing.
What operators and players get from a certificate
For an operator, certification is documented proof that an independent body has tested the game and found it meets the required standards. iTech Labs, for example, issues a certification seal for the gaming site along with a linked certificate showing the audit results, and many casinos display these on their websites.
For a player, the certificate confirms that the game was fair, and its odds matched what was published, when it was tested. It is a record of a specific point in time, not a promise about any future session.
What a certificate cannot guarantee
Statistical testing deals in probabilities, not certainties. Even a properly random RNG will sometimes produce a run of results far from the expected distribution, so a short losing streak does not show that a game is unfair, and a certificate cannot rule such streaks out.
A certificate also assumes the tested software and hardware stay unchanged. If the source code is modified, or the hardware fails or is tampered with, the certification may no longer hold. Operators therefore need internal controls that protect the system and ensure any change is retested and recertified before it goes live.
Mapping is the other weak point. If a flaw in the game software misreads or misuses the RNG's output, the game can be unfair even while the RNG itself works correctly. That risk is why the IAGR framework covers game rules, maths and rare-outcome emulation as well as the generator itself.
Latest news
- South Africa Gambling Taxes: Casual vs Professional Players
- Mobile Casino Play Surges in South Africa as Operators Roll Out Instant Rand Withdrawals and Wager-Free Spins
- South African Players See More Wager-Free Spins and Faster Rand Payouts as Casinos Expand Mobile, Instant EFT Options
- Gambling operators face intensifying regulatory scrutiny as market rapidly expands