Casino

RNG (Random Number Generator)

Also known as:PRNGrandom number generator

Definition

An RNG is the algorithm running inside every licensed slot, video poker and virtual table game that generates the outcome of each spin or hand independently of every result that came before it.

In Detail

Almost every online casino game runs on a pseudo-random number generator, or PRNG, rather than a source of true physical randomness. A PRNG starts from a seed value and runs it through a mathematical formula that keeps spitting out new numbers, often thousands per second, even while nobody is playing. The moment a spin button gets pressed, the software grabs whatever number the generator has landed on at that exact instant and maps it onto a reel position or a dealt card. That number is only reachable in that split second. There is no pattern to time a spin around, no "due for a win" streak, and no memory of the last ten spins carrying into the next one. That last point is the one players misjudge most often. Each result is generated independently, so a slot that hasn't paid out in 200 spins is not statistically closer to hitting on spin 201 than it was on spin 1. No memory. No machine that's secretly "due" for a jackpot. The RNG just produces the next number in its sequence and hands off the outcome, spin after spin. What it does have to match, over a very large number of spins, is the game's published RTP, the percentage of wagers designed to flow back to players over the long run. Regulators don't take a studio's word for that. Independent testing labs like GLI, iTech Labs, eCOGRA and TST run millions of simulated spins against a game's RNG before it can go live on a licensed site, checking the outcomes against the published RTP and screening the algorithm itself for bias. A separate concept, "provably fair," shows up mostly at crypto casinos. It lets a player verify a specific result themselves using a cryptographic hash, a verification layer bolted onto a game rather than a replacement for the RNG generating the outcome in the first place.

Examples

Why "hot" and "cold" machines are a myth

A slot that hasn't hit its bonus round in 500 spins has exactly the same odds of triggering it on spin 501 as it did on spin 1, since the RNG generates each result independently with no memory of past spins.

Certification in practice

Before a new slot goes live on a licensed operator, a lab like iTech Labs runs several million simulated spins against its RNG to confirm the long-run payout lines up with the game's published 96% RTP.