Casino Game Math Explained

Slot Machine Mechanics: Reels, Paylines and Return to Player

Learn how slot machines use reels, paylines and random number generators, and how return to player and hit frequency are set through the pay table and symbol weighting.

On this page
  1. The parts of a slot
  2. The outcome is decided by the random number generator
  3. A toy example: hit frequency and return
  4. Two levers: return and hit frequency
  5. What RTP does and does not tell you
  6. Payline count and bet size
  7. The feeling of near wins

The parts of a slot

A slot machine, whether in a venue or online, has a few core pieces.

  • Reels: the columns of symbols that appear to spin. Classic machines have three; many video slots have five or use grids.
  • Symbols: the images on the reels, each with a defined role in the pay table.
  • Paylines: the lines across the reels on which matching symbols pay. A machine might have one line, or dozens, or use “ways to win” systems that pay for matching symbols on adjacent reels without fixed lines.
  • Pay table: the list of what each winning combination pays for a given bet.
  • Random number generator: the software that decides the outcome of each spin.

Everything else, including animation, sound and bonus features, sits on top of these parts.

The outcome is decided by the random number generator

On modern machines the result is chosen by random number generators the instant a spin is requested. The spinning reels display a result that has already been determined. Each spin is independent of the one before, so no combination is “due”, and a machine does not tighten or loosen depending on a recent run.

The generator typically maps to virtual reels: a list of stops that can be much longer than the number of visible positions. This is important because the number of times a symbol appears on the virtual reel, not on the visible one, sets its probability. A designer can give a high-paying symbol only a few virtual stops while lower-paying symbols get many, and the visible reel does not need to look proportionate.

A toy example: hit frequency and return

Imagine a simple three-reel slot where each reel has 10 equally likely stops. That gives 10 x 10 x 10 = 1,000 equally likely combinations. A designer assigns these payouts, per 1 unit bet, as the total returned:

Outcome Combinations Pays Contribution to return
Top prize 1 300 300
Second prize 4 50 200
Third prize 20 10 200
Small win 100 2 200
Loss 875 0 0

The combinations add up to 1 + 4 + 20 + 100 + 875 = 1,000. Total returned across all 1,000 equally likely spins is 300 + 200 + 200 + 200 = 900 units for 1,000 units wagered.

  • Return to player (RTP): 900 / 1,000 = 90%.
  • Implied house edge: 10%.
  • Hit frequency: (1 + 4 + 20 + 100) / 1,000 = 125/1,000 = 12.5%. About one spin in eight pays something.

The toy figures are for illustration; real machines use different numbers and many more combinations.

Two levers: return and hit frequency

RTP and hit frequency are separate settings. In the toy machine, a designer can keep the 900 units of return and rearrange it:

  • Cut the top prize to 100 and give the 200 units difference to the small wins by adding combinations, and the hit frequency rises while the big payout shrinks.
  • Raise the top prize and remove some small wins, and the hit frequency falls, so wins are rarer but bigger.

The RTP stays at 90% in both cases. What changes is how the return is delivered, which affects how a session feels. This is the point where RTP meets game volatility, discussed in its own article: RTP describes the average, and volatility describes how widely individual results scatter.

What RTP does and does not tell you

An RTP of 96% means the machine is designed to return 96 units for every 100 wagered over a very large number of spins, leaving a 4% edge. Several caveats follow.

  • It is calculated over a cycle that can be millions of spins or more. A single session is far too short to match it, and short-run results can be well above or below.
  • It is an average across all players, not a promise to any individual.
  • Bonus features and jackpots are often included in the figure, so the base game alone may return less. Progressive jackpots add a share of each bet to a growing prize, which makes the share of return coming from rare events larger.
  • Regulators in many jurisdictions set minimum RTP levels or require testing, and operators may publish the figure. Where it is not published, there is usually no way to tell from the outside.

Payline count and bet size

More paylines do not change the machine’s built-in return when the pay table is designed to a given RTP; they change how the total bet is split. On a 20-line game with 1 unit per line, the player bets 20 units per spin, and the return is still set against the total. Playing more lines in the hope of better odds misreads this: more lines usually means more units at risk per spin and a faster pace of expected loss.

The feeling of near wins

Slot displays can show two top symbols with the third just above or below the payline. These near misses are a result of the reel layout, and they do not signal a win coming up. Whether they are shown more often than chance alone would produce depends on the machine’s design and local rules, but in either case each spin is independent. This is a good example of cognitive biases around chance and risk.

Slot play involves paying for entertainment against a built-in margin. Outcomes are uncertain, and a budget set in advance is a sensible way to treat the cost.

The complete guide to casino game math explained

How the House Edge Works: A Mathematical Explanation
Read the guide

Keep exploring

Guides from other topics

All topics →