How Slot Machines Work: Reels, RNG, Paylines & Near-Misses
How slot machines really work: the random number generator, virtual reels, paylines, RTP, volatility and near-misses, with a fully calculated example machine.
Key takeaways
- A modern slot is a random number generator plus a display. The result is fixed the instant you press spin; the reels just show it.
- Virtual reels let designers weight symbols, so a jackpot symbol can be far rarer than it looks on the physical or on-screen reel.
- RTP, commonly around 85% to 98%, is a long-run average over a huge number of spins. Volatility describes how bumpy the ride is on the way there.
- Machines are never due, hot or cold. Each spin is independent, and near-misses carry no information about the next one.
On this page
A slot machine is a random number generator wearing a costume. The moment you press spin, software picks the outcome; the spinning reels are an animation of a decision already made. How often each symbol lands is set by the game's math, and that math gives the house a long-run edge, typically paying back around 85% to 98% of what's wagered.
From the Liberty Bell to software
The classic early slot is Charles Fey's Liberty Bell, from around 1895. It had three mechanical reels, a handful of symbols and a lever. What you saw was literally what you got: the physical reels decided the result.
Modern machines keep the look but swap the mechanics for software. Whether the reels are physical, on a video screen or on your phone, the result comes from a random number generator (RNG).
What happens when you press spin
- The RNG runs constantly, producing a stream of numbers whether anyone is playing or not.
- You press spin. The game takes the current random value or values.
- Numbers become symbols. Each value maps to a stop position on each reel.
- The display catches up. The reels spin and land on the result that was already chosen.
That's why hitting the stop button doesn't change anything; it only skips the animation. And because each spin draws fresh random numbers, the machine has no memory of what came before. For more on how these generators work and are tested, see how RNGs work.
Virtual reels and symbol weighting
On a mechanical reel, every stop is equally likely. That limits the math. Say each reel has 22 stops: a single jackpot symbol on each of three reels hits 1 in 22 × 22 × 22 = 10,648 spins, too often to fund a large jackpot.
Virtual reels remove that limit. The software uses a longer list of virtual positions, each mapped to a stop on the visible reel. Suppose a reel has 64 virtual positions and the jackpot symbol gets only one of them. Its chance per reel is 1 in 64, and three in a row becomes 1 in 64 × 64 × 64 = 262,144, even though the symbol looks like any other on the reel.
A toy slot machine, fully calculated
To see how RTP is built, here's a simple made-up machine, not any real game. Each of its three reels has 20 equally likely stops: 1 seven, 3 bars, 4 cherries and 12 blanks. That gives 20 × 20 × 20 = 8,000 equally likely outcomes, and you bet $1 per spin.
| Outcome | Ways out of 8,000 | Chance | Pays | Total paid |
|---|---|---|---|---|
| 7 - 7 - 7 | 1 | 1 in 8,000 | $1,000 | $1,000 |
| Bar - bar - bar | 27 | 1 in 296 | $50 | $1,350 |
| Cherry - cherry - cherry | 64 | 1 in 125 | $20 | $1,280 |
| Cherries on reels 1 and 2 only | 256 | 1 in 31.25 | $5 | $1,280 |
| Cherry on reel 1 only | 1,280 | 1 in 6.25 | $2 | $2,560 |
| All wins | 1,628 | 20.35% | $7,470 |
At several hundred spins an hour, call it 500 at $1, that's $500 wagered and an expected loss of about $33 an hour. Faster play costs more, even at the same RTP.
RTP vs. volatility
RTP tells you the average. Volatility tells you how the payouts are spread around it.
In the toy machine, the $1,000 jackpot supplies about 13% of all money paid out. But in a 500-spin session, the chance of never hitting it is (7,999/8,000) to the 500th power ≈ 93.9%. In those sessions the machine effectively returns only (7,470 − 1,000) ÷ 8,000 ≈ 80.9%.
So most players experience a game noticeably worse than 93.4%, while a lucky few experience one much better. Shift more of the payout into rare big prizes and that gap widens: higher volatility, same RTP. Progressive jackpots, funded by a slice of every bet, push the same idea further.
Bonus rounds and free spins work the same way. They aren't gifts on top of the math; they're part of the RTP. When features deliver a big share of the return, the ordinary spins between them pay back correspondingly less. For a deeper look, read RTP vs. volatility or run thousands of spins in the free slot simulator.
Paylines, ways and losses disguised as wins
Many video slots pay on multiple lines across a grid, or on any adjacent matching symbols, sometimes counted as hundreds or thousands of "ways." Your total bet is spread across them.
Say you bet $1 spread across 20 lines at 5 cents each. One line wins 40 cents. The machine celebrates with sounds and animation, but you're down 60 cents on the spin. Researchers call these "losses disguised as wins," and they make sessions feel more successful than they are.
Near-misses
In the toy machine, two 7s followed by a non-7 happens in 1 × 1 × 19 = 19 of 8,000 outcomes, about 1 in 421. The jackpot itself is 1 in 8,000. So "almost won" shows up 19 times as often as "won."
With virtual reels, designers can also control how often blank spaces right next to a jackpot symbol land on the payline, making a big prize appear to just miss. Rules on this vary by jurisdiction. Either way, a near-miss is just another losing outcome. It says nothing about the next spin. The psychology behind why it feels so motivating is covered in the near-miss effect.
Myths the math rules out
- "This machine is due." Spins are independent. A long dry spell doesn't make the next jackpot more likely.
- "That machine is hot." A recent big payout doesn't predict another. Short-term results are mostly noise around the RTP.
- "They loosen the machines at night or on weekends." A machine's payback is set by its approved configuration. It doesn't react to who's sitting there or what time it is.
- "Stopping the reels at the right moment helps." The outcome is decided before the reels stop.
- "RTP tells me what I'll get back tonight." RTP describes a huge number of spins. One session can land almost anywhere.
The bottom line
Slots are pure chance by design: an RNG picks the result, weighting decides how often each symbol lands, and the pay table builds in the house edge. RTP is the long-run average, volatility is the ride, and no timing, pattern or "due" feeling changes either one.
If you play, set a budget and a time limit before you start, and remember that speed multiplies cost. If slots stop feeling like entertainment, you'll find support resources on our help page.
Slot RTP & Volatility Simulator
See what 96% RTP really means across thousands of sessions. Put this guide into practice right now.
Frequently asked questions
Are slot machines random?
Yes, in regulated markets the outcome of each spin is chosen by a random number generator. Results are independent, so previous spins have no effect on the next one.
Does stopping the reels early change the result?
No. The outcome is determined the moment the spin starts. Stopping the reels only ends the animation sooner.
What does 95% RTP mean?
It means that over a very large number of spins the machine is designed to pay back about 95% of the money wagered. In a single session the actual return can be far above or far below that figure.
Can a slot machine be due for a jackpot?
No. Each spin is independent, so a machine that has not paid a jackpot for a long time is exactly as likely to hit on the next spin as one that just paid.
Keep learning
RTP vs. Volatility: What Slot Numbers Really Mean
RTP sets the long-run cost of a slot and volatility sets the swings. Three machines with the same 96% RTP show why your session rarely looks like the average.
Read guide →The Near-Miss Effect & Losses Disguised as Wins
Two jackpot symbols and a third just off the line feels close, but it is a loss. See how slots create near misses and why a small payout can still cost you.
Read guide →How Random Number Generators (RNGs) Work in Casino Games
How casino RNGs produce random results, how a number becomes a roulette pocket or slot symbol, how games are tested, and why no machine is ever due to hit.
Read guide →