Slot machine odds are determined by the game’s programming, specifically the random number generator (RNG). The RNG generates millions of numbers per second, even when the machine is not being played. When you push the spin button or pull the lever, the RNG stops on a random number, corresponding to a specific outcome on the reels. The odds of winning are based on the number of possible outcomes and the frequency of each outcome.