Every casino game is built so that what it pays is a little less than what the bets are worth. Over a few bets anything can happen; over thousands, the difference decides the result. This guide explains the maths behind that: probability, expected value, house edge and variance, with roulette as the worked example because its numbers are easy to check.

Probability and payout

The probability of an event is the number of ways it can happen divided by all possible outcomes. On a single-zero roulette wheel there are 37 pockets, so a single number comes up with probability 1 in 37 (2.70%) and red with 18 in 37 (48.65%).

A fair game would pay according to those chances: 36 to 1 for a single number. The casino pays 35 to 1. That gap, between true odds and the payout, is where every house edge comes from.

Expected value

Expected value (EV) is the average result of a bet if you could repeat it forever: each outcome's result times its probability, added up. For €1 on a single number at European roulette:

  • Win: 1/37 × €35 = €0.946
  • Lose: 36/37 × −€1 = −€0.973
  • EV: −€0.027 per €1 bet, a house edge of 2.70%

The house edge is minus the EV as a share of the bet. RTP, used for slots, is the same idea from the other side: 96% RTP means an EV of −€0.04 per €1. Our beginner's guide lists the house edge of each common game.

Variance: why short sessions differ so much

EV tells you the average; variance tells you how far real results spread around it. For €10 on red at European roulette, here are your chances of being ahead after different numbers of spins, worked out exactly from the probabilities:

SpinsWageredAverage lossChance of being ahead
10€100€2.7034.4%
100€1,000€27.0335.5%
1,000€10,000€270.2718.8%
10,000€100,000€2,702.700.3%

That is the law of large numbers in practice. Over 100 spins, the typical swing (one standard deviation, about €100) is far bigger than the average loss, so a third of players finish ahead. Over 10,000 spins, the swing (about €1,000) is far smaller than the average loss, and almost nobody does. The casino plays millions of bets, so for the casino the result is close to certain.

Independent and dependent events

  • Roulette spins, dice rolls and slot spins are independent: the wheel and the random number generator have no memory. After ten reds, red on the next spin is still 18 in 37. Believing otherwise is the gambler's fallacy.
  • Cards dealt from a shoe are dependent: each card removed changes what is left. That is why card counting can work in blackjack dealt from a shoe, and why it can't when the cards are reshuffled before every hand.

Margins in sports betting

Bookmakers build their edge into the odds. Decimal odds convert to implied probability as 1 ÷ odds. On a two-way market priced 1.91 and 1.91, each side implies 52.36%, adding up to 104.7%. The extra 4.7% is the overround; it works out to a bookmaker margin of about 4.5% on what is staked.

What maths can and can't do for you

  • It can tell you what a game costs: stake × number of bets × house edge.
  • It can show you the cheaper choices: single-zero roulette over double zero, the Banker bet over Tie, a 97% slot over a 94% one.
  • It can't make a negative-EV bet positive. No staking pattern changes the EV of the bets underneath; our guide to betting systems shows why.

Casino maths: FAQ

What is expected value in gambling?

The average result of a bet over many repeats. At European roulette it is −€0.027 per €1 on any bet.

If the house always wins, why do some players win?

Because of variance. After 100 spins of €10 on red, about 35.5% of players are ahead; after 10,000, about 0.3%.

Is red more likely after a run of blacks?

No. Each spin is independent; the chance of red stays 18 in 37.

What is the bookmaker's margin?

The amount by which the implied probabilities of all outcomes exceed 100%. Odds of 1.91 on both sides of a two-way market give a margin of about 4.5%.

Sources

  • Wizard of Odds: roulette basics (payouts and house edge)
  • Expected values, chances of being ahead (exact binomial) and the margin example: our own calculations from those payouts

Checked 29 October 2026.