How slot machines work

How the random number generator picks the stops

by Michael Bluejay | ©2002-08
See also how to play: Baccarat | Blackjack | Craps | Roulette | Texas Holdem | Video Poker

This page explains how slot machines actually work. Unless you're interested in the math, you'll probably find my general information about slot machines more useful.

 

Slot machines are pretty simple. A random number generator (RNG) picks random numbers, which are then mapped to the symbols on the reels. On three-reel electromechanical slots the reels are usually independent, meaning the machine picks a different random number for each reel. For five-reel video slots the reels are usually dependent, meaning that the machine picks a set of all five reels at once. The Wizard of Odds covers dependent reels pretty well, so I'll cover the more traditional kind, independent reels.

Play this slot machine with fake money or real money at Bodog

No popups, no download, no registration, no B.S., just the game. One click and you're in.

In a three-reel game, a random number generator (RNG) picks three random numbers, each of which corresponds to a stop on each reel, then machine spins the reels so that they stop on the spots selected by the RNG. The principle is the same for five-line video slots: five random numbers, one for each reel.

Note that by the time the reels are spinning, the game is already over. The RNG has already selected the stops, and the reels spin sort of as a courtesy to the player. Slot machines don't even need reels -- you could just put your money in and the machine could tell you whether you won or lost. The presence of the physical reels makes no difference in the game -- they're just there to show you what the computer picked.

If you saw a worker open up a slot machine you might see a reel like the one on the right, if it were unfolded. There are various symbols spread across 22 stops. Yes, the blanks count as stops. You might think that since there are 11 blanks you have a 50% chance of hitting one, and since there's only one jackpot symbol you have a 1-in-22 chance of getting it. But it doesn't work that way, because we're not really working with a 22-stop reel. We're really working with an invisible reel of like 128 or so stops, controlled by the computer. The computer will pick a number from 1-128, each of which is mapped to a specific symbol. Here's a hypothetical map for the reel shown at right:

Selected Number
Symbol Picked
Total no.
of symbols
1-73
Blank
73
74-78
Cherry
5
79-94
Bar
16
95-107
Double Bar
13
108-118
Triple Bar
11
119-126
Red 7
8
127-128
Jackpot
2

Say the computer picks #53. That's a blank, and it tells the reel to stop on a blank. If it picks #82, then it tells the reel to top on a cherry. If it picks #127, then the reel tops on the jackpot symbol.

Most of the numbers are for the lower-paying symbols, so that's what's more likely to get chosen. That's what we mean when we say the reel is weighted. Some symbols are more likely to be chosen than others, even if they appear the same number of times on the physical reel.

So you don't really have a 1 in 22 chance of hitting the jackpot symbol on this reel. Your odds are actually 2 in 128, or 1 in 64.

And of course, the most likely symbol is a blank. You have a 73 in 128 chance (57%) of drawing one of those.

Speaking of blanks, when the computer picks a blank, it actually picks a specific blank. Same for the other symbols that appear on the reel multiple times, like cherries and certain bars. The table above was simplified to make things easier to understand, but now that we've come this far, let's now look at how every single position on the reel might be weighted.

Stop

Symbol

Selected
Number
Number
of Chances
1
cherry
1-2
2
2

3-7
5
3
8-12
5
4

13-17
5
5
7
18-25
8
6

26-30
5
7
31-35
5
8

36-41
6
9
cherry
42-43
2
10

44-49
6
11
==
50-56
7
12

57-62
6
13
cherry
63
1
14

64-69
6
15
=
70-75
6
16

76-81
6
17
82-87
6
18

88-93
6
19
ΞΞ
94-104
11
20

105-115
11
21
jackpot
116-117
2
22

118-128
11

The fourth column (Number of Chances) shows the weighting. We've got a 2 in 128 chance of landing on the first stop (a cherry), and an 8 in 127 chance of hitting stop #5, the Red 7. Notice how the blanks surrounding the Jackpot symbol, #20 and #22, are heavily weighted. They're more likely to be selected, resulting in the "near-miss" effect. You think you just almost got the jackpot symbol, but it's really an illusion. You weren't close at all. It's like the blanks above and below the jackpot have little magnets on them.

So far we've talked about only one reel, though most slots have three, and each reel is actually weighted differently. As you go from reel to reel the weighting gets heavier, so you're more likely to hit higher paying symbols early on. By the third reel the higher-paying symbols are even less likely. This results in another kind of near-miss effect: How many times have you gotten JACKPOT, then another JACKPOT, and then... a blank? After the first two hits you're holding your breath for the third reel, but in reality your odds are poorer for getting that third jackpot symbol than they were for getting either of the first two symbols. However, for the rest of this discussion, we're going to assume that each reel is in fact identical in order to make the math easier.

 

Hitting the jackpot

So now that we know the weighting of the reels, we can answer that elusive question: What are the odds of hitting the jackpot? Here's the answer. Assuming we have three identical reels as listed above, then the odds of getting the jackpot symbol on any reel is 2/128. The probability of hitting the jackpot on all three reels is 2/128 x 2/128 x 2/128 = 1 in 262,144. (If you played fast at 800 spins for 8 hours a day, you'd hit the jackpot on average once every 41 days.)

The 1 in 262.144 is for a standard, non-progressive machine. On a machine like Megabucks the virtual reels are huge, and the odds of winning Megabucks are close to 1 in 50 milion.

The odds of hitting the jackpot on any machine are the same on every spin. It doesn't matter if the machine has been played for months or years without hitting the jackpot, the odds of hitting the jackpot on the next spin are always the same. No slot is ever "due" to hit a jackpot. The universe just doesn't work like that.

If you don't believe me, try this experiment: Flip a coin until you've flipped three Heads in a row. At this point Tails should be "due", right? It's not. Flip again and write down the result. Repeat the whole process, flipping until you've had three Heads in a row, then flipping again and recording the result. Do this until you have 100 results. You'll see that you're no more likely to get Tails after three Heads than you are to get a fourth Head. Likewise, a machine that's been played for a year without hitting a jackpot is no more likely to hit the jackpot soon than one that just hit yesterday.

 

Calculating the return

Now that we know the weighting of the reels, we can calculate the payback for this machine, which the percentage of money the machine would pay back over an infinite number of spins. Of course you can't play for an infinite amount of time, but the point is, the longer you play, the more likely your return will equal the infinite payback percentage.

Our slot has the following paytable.

Bluejay Bonanza Slot Machine paytable
Symbols
Payout
Jackpot (3 JP symbols)
1666
7 7 7
300
Ξ Ξ Ξ
100
= = =
50
— — —
25
3 of any bar
12
3 cherries
12
2 cherries
6
1 cherry
3

To find the payback of the machine, we multiply the probability of each winning hit times the payout for that hit, then add them all up, as shown in the following table. I included a "How Calculated" column if you're interested in seeing how I derived the probabilities. The numbers I use there came from the first table, above ("Total no. of symbols" column).

Bluejay Bonanza Slot Machine
Symbols
Probability

How calculated

Payout
Prob. x Payout
Jackpot (3 JP symbols)
0.000004

2/128 x 2/128 x 2/128

1666
0.7%
7 7 7
0.000244

8/128 x 8/128 x 8/128

300
7.3%
Ξ Ξ Ξ
0.000635

11/128 x 11/128 x 11/128

100
6.4%
= = =
0.001048

13/128 x 13/128 x 13/128

50
5.2%
&emdash; &emdash; &emdash;
0.001953

16/128 x 16/128 x 16/128

25
4.9%
3 of any bar
0.030518

(16+13+11)/128 x (16+13+11)/128 x (16+13+11)/128

12
36.6%
3 cherries
0.000060

5/128 x 5/128 x 5/128

12
0.1%
2 cherries
0.004399

((5/128)x(5/128)x(128-5)/128)x3
(prob. 1st reel x prob. 2nd reel x prob. NOT 3rd reel; then multiply all by 3, to account for the 2 cherries appearing in any of 3 different positions -- 1,2 or 2,3 or 1,3)

6
2.6%
1 cherry
0.108211

(5/128x(128-5)/128x(128-5)/128)*3
prob. 1st reel x prob. NOT 2nd reel x prob. NOT 3rd reel; then multiply all by 3, to account for our single cherry appearing on any one of the three reels

3
32.5%

Total

96.3%

So this is a 96.3% machine, meaning that if you played it forever, you'd get back 96.3¢ for every $1 you put into it. Of course you can't play it forever, and in the short-term anything can happen, but the longer you player, the more likely your return will be 96.3% -- meaning you will have lost 3.7% of all the money you bet.

Of interest is that the small payouts account for most of the payback. The single cherry alone provides nearly a third of all the money you get back from the machine. Same for "any bar / any bar / any bar". The jackpot itself comprises less than 1% of the total payback.

Note that some figures are not exact due to rounding.

 

The RNG is constantly picking numbers

The RNG is always working, even when you're not playing, picking thousands of 3-number combinations per second. The moment you press the button or pull the lever, the RNG picks its 3 numbers for your play. So if someone hits a jackpot on a machine you were just playing, relax, you wouldn't have gotten it had you kept playing, because you would have hit SPIN at a slightly different time than they did. Every millisecond you delay in hitting the SPIN button results in a different combination.

The reason the machine constantly picks numbers is so that no one can discern any pattern in the number-picking process and therefore predict a winner. It's extremely unlikely that anyone could do so even if the RNG didn't keep picking random numbers all the time, because the number of random numbers in a complete cycle is astronomical, but having the RNG pick numbers all the time removes any remote possibility that anyone could predict the outcome.

 

If you liked this article, see also my general information and strategies about slot machines.

 

Other Resources (hand-picked)

  • Wizard of Odds. Nobody knows more about the math of casino gambling than the Wizard. His survey of slot returns of Las Vegas casinos was groundbreaking and legendary.
  • Slot Machine Fan. Useful, no-nonsense articles about playing slot machines, without the guesses and other B.S. so common on the net.
I hope this article has been helpful to you. Have fun!

©2001-08 Michael Bluejay | All Rights Reserved

See also how to play:

 

a d v e r t i s e m e n t s

Online Casino Guide
Guide to gambling online features casino reviews, game guides, payout percentage information and a guide to online casino bonus offers
CasinoChecklist.com

Online Slot Games
Best Vegas-style online casino slots. $50 casino bonus with the first deposit, along with a loyalty program that gives you bonuses monthly. Best comps, best reputation, and fast payouts.
HotPepperCasino.com

Online Poker
The complete directory of online poker rooms: detailed reviews, bonus codes, player comments and up to date poker tournaments and freerolls.
Online-Poker-Explorer.com

Online Poker
The complete directory of online poker rooms: detailed reviews, bonus codes, player comments and up to date poker tournaments and freerolls.
Online-Poker-Explorer.com

Reason #1 like Bodog:

Excellent Customer Support

Customer support at most online casinos is a joke. Let me count the ways:

  • No support phone number. Some casinos don't even let you call them! That's unacceptable for any place that is taking your money. In fact, some years ago I used to promote Captain Cooks as my casino of choice, but then CC took their phone number off their website. And so I took them off my website and started looking for another casino to recommend, and that's when I found Bodog.
  • Phone number is hard to find. Even casinos that have a support phone number make you go clicking around through their website to get it. But Bodog puts their number prominently at the top of every single page. If you can't find their phone number, you're not looking.
  • Lengthy hold. Even when a casino has a phone and you're able to find it, you may get the pleasure of waiting on hold forever before you can talk to someone. But I've called Bodog several times and more often than not, they pick up instantly. The phone menu is short, too. I hit #2 for Customer Support, and then without any hold time, it's "Bodog Customer Service, how can I help you?"
  • Support staff stretched thin. Many casinos employ a call center that takes calls for a bunch of different casinos. I don't know how many times I'd call a casino and tell them I was having trouble depositing or ask for details of their bonus offer, and they'd respond, "What casino are you calling about?" Man, that was never a good feeling. And you can see where I'm going with this: Bodog takes calls only for Bodog.
  • Clueless reps. The support reps at many casinos don't even understand the games. Sometimes when I've inquired about something like whether double down in blackjack or double-up in video poker counts towards the wagering requirement, it became clear that the rep didn't even know how the games were played, and couldn't answer my question. (They'd always give me an answer anyway, which I'd clearly be a fool to trust.) At Bodog the reps understand the games. And if you get a rep who doesn't know the answer, they'll check with someone else to find out for sure, rather than giving you some made-up B.S.

Oh, and did I mention that Bodog reps are all fluent in English?

U.S. players should note that it currently takes about six weeks to get a payout by check. Of course, if you just play the free games like I recommend then you won't have to worry about this.

Visit Bodog