House edge is calculated as the percentage of each bet that the casino expects to retain over the long run. It is derived from the difference between the true odds of winning and the payout odds offered by the casino. For example, in American Roulette, the house edge is 5.26% due to the presence of 0 and 00 on the wheel.