The calculated figure is a theoretical return, and any real sample of play drifts away from it. Testing laboratories rerun the maths and simulate play before certifying a game, and some regulators ask operators for payout reports that set measured results against the theory over a period. Across a few thousand spins the measured figure can sit several points away from the calculated one, which is ordinary variance rather than a fault. Only very large volumes of play, often millions of rounds for a volatile game, bring the two close together.
A worked example shows the arithmetic step by step. Picture a game staked at one unit with four winning outcomes: one chance in five to pay back two units, one in fifty to pay fifteen, one in four hundred to pay eighty and one in five thousand to pay three hundred. Each payout times its chance gives 0.4, 0.3, 0.2 and 0.06 units. Added together they make 0.96, so the game returns 96 percent of what is staked and keeps the other 4 percent as its margin.