Skip to main content
Slots guide

How is RTP calculated? The maths behind the percentage

RTP is worked out from a game's design, weighing every outcome's probability against its prize, then checked against real play by dividing total wins by total stakes.

· · 5 min read

Add as a preferred source on Google
Lucky Tiger News title card: How is RTP calculated? The maths behind the percentage

There are two calculations behind an RTP figure, and they answer different questions. The theoretical RTP is worked out from the game's design: every possible outcome, how likely it is and what it pays, averaged over the long run. The actual RTP is measured once the game is live: the total paid out in wins divided by the total staked. The first is the figure a game states. The second is how online operators check that the game is behaving as designed.

How is the theoretical RTP worked out?

A game's designer knows every outcome the game can produce and the probability of each one. Multiply each outcome's probability by what it pays, add those together and compare the total with the stake. The result is the average share of stakes the game is designed to return as prizes over a very large number of plays.

Here's a simplified hypothetical example. Say a game costs £1 a play and has 100 equally likely outcomes. The returns below include the £1 stake coming back, so a return of £2 means £1 more than was staked on that play.

OutcomeHow many of the 100Return each timeTotal returned
Top prize1£50£50
Middle prize4£6£24
Small prize11£2£22
No prize84£0£0
Total100£96

If every outcome appeared exactly once, £100 would have been staked and £96 returned. £96 divided by £100 is 0.96, so the theoretical RTP is 96%. The remaining 4% is the margin the game is designed to keep, which is the house edge seen from the other side. Notice that 84 of the 100 outcomes return nothing: the 96% is an average across all of them, not something any single play delivers.

Real games are far more complex, but the principle holds. The Gambling Commission uses the same approach to explain gaming machines in venues. A simple three-reel machine with 20 positions on each reel has 8,000 possible combinations. Adding up the prizes across all of them gives £3,600 of wins against £4,000 of stakes at 50p a play, which is a 90% RTP. Swap one blank position on one reel for an extra prize symbol and the total rises to £3,680, or 92%. That's how a designer sets the figure: by choosing the prizes and how often each one can come up.

What if the player makes choices?

Some online games include an element of skill or decision-making. For those, other than games played against other players, the Commission's standards say the RTP should be calculated using a set strategy, such as a standard or published one. So the stated figure assumes a particular way of playing, and the game's own rules or information should explain which.

How is the actual RTP calculated?

Once a game is live, the sum is simple: total wins divided by total turnover over a chosen period. Turnover means all stakes, including winnings that players have staked again.

Say, as a hypothetical, a game designed at 96% takes £500,000 in stakes over a month and pays out £478,000 in wins. £478,000 divided by £500,000 is 0.956, so its actual RTP for that month is 95.6%, a little below the design figure.

Why don't the two numbers match exactly?

Because results are random, the actual figure drifts above and below the theoretical one. How far it can drift depends on the game's volatility and on how much play has been measured. The Commission's guidance says the tolerance is wider when only a limited amount of play has been counted and narrows as play builds up, until the actual RTP should sit very close to the theoretical figure.

In the Commission's own worked example, one game could be about 4.9 percentage points either side of its theoretical RTP after 50,000 games and still be performing as expected. After 1,000,000 games, that range had narrowed to about 1.1 points. Those ranges use a 95% confidence level, so even a game working correctly would be expected to fall outside them roughly once in every 20 checks. One miss doesn't prove a fault; repeated misses might.

Volatility, briefly, describes how prizes are spread, from frequent small wins at one end to rare large ones at the other. A more volatile game needs more play before its actual RTP settles near the stated figure.

Who checks the figure for online games?

  • Before release, the Commission requires new online games to be tested by an approved test house. That includes verifying the game's maths and theoretical RTP, and simulation testing: running the game automatically for a high number of plays to check that the actual RTP lands within an acceptable range of the expected one.
  • The test report must reach the Commission before the game is released.
  • After release, online operators must monitor how their games perform, raise alerts when a game appears to fall outside its acceptable range, and report to the Commission where an error is confirmed.
  • Online results must be acceptably random, and compensated games, which adjust the chance of winning according to earlier results to reach a target, are not permitted. Some gaming machines in venues do work that way, which is why machines in venues must state whether they are compensated or random.

Online games must also make the RTP, the house edge or the probability of winning available before you commit to play, along with how the game works and how winners are decided. Which of those a game shows depends on the game itself.

What the calculation means for you

Every step of this maths works on very large numbers of plays, usually pooled across many players. None of it describes one session. The Commission makes the point about gaming machines: a machine showing an 85% RTP doesn't mean you should expect an average of 85p back for every £1 staked during a session. Each result is random, any session can land well above or well below the stated figure, and over time the margin stays with the game.

The point I'd keep is this: an RTP is a long-run average worked out from the game's design and checked against a very large volume of real play. It tells you how the game is built and what share of stakes it keeps over time. It doesn't tell you what you'll get back, and it doesn't change the fact that playing costs money.

Sources: UK Gambling Commission, Live return to player performance monitoring of games of chance; UK Gambling Commission, How to calculate return to player (RTP); UK Gambling Commission, How can gaming machines meet their %RTP if they are random? (LA Bulletin, August 2020); UK Gambling Commission, Return to player: how much gaming machines pay out; UK Gambling Commission, Testing strategy for compliance with the remote technical standards: procedure for testing; UK Gambling Commission, Remote gambling and software technical standards: RTS 3, rules, game descriptions and the likelihood of winning; UK Gambling Commission, Remote gambling and software technical standards: RTS 7, generation of random outcomes.

How this was written. Drafted with AI assistance from the sources listed above in Harvey Watkins's style and published after automatic checks for accuracy and compliance, without a line-by-line read by an editor. If you spot a mistake, tell us. Our editorial standards.

More Guides