How slot machines work: RNGs, reels, paylines and near misses
How slot machines work inside: the random number generator, virtual reel mapping, paylines vs ways to win, symbols and paytables, and why near misses happen.
Dans cet article 7 sections
A modern slot machine is a computer program with a screen or a set of reels attached. When you press spin, a random number generator picks a result, the software translates that result into symbols, and the reels or animation simply show you what has already been decided.
Everything else, the reels, the paylines, the near misses, the bonus music, sits on top of that one random draw. This guide walks through each layer, using regulators’ rules and the design documents researchers have obtained from manufacturers.
What decides the outcome of a spin?
A random number generator (RNG). For each spin it produces a number, and the game maps that number to a position on each reel. The spinning animation and the stopping reels come afterwards and don’t affect the result.
Regulators define the machinery in those terms. Nevada’s rules describe a machine’s “control program” as the software that “affects the result of a wager by determining win or loss”, including the “random number generation process”, the “mapping of random numbers to game elements to determine game outcome”, and the “evaluation of the randomly selected game elements to determine win or loss”, according to Nevada Gaming Commission Regulation 141. The same regulation defines randomness as “the observed unpredictability and absence of pattern in a set of elements or events that have definite probabilities of occurrence”.
That last phrase is the important one. Each outcome has a fixed, designed probability. The RNG makes the sequence unpredictable, but it doesn’t make every symbol equally likely.
What is a virtual reel?
A virtual reel is a longer, hidden list of positions that the RNG chooses from, each mapped to a stop on the visible reel. Giving some stops more virtual positions than others makes them land more often.
The idea goes back to a patent granted in 1984 to Inge Telnaes for a machine “utilizing a random number generator for selecting the reel stop positions”. In its example, a 22-stop physical reel is backed by 44 virtual positions, “possible because more positions are included in the read only memory than are included on the mechanical reel”, according to US Patent 4,448,4192. That lets a designer set any symbol’s odds without changing the physical reel.
Real games go much further. A physical reel with 22 stops gives 22 × 22 × 22 = 10,648 possible three-reel results. The two mechanical-reel games Harrigan and Dixon examined used virtual reels of 72 and 256 stops, raising the possible outcomes to 373,248 and 16,777,216, according to their 2009 study of manufacturers’ PAR sheets3. In one game, a blank occupied three virtual stops while the 7 beside it occupied one, so the blank landed on the payline three times as often as the 7.
Why do near misses happen so often?
Partly by design. Virtual reels can place many blank positions right next to the top symbol, so the symbol shows up just above or below the payline far more often than on it. That looks close; it isn’t.
Harrigan and Dixon call this clustering. In the PAR sheet they describe, five virtual stops mapped to the blank above the jackpot symbol, five to the blank below it, and only one to the symbol itself. The result is that the player sees the high-paying symbol five times as often just above the payline as on it, and five times as often just below: ten times as often off the payline as on it, according to their analysis3.
Near misses matter because of how people respond to them. In a brain-imaging study, near misses were rated as less pleasant than clear misses but increased the desire to keep playing, and they activated reward-related brain regions that also responded to wins, according to Clark and colleagues (2009)4. A near miss is a loss; it tells you nothing about the next spin. More in our guide to slot myths.
What’s the difference between paylines and ways to win?
Paylines are fixed paths across the reels that must carry matching symbols to pay. “Ways to win” games drop the fixed paths and pay for matching symbols anywhere on adjacent reels, counted from the left.
- Paylines. A classic three-reel machine might have a single line through the middle. Video slots often have dozens of lines zig-zagging across a grid. Your total bet is usually spread across the lines, so a win on one line can still be smaller than your total stake.
- Ways to win. On a grid of five reels with three visible symbols each, any path that picks one symbol from each reel counts. That’s 3 × 3 × 3 × 3 × 3 = 243 ways. Grids with more rows, or rows that change size every spin, can have thousands of ways.
More lines or ways mean more frequent small wins, not a better deal: the game’s overall payback is set by its design, as our guide to RTP explains. Many of those frequent wins pay back less than you bet, a pattern covered in slot volatility.
What do the symbols and paytable mean?
The paytable lists which symbol combinations pay and how much, usually as a multiple of your bet. It’s the one part of the math a player can read directly, so it’s worth opening before you play.
Most games mix low-paying symbols (card ranks or simple icons) with a few high-paying theme symbols, plus special symbols such as wilds and scatters that trigger features. Licensed machines must display the rules of play and “the amount to be paid on winning wagers” in “an accurate and non-misleading manner”, according to Nevada’s Regulation 141. What the paytable doesn’t show is how often each combination lands; that lives in the PAR sheet, which players don’t usually see. Special symbols are explained in slot bonus features.
Are slot spins independent?
Yes. Every spin is a fresh random draw with the same probabilities as the one before. A machine that just paid a jackpot is exactly as likely to pay again, and one that hasn’t paid all day isn’t “due”.
Nevada makes this a rule: “All possible game outcomes must be available upon the initiation of each play of a game”, under section 14.040 of Regulation 141. Apart from features that visibly stay on the reels for later spins, such as sticky wilds, nothing carries over from earlier spins to make a win more or less likely, so past losses can’t be used to predict a win.
Do free slots work the same way?
They play the same way on screen, but they pay in virtual coins and aren’t held to casino payout rules, so their odds don’t tell you anything about a real machine.
Our guide to how free slots work covers virtual coins, how free and casino slots differ, and where real money can still come into it.
Sources
- Nevada Gaming Commission: Regulation 14, Manufacturers, distributors, gaming devices (Rev. 08/26) gaming.nv.gov
- Telnaes: US Patent 4,448,419, Electronic gaming device utilizing a random number generator for selecting the reel stop positions (1984) patents.google.com
- Harrigan & Dixon: PAR Sheets, probabilities, and slot machine play, Journal of Gambling Issues 23 (2009) doi.org
- Clark, Lawrence, Astley-Jones & Gray: Gambling near-misses enhance motivation to gamble and recruit win-related brain circuitry, Neuron (2009) pubmed.ncbi.nlm.nih.gov
- Gambling Commission: Package of changes which make online games safer by design (February 2021) gamblingcommission.gov.uk
Facts last checked November 2026. Spotted something out of date? Tell us at editor@freeslots.now.