How Random Number Generators Work

Random number generators are the algorithms sitting inside every online casino game that decide the outcome of each spin, deal, and roll — and the whole idea of a fair online lobby rests on how they behave. This guide walks through how an RNG actually produces a number, how independent labs verify it, how to find the certificate on any casino site, and how Mr Mega scores a site on whether its RNG claims hold up against the paperwork behind them. Treat it as a practical reference for what to look for in a certified lobby rather than a deep dive into cryptographic theory.

Top Casinos With Verified RNG Fairness

The strongest operators on RNG fairness publish a current test-lab certificate for every studio in the library, link straight to the lab’s public register from the footer, and keep audit dates fresh rather than pointing at a cert from three years ago. Our picks below are ranked on cert coverage, library-wide audit frequency, traceability to the issuing lab, live dealer transparency, regulator-filing alignment, and the pedigree of the studios supplying the lobby.

How Mr Mega Scores a Site on RNG Fairness

We assess RNG fairness using the same six-part framework we apply to every casino review, adapted here to whether the randomness a player sees on screen is backed by paperwork a regulator and a lab will stand behind. Any operator can slap the word “certified” on a landing page; far fewer are happy to link a reader straight to the cert on the issuing lab’s public register. The areas below track what’s published and verifiable rather than what’s merely claimed.

Published Test-Lab Certificate on Every Game

A serious operator carries a visible test-lab certificate for every studio in the library, surfaced from the game info panel, a fairness page, or a badge in the footer — not hidden behind a support ticket. We open every game category, check the info panel for RTP and audit references, and note which titles ship without a verifiable cert ID. A lobby that uses the word “certified” without a document to click through to fails this check on principle.

Library-Wide Audit Frequency

Test-lab certs carry a date, and one more than two years old has almost certainly been superseded by a newer build of the game. We check audit timestamps across the library and flag operators whose published certs skew old or whose fairness page hasn’t been touched in over a year. A stale paper trail signals that the operator has outgrown its audit cadence, which costs marks even when the underlying maths is sound.

RNG Cert Traceability

A cert ID on the operator site is only useful if it actually resolves on the issuing lab’s public register. We sample cert IDs from every site we rate and cross-check them against the eCOGRA, GLI, iTechLabs, and BMM registers, marking down any operator whose cert numbers don’t verify. This is the single cleanest test of whether an RNG claim is real or decoration, and most players never run it themselves.

Live Dealer Transparency

Live dealer tables combine physical randomness with RNG-driven settlement, queueing, and hybrid multiplier layers — and most operators skim over that mix without explaining it. We rate the live lobby on whether the help panel separates the physical portion from the RNG portion, whether hybrid side bets carry their own cert reference, and whether the studio behind the live platform is named on the fairness page rather than left anonymous.

Regulator Filings Line Up

A published RNG cert carries more weight when the numbers on it match the filings the operator has submitted to its regulator. We pull the regulator-filed payout percentage and cross-check it against the library average shown on the operator’s fairness page, and any gap of more than one percentage point gets called out in the review. A site publishing inflated averages against its own filings takes a straight mark-down on this check.

Game Studio Pedigree

Every reputable game studio runs its own RNG certification at build time, independent of the operator deploying the title. We look at which studios supply the library and whether each one carries a current certificate from a recognised lab. Stacking an operator cert on top of a studio cert creates a double layer of accountability, and a lobby full of no-name providers without visible studio-level paperwork is a warning sign on its own.

Browse Mr Mega’s verified RNG casino selection to see which operators publish certs properly across every studio and how each site scores against the six areas above.

Our Review Process for RNG Claims

Every RNG review on Mr Mega is carried out by a reviewer who opens the live lobby, pulls the fairness page, and traces the cert references back to the issuing test lab. The aim is simple: the review should describe what a player can verify for themselves in a few clicks, not what the marketing page advertises.

Reviewers take a scripted sample of slots, table games, video poker, and live dealer titles, read the info panel on each, and record the cert reference alongside the audit date. Every cert ID is then looked up on the issuing lab’s public register to confirm the number resolves, the scope of the certified build, and the date of the most recent audit. The fairness page is pulled for library-average payout, the regulator’s public payout filing is compared against it, and any gap, stale cert, or unverifiable ID gets flagged.

  1. Log into the live lobby and open a scripted sample of games across slots, blackjack, roulette, video poker, and live dealer.
  2. Read the info panel in every game and record the RTP, the cert reference, and the audit date shown for the build the operator has deployed.
  3. Cross-check every cert ID against the issuing lab’s public register, confirming the cert is current and the scope matches the live build.
  4. Pull the operator’s fairness or responsible gambling page for the published library-average payout percentage.
  5. Compare the stated library average against the most recent regulator-filed payout percentage for the same operator.
  6. Check every game studio in the library for a current studio-level RNG cert on the studio’s own public site.
  7. Score the site against the six rating areas and publish the review with the evidence logged against each.

What Random Number Generators Actually Are

A random number generator is the engine inside every casino game. It’s a piece of software — and in some environments a piece of hardware — that produces a continuous stream of numbers the game then translates into outcomes. Everything the player sees on the reels, the cards, or the wheel starts life as a number from the RNG.

The Algorithm Behind Every Spin and Deal

At its core, an RNG is an algorithm that takes a starting value — often called a seed — and produces a very long sequence of numbers that look random to any statistical test. Those numbers get mapped to game objects through a paytable, a reel layout, a card order, or a wheel slot. The game is the mapping layer. Randomness lives in the RNG, and the game is the costume put on top of the numbers it generates.

Always Running, Not Just When You Click

An RNG in a licensed casino game runs continuously in the background, producing thousands of numbers a second whether anyone is playing or not. When a player presses spin, deal, or roll, the game samples whichever number the RNG happens to be on at that millisecond. That’s why timing a spin or predicting a result is impossible on a certified build — the sample point is outside the player’s control, and the stream is far too fast to read.

How an RNG Actually Produces a Number

The mechanics of an RNG sound more complicated than they are. Once the labels are unpacked, the process is a three-step chain that ends with the game showing a result on screen. Understanding that chain makes almost every myth about rigging, hot machines, and hidden patterns fall apart.

Seed, Algorithm, and Output Stream

The seed is a starting value, usually drawn from a source that changes constantly — the operating-system clock at nanosecond precision, or an atmospheric-noise feed. The algorithm takes the seed and produces a very long sequence of numbers, each one derived from the last through a mathematical transformation. A cryptographically strong algorithm is designed so that even with a copy of the output, no outside observer can work back to the seed or predict the next number in the sequence.

Mapping a Number to a Game Outcome

Once the RNG has produced a number, the game maps it to a visible outcome through a weighted table. A slot maps to a reel position, a roulette game maps to a wheel pocket, a card game maps to a card in a virtual shoe. The weighting inside the map is how the house edge gets built in, because not every outcome carries the same payout. The RNG isn’t biased — the weighting is the honest expression of the game’s maths.

Pseudo-Random vs True Random Generators

Casino RNGs come in two flavours, and the difference matters a lot less in practice than most explainer articles make out. A pseudo-random number generator (PRNG) is a deterministic algorithm that produces a sequence that looks random but is fully determined by its seed. A true random number generator (TRNG) uses a physical source of entropy — thermal noise, radioactive decay — to produce numbers that no algorithm can reproduce.

Online casino games almost always run a cryptographically secure PRNG rather than a TRNG. A modern PRNG seeded from a strong entropy source passes every statistical test for randomness and can’t be predicted without access to the internal state, which is kept server-side. TRNG hardware is slower, more expensive, and no more useful for gambling once a PRNG is already indistinguishable from random to any observer. The distinction is real, but for a certified casino lobby the security guarantees are the same.

PropertyPRNGTRNG
Source of randomnessDeterministic algorithm from a seedPhysical entropy such as thermal noise
Reproducible with the seedYesNo
SpeedMillions of numbers a secondMuch slower in hardware
Cost to deploySoftware only, low costDedicated hardware, higher cost
Typical casino useStandard across almost every certified online titleRare, used by some TRNG services and a handful of crypto sites
Passes standard randomness testsYes, when cryptographically secureYes

Where RNG Runs in Each Casino Game

RNG behaviour looks different across game categories, even though the underlying algorithm is the same. The mapping layer is what changes, and the differences are worth knowing for any player who wants to follow the logic of a round.

Slots Use RNG for Every Reel Stop

A modern online slot samples the RNG the instant the player presses spin, then maps the number to a set of reel stops through the game’s internal virtual reel strip. The strip is weighted so that rare symbols come up rarely and common ones often — that’s how the RTP is baked into the title. The animation on screen is theatre; the outcome was decided the moment the button was pressed.

Roulette RNG Maps to a Wheel Slot

RNG roulette takes a single number from the generator and maps it to one of 37 pockets on a European wheel, or 38 on an American wheel. The probabilities match a physical wheel exactly, which is why the house edge on the two variants is the same as their live counterparts. Speed is what changes — an RNG round can resolve in a couple of seconds versus about forty on a physical wheel.

Blackjack and Video Poker Shuffle the Deck

In RNG blackjack and video poker, the generator is used to shuffle a virtual deck before each hand. The shoe is usually reshuffled every hand, which means standard card-counting techniques don’t work against RNG table games the way they can at a physical shoe-based table. The rules on the paytable and the hit logic are the game; the RNG is the shuffler delivering the cards.

Scratch Cards and Instant Wins

Every online scratch card result is decided by the RNG the instant the card is purchased. The scratch, the reveal animation, and the tap order are cosmetic layers sitting on top of a fixed outcome. That’s why two players scratching the same card isn’t possible — each purchase pulls a fresh number, and the reveal is tied to that number from the first frame.

RNG Testing and Certification

Independent test labs exist so neither the operator nor the player has to take RNG behaviour on trust. A lab runs billions of rounds through the algorithm, confirms that the output passes every standard statistical test for randomness, checks that the distribution matches the published RTP, and issues a dated certificate.

What a Test Lab Actually Checks

A lab run on an RNG covers three main areas. Distribution uniformity confirms that every possible output number comes up with the expected frequency across billions of rounds. Independence between rounds confirms that no output number influences the next one. Long-run payout matches the published figure within a tight statistical tolerance. Passing all three is the baseline for certification in any regulated market, and most labs publish the cert on their own public register.

Who the Main Labs Are

A handful of labs dominate online casino certification, and between them they cover almost every licensed studio and operator in the market. Each lab publishes its certs on a public register, which is the single best source a player can use to verify a claim on an operator site.

Test LabBased InPrimary RoleTypical Sign-Off
eCOGRAUnited KingdomRNG evaluation, fair-play certification, monthly payout auditsSeal of approval plus monthly payout report
GLI (Gaming Laboratories International)United StatesRNG and game maths testing for regulated marketsPer-title certification letter filed with regulators
iTechLabsAustraliaRNG evaluation and statistical randomness certificationCertificate valid for the certified RNG build
BMM TestlabsInternationalRNG, game maths, and regulatory compliance testingRegulator-filed certification report

Why Certs Get Renewed

An RNG cert isn’t a one-off signature — it’s tied to a specific build of the algorithm. Any change to the code, the seeding source, or the surrounding game maths triggers a re-test under most regulator rules. New game releases bring their own cert, and major regulator changes can force a fresh audit across an entire library. A cert that hasn’t been refreshed in two years on an actively updated site is a red flag worth investigating.

How to Find the RNG Certificate on Any Casino Site

Finding the RNG cert on a casino site is a ten-second habit most players skip, and the three sources below cover almost every licensed operator in a regulated market. The point is to confirm that a cert exists, that it’s current, and that the ID resolves on the issuing lab’s register.

Licensed operators carry a regulator badge in the footer that links through to the public entry on the regulator’s register, where the test-lab report is usually attached. Clicking the badge — not just reading it — is the first check. Any operator whose badge is a flat image with no working link, or whose regulator entry shows no current test-lab report, is worth scrutinising more closely before registering.

In-Game Info Panel

Most licensed slots show the RTP and the test lab in the info or paytable screen, usually reached from the settings cog or the help icon in the corner. The cert ID may be abbreviated, but the lab name is always full, and a ten-second web search of the lab name plus the cert reference will confirm whether the document resolves. This is the most direct source because it’s tied to the build you’re currently playing.

Help Centre and Fairness Page

Licensed operators publish a fairness page listing certs by studio and by game category, along with audit dates and links to the issuing lab. A serious operator keeps this page current to the month. A page that hasn’t been updated in more than a year, or that lists providers without clickable certs, signals that the fairness story is thinner than the marketing copy suggests.

  • Current date on the cert. Anything older than two years on an actively updated site is a flag worth investigating.
  • Recognised lab name. eCOGRA, GLI, iTechLabs, or BMM Testlabs are the labs most regulators accept.
  • Resolvable cert ID. The reference on the operator site should appear on the issuing lab’s public register.
  • Studio-level certification. The game provider should carry its own current cert in addition to the operator-level one.
  • Regulator badge that links. The footer regulator logo should click through to a live entry on the regulator’s register.

Live Dealer RNG vs Physical Randomness

Live dealer tables look like an escape from RNG, and in the strict sense they are. A physical shuffle, a spinning wheel, and a dice shaker supply the randomness on the table itself, and any viewer can see the source in the stream. The maths on those core bets matches the RNG versions exactly — live blackjack lines up with RNG blackjack, live roulette with RNG roulette, live baccarat with RNG baccarat.

The RNG still has work to do around the physical action. Bet settlement, player queue assignment, shuffle-machine outputs, and the multiplier layers on titles like Lightning Roulette or Crazy Time all rely on a certified RNG behind the scenes. That’s why any serious live dealer platform publishes a test-lab cert on its fairness page even though the core outcome is physical. A live lobby that shows only a dealer shuffle and no RNG cert for its hybrid layers is only half-certified.

Can an RNG Be Predicted or Hacked?

The short answer is no — not for a certified online casino RNG running in a licensed operator environment. Predicting the next number requires access to information the outside world never sees, and the supposed techniques that circulate on forums collapse the moment anyone tries them against a real cert-backed build.

Why Prediction Isn’t Feasible

A cryptographically secure PRNG is designed so that even an observer with a long history of output can’t reconstruct the internal state. The seed is refreshed constantly from high-quality entropy sources, the algorithm produces trillions of possible paths, and the sampling moment at spin time is sub-millisecond. No amount of pattern-watching on the reels gives a player a useful edge, because the signal simply isn’t there to be read.

What a Bad Actor Would Need

Any real attack on a casino RNG would require a copy of the current seed, the algorithm internals, and the sampling clock at sub-millisecond precision — none of which leave the operator environment on a licensed site. The genuine casino-RNG incidents that have been reported in the industry involved insider access or physical machine tampering, not a clever player spotting a pattern from outside. On a regulated online lobby running a certified build, the attack surface a player could exploit doesn’t exist.

Common RNG Myths

RNG attracts more myths than almost any other number in online casino play, and clearing them up makes the technology much easier to judge. Most of the stories repeat across forums and marketing pages despite being mathematically impossible on a certified build.

Hot and Cold Machines Are a Myth

An RNG has no memory, and every round is statistically independent of the one before it. A slot that’s paid nothing for twenty spins is exactly as likely to pay on the twenty-first as it was on the first, because the RNG doesn’t know what it did a moment ago. The gambler’s fallacy tells players a win is “due”; the maths says the next round is a fresh draw from the same distribution.

Operators Can’t Toggle the RNG

The RNG of a licensed title is hard-coded in the build certified by the test lab. Operators don’t get a console that tightens the algorithm at peak hours or loosens it during a promotion. If the operator ships a higher-edge tier of a multi-tier title, the deployed tier shows on the info panel, and a fresh cert has been issued for that specific build. The dial the myth relies on simply doesn’t exist in a regulated lobby.

The Patterns People Spot Are Selection Bias

Humans are wired to find clusters in any random sequence, and a short stretch of similar outcomes on a slot or a roulette wheel is exactly what genuine randomness produces. Spotting five reds in a row and treating it as a trend isn’t reading the RNG — it’s mis-reading the nature of random data. A fair RNG produces streaks all the time; the streaks just mean nothing about the rounds that follow.

How Regulators Handle RNG

Regulators in licensed markets treat RNG certification as the entry point for any game going live. A licence application typically requires an RNG report from an approved test lab, the regulator lists which labs are accepted, and any game deployed in the lobby has to carry a current cert for the exact build in play. Operators can’t swap in an uncertified game or upgrade a certified one without submitting the new build for re-testing.

Beyond initial certification, most regulators require periodic audits, public disclosure of library-wide payout percentages, and a fairness page kept current. The detail varies by jurisdiction, but the principle is the same in every regulated market. Players in a licensed lobby can take it as read that the RNG has been tested against statistical randomness standards, matched to its published RTP, and filed with the regulator. What regulation doesn’t promise is that any single session will feel random, because small samples never look like long-run averages.

RNG Glossary

  • RNG. Random number generator. The algorithm or hardware that produces the unpredictable numbers a casino game maps to outcomes.
  • PRNG. Pseudo-random number generator. A deterministic algorithm that produces a sequence indistinguishable from random to any statistical test.
  • TRNG. True random number generator. Hardware that draws randomness from a physical source like thermal noise.
  • Seed. The starting value fed into a PRNG, usually drawn from a high-entropy source such as a nanosecond clock.
  • Entropy. The measure of unpredictability in a source of randomness.
  • Test lab. An independent certifier like eCOGRA, GLI, iTechLabs, or BMM Testlabs that verifies RNG behaviour.
  • Cert ID. The reference number a test lab assigns to a certified RNG build, resolvable on the lab’s public register.
  • RTP. Return to Player. The long-run percentage of staked money returned to players; the inverse of house edge.
  • Hit rate. The percentage of rounds that land any winning outcome, separate from RTP.
  • Cryptographic strength. A property of a PRNG that makes its output unpredictable even to observers with a long history of results.

Play Responsibly

RNG fairness is 18+ information, not a guarantee of outcomes, and every casino game carries a negative expected return over the long run regardless of how well the RNG is certified. Play only with money you can afford to lose, set a deposit cap and a session limit before opening a game, and stop the moment the session stops being entertainment. Gambling laws and age requirements vary by jurisdiction, so check your local regulations before registering at any licensed lobby.

Gamble responsibly. If gambling stops feeling like entertainment, or if you notice signs around chasing losses or hiding play, reach out to a recognised responsible gambling support organisation in your country for confidential help.

Frequently Asked Questions

If every spin is independent, why do I keep hitting losing streaks?

Because genuine randomness produces streaks far more often than most people expect. If a slot pays a winning outcome roughly one spin in four, the maths says you’ll regularly hit runs of 10, 15, even 20 losing spins in a row across a session — not because the game is “cold,” but because that’s what independent probability looks like when you watch it play out. Streaks feel meaningful because the human brain is built to find patterns; the RNG doesn’t know or care what happened on the last spin.

Do higher-stake spins pull from a different RNG than lower-stake ones?

No. Stake size is applied after the RNG produces its number — it’s a multiplier on the outcome, not an input into the randomness. A £1 spin and a £100 spin on the same game are drawing from the same algorithm with the same probability distribution. The only thing that changes is how much the payout is worth when a winning outcome lands. Operators can’t route high-stake spins to a stingier version of the game without shipping that as a separate, separately certified build, which would show in the info panel.

What does “provably fair” mean, and is it better than a standard RNG cert?

“Provably fair” is a cryptographic system used mainly on crypto casinos where the player can verify, after the fact, that the operator didn’t tamper with the outcome of their specific bet. The game commits to a hashed seed before the round, reveals the seed afterward, and the player can run the numbers to confirm nothing was changed between commit and reveal. It solves a different problem from a test-lab cert — which verifies the algorithm is statistically random across millions of rounds — so the two aren’t really comparable. A top-tier lobby has the test-lab cert; provably fair adds per-bet transparency on top. Most regulated markets are fine with the test-lab cert alone.

Can I tell from the game’s behaviour whether the RNG is certified?

Not reliably, no. A well-implemented uncertified RNG and a properly certified one will both look random to a player watching a few hundred spins. The statistical tests that separate real randomness from biased output run across billions of rounds, not sessions. That’s exactly why independent certification matters — you can’t eyeball it. What you can do in a few seconds is verify the paperwork: find the lab name in the info panel, look up the cert on the lab’s public register, and confirm it resolves.

Why do different versions of the same slot show different RTPs at different casinos?

Because many studios ship slots in multiple RTP tiers, and the operator chooses which version to license. A well-known slot might exist in 96.5%, 94%, and 92% builds, with each version separately certified and carrying its own cert ID. The reels, symbols, and bonus features look identical — the payout weighting in the maths is what differs. This is legal and common, but it’s also why checking the RTP in the info panel matters. Two casinos with the same game in their lobby can be offering meaningfully different long-run returns without saying so on the surface.