Table games show the formula in its plainest form. A straight bet on a single zero wheel wins on one number out of thirty seven and pays thirty five to one, which returns thirty six units for every thirty seven staked over a full cycle. Thirty six divided by thirty seven gives about 97.3 percent. The same method fits any bet: weight the money returned in each outcome by its probability, add the results and divide by the money staked. A rule that changes a payout or a probability changes the return at the same time.
Modern video slots are harder to count by hand, because free spins, multipliers and bonus picks branch into millions of paths. Studios often count what can be counted exactly and simulate the rest over very large numbers of rounds, choosing the method and the size of the run to suit the game. In many titles the features carry a large share of the return, sometimes a third or more. A bonus buy option is often calculated on its own, so a purchased feature can carry a return slightly different from the one quoted for ordinary spins.