18+Gambling should stay fun. Free, confidential help: BeGambleAware.org · National Gambling Helpline 0808 8020 133

Casino Random Number Generator: How RNGs Work and UK Rules

Lines of colourful programming code on a computer monitor in a dark room

A casino random number generator (RNG) is software that produces the unpredictable numbers a game turns into results such as a card, a slot symbol or a crash point. In Great Britain, results must be “acceptably random” according to the Gambling Commission, meaning an operator can show to a high degree of confidence, with generally accepted statistical tests, that outcomes are random.

This talk explains how a casino random number generator works, what regulators test for and what players can and cannot check. It links to our guides on provably fair gambling, the gambler’s fallacy and UK casino complaints.

Casino RNG at a Glance

QualityWhat it means
UniformOutput is spread evenly over the whole range
UnpredictableYou cannot work out the next number without the algorithm and seed
No cyclesThe stream does not repeat, and two instances do not match
Fair scalingTurning numbers into cards or symbols keeps the above

How Does a Casino Random Number Generator Work?

Most casino RNGs are software algorithms that start from a seed value and produce a long stream of numbers that pass statistical tests for randomness. The game then scales those numbers to its needs: 52 cards, 37 roulette pockets or a crash multiplier. Our free games use the browser’s cryptographic random number generator for the same job.

What Do UK Rules Require of an RNG?

The Gambling Commission’s RTS 7 says RNG output and game results must be acceptably random, and that adaptive behaviour, meaning a compensated game, is not permitted. Its guidance expects outcomes to match theoretical probabilities, to be unpredictable, not to cycle, and not to become predictable through seeding or re-seeding. Scaling must not break those qualities.

In plain terms, a game cannot hold back a win because you have just had one, and it cannot make a jackpot “due”. The same standard set also requires rules and the likelihood of winning to be explained before you play (RTS 3).

Are Online Casino Games Rigged?

A game from a licensed operator is held to these standards, but randomness is only part of fairness. A perfectly random game still has a house edge: the payouts are set so the operator keeps a share. A game with a 97% return is random and fair in the technical sense and still costs about 3% of everything staked, on average.

If you think a result was wrong, start with the operator’s complaints process, then the route described in our complaints guide.

Can You Test a Casino RNG Yourself?

Not directly, since you only see outcomes, and a short run proves nothing: random streaks look suspicious by chance. Some sites offer a verification scheme, described in our provably fair guide. For real assurance, rely on the licence, published return figures and the complaints route rather than on a hunch from a few rounds.

Frequently Asked Questions

Are casino random number generators truly random?

Most are algorithms that produce numbers that pass statistical tests rather than physical randomness. UK rules require results to be acceptably random, shown through generally accepted tests. They must also be unpredictable without the algorithm and seed, which is what matters for a player.

Can online slots and games be rigged?

Licensed UK games must be acceptably random and cannot adapt their results to past play. Unlicensed sites carry no such guarantee, so check the licence. Even a fair game keeps a house edge, so losing is the expected result over time.

What is the difference between an RNG and RTP?

The RNG decides each random outcome, while return to player (RTP) is the long-run share of stakes the game pays back. A game can be perfectly random and still return 97%, meaning the house edge is 3%. They measure different things.

Does a hot or cold streak mean the RNG is faulty?

Not by itself. Streaks are a normal feature of random outcomes, and a short run proves nothing either way. See our gambler’s fallacy talk. If you have a concern about a specific game, raise it with the operator and use its complaints process.

The Short Version

A casino random number generator produces the unpredictable numbers behind game results, and British rules say they must be acceptably random with no adapting. Randomness does not remove the house edge. 18+ only; support is on our responsible gambling page.

How we prepared this talk: the requirements are paraphrased from the Gambling Commission’s remote gambling and software technical standards, RTS 3 and RTS 7, last updated 31 October 2025 on the index page and checked 3 November 2026. The 97% figure is from the LuckyTalks free games. The cover photograph is a free-licence stock image used for illustration. We have not audited any operator’s RNG.

LuckyTalks Editorial Team

The LuckyTalks Editorial Team explains casino games, odds and UK gambling rules in plain English. We work from primary sources such as Gambling Commission guidance and published game analyses, show the maths behind every figure and never present gambling as a way to make money.

Keep reading

  1. UK Casino GuideProvably Fair Gambling: How Hash Checks Work and Their Limits
  2. UK Casino GuideUK Casino Complaints: How to Complain and When to Use ADR
  3. UK Casino GuideOnline Slot Stake Limit: The £5 and £2 UK Rules Explained Clearly