Sunday, 22 November 2026 · London
Glossary
Casino & GamesKey term

RNG (Random Number Generator)

Also known as: RNG, Random Number Generator, PRNG, TRNG

The algorithm — or hardware device — that produces the outcome of every online casino game: which symbols land, which card is dealt, where the ball settles. Licensed RNGs are independently tested and certified against standards like GLI-19 before a game can ship in regulated markets.

Every spin of a slot, every dealt card and every roulette result in an online casino is settled by a random number generator — the software (or hardware) that picks an unpredictable number and maps it to a game outcome. It is the piece of the stack regulators care about most, because everything else — RTP, volatility, jackpot odds — is only meaningful if the draw itself is fair.

Software vs hardware RNGs

GLI-19, the testing standard most regulators reference, recognises three types. Software RNGs (PRNGs) derive randomness from a seeded algorithm — fast, deterministic given the seed, and the norm in online casino. Hardware RNGs (TRNGs) harvest entropy from physical noise — circuit feedback, thermal noise, photon behaviour. Mechanical RNGs are the physical draw machines of lotteries and bingo.

In practice a slot's PRNG runs continuously, generating thousands of numbers per second whether anyone is playing or not. The instant a player presses spin, the current value is taken and scaled — mapped onto a reel stop, a card or a pocket — and the outcome is fixed before the animation plays.

How certification works

No regulated market lets a game ship untested. Independent labs — GLI, eCOGRA and iTech Labs among them — certify RNGs against GLI-19 or the local equivalent, and the process has three layers:

  • Source code review — examiners hunt for bias, implementation errors and undisclosed switches that could influence outcomes.
  • Statistical batteries — chi-square, serial correlation, coupon collector's and Diehard-style tests run over millions of draws, typically at a 99% confidence level.
  • Scaling and seeding rules — the mapping from raw number to outcome must be provably unbiased; generators may not be seeded from time alone and must reseed periodically.

The UK Gambling Commission's RTS 7 adds a behavioural rule worth knowing: numbers must be used in the order they are received and may not be discarded "due to adaptive behaviour" — the game cannot skip a result it doesn't like.

Why it matters commercially

RNG certification is the ticket to market: each game build, and often each material change, needs lab sign-off per jurisdiction — a real cost and lead time in every studio's roadmap. It is also the industry's answer to the oldest accusation in gambling, which is why "independently tested" appears in every game's footer. Crypto casinos take a parallel route with "provably fair" schemes, where the player can verify each draw against a published hash — transparency by protocol rather than by lab.

Questions

RNG (Random Number Generator) — FAQs

Can a licensed RNG be rigged?

Not legally, and labs test for exactly that. Certification includes source-code review for bias and hidden switches, and regulators can pull a licence over a failed audit — a career-ending risk no licensed operator takes.

Does the RNG know a jackpot is due?

No. Every draw is independent — the generator has no memory of previous spins. A jackpot is never "due"; its odds are identical on every spin.

PRNG or TRNG — which do online casinos use?

Mostly PRNGs — seeded software algorithms, usually reseeded periodically from hardware entropy sources. True hardware RNGs exist but are slower and rarely needed for game outcomes.

Coverage

Further reading