How Do Slot Machines Work? RNGs, Reels and Paylines
Table of Contents
A modern slot machine is a computer program. When you press spin, a random number generator (RNG) selects the outcome, a reel map translates that number into the symbols you see, and the pay table decides what those symbols pay. The spinning animation is a display of a result that has already been chosen. Nothing about the previous spin, the time of day or how long the machine has gone without paying changes the next one.
Step 1: the random number generator
The RNG produces numbers continuously. At the moment you hit spin, the game takes the next number (or set of numbers) and uses it to pick a stop position on each reel. Regulators require that this selection be genuinely random and that nothing after it bends the result. New Jersey’s slot standard, for example, says the game must fairly represent “the reel symbols selected by the RNG” and that the “random selection process for game outcome is not affected”, and it bars the machine from making “a variable secondary decision” after the outcome is selected (N.J.A.C. 13:69E-1.28A).
Two practical consequences:
- No machine is “due”. Each spin is an independent draw, so a long dry spell doesn’t raise the chance of a win on the next spin.
- Timing doesn’t matter. Stopping the reels early with a second button press changes the animation, not the outcome.
Step 2: the reel map
On the screen a reel might show 20 or 30 symbols, but the game can map the RNG’s number onto a much larger set of “virtual” stops, with some symbols given many more stops than others. That’s how a game can make the top symbol rare without making it look rare.
A worked example. Suppose each of three reels has 64 virtual stops and the jackpot symbol occupies just one of them:
- Chance of the jackpot symbol on one reel: 1 in 64
- Chance on all three reels: 1/64 x 1/64 x 1/64 = 1 in 262,144
If the game instead gave the jackpot symbol one stop out of 22 physical positions, the chance would be 1 in 10,648. The weighting lets the designer set the odds of each line independently of how the reel looks. New Jersey caps the odds of any play at 100 million to 1, under subsection (c) of the same rule.
Even at 1 in 262,144, the chance of hitting that jackpot at least once in 1,000 spins is about 0.38%.
Step 3: paylines, ways and Megaways
Once the symbols are set, the game checks which combinations pay. There are three common systems.
| System | How wins are counted | Example from a studio page |
|---|---|---|
| Fixed paylines | Matching symbols along set lines across the reels | Mega Joker: 3 reels, 5 fixed lines (NetEnt) |
| Ways to win | Matching symbols on adjacent reels, any row | A 5-reel, 3-row grid gives 3 x 3 x 3 x 3 x 3 = 243 ways |
| Megaways | Each reel shows a random number of symbols per spin, so the ways change every spin | Bonanza: up to 117,649 ways (Big Time Gaming) |
Megaways numbers are simple products. Six reels showing up to 7 symbols each give 7 x 7 x 7 x 7 x 7 x 7 = 117,649 ways, the maximum Big Time Gaming lists for Bonanza. Its White Rabbit page lists 16,807 base-game ways (7 to the fifth power) and up to 248,832 in the feature (12 to the fifth). More ways means more combinations get checked; it doesn’t mean the game returns more. Our guide to Megaways slots covers the format in detail.
Step 4: the pay table sets the house edge
Every combination has a probability (from the reel map) and a payout (from the pay table). Multiply each probability by its payout, add them all up, and you get the game’s return to player. If that sum is 96%, the house edge is 4%. We walk through a full example in what RTP means in slots.
Studios publish this figure. NetEnt lists Starburst at 96.08% RTP with a 23% hit frequency, meaning about 23 spins in 100 pay something. Regulators set a floor rather than a target; New Jersey requires a theoretical RTP of at least 83% for slot machine games that take a wager (same rule, subsection (a)).
Online casinos can be offered more than one RTP version of the same game, and the operator chooses one where the regulator allows. The version you’re playing is stated in the game’s help screen.
Step 5: bonus features
Free spins, pick-and-click bonuses, multipliers and cascading reels are all parts of the same math model. A feature is “triggered” when the RNG lands the right symbols, and what happens inside it is also RNG-driven. Many games take a large part of their RTP from the feature. NetEnt’s page for Dead or Alive, for example, attributes 25.65 percentage points of its 96.82% RTP to the bonus. That concentration is a big part of what makes a game feel high-volatility, which we explain in slot volatility explained.
Myths the mechanics rule out
| Myth | Why it’s wrong |
|---|---|
| “It’s been cold, it’s due to hit” | Each spin is an independent RNG draw |
| “Casinos loosen machines at busy times” | The RTP is set by the game’s approved math, not adjusted spin to spin |
| “A near miss means a win is close” | The symbols shown are a translation of one random number; the next number is unrelated |
| “Higher bets have better odds” | The bet size doesn’t change the RNG draw; the help screen says if the RTP differs by bet level |
| “Stopping the reels yourself changes the result” | The result is chosen when you press spin |
What this means at the casino
Slot results are random in the short run and predictable in the long run. You can’t influence a spin, but you can choose the price: pick games with a higher published RTP (see our list of the highest RTP slots), check the version in the help screen, and set the spend before you start.
Slots are for adults 21 and older, or the legal age where you live. For free, confidential support any time, call or text 1-800-MY-RESET, and see our responsible gambling page.