Martingale simulator for roulette

Martingale simulator for roulette

Martingale doubles the stake after every loss and returns to the base bet after a win. It wins one base unit per cycle with high probability, until a losing streak meets the table maximum or the bankroll. The lab above has already run 1,000 seeded spins; press Space to rerun or R for a new seed.

Watch two things on the chart: the dashed EV line, which falls by 2.7% of everything wagered, and the moment the balance line drops off a cliff. Switch on Monte Carlo to see 60 alternate futures with the same settings and count how many of them end at zero.

Open this experiment in the lab ↑

Analysis

All numbers below were computed by the same simulator and models that run in the lab above, when this page was built.

Expected value

Every bet in roulette has a negative expectation. A betting system changes how stakes are distributed over time, not the edge per coin wagered.

House edge, European wheel
edge = 1 / 37 ≈ 2.70%
House edge, American wheel
edge = 2 / 38 ≈ 5.26%
European wheel with La Partage
edge = 0.5 / 37 ≈ 1.35%
Expected value of an even-money bet B
EV = (18/37)·B − (19/37)·B = −B/37
Martingale
bet(k) = base · 2^k · Σ = base · (2^(k+1) − 1)
Expected session result
E[net] = −edge × total wagered

Ruin probability

400 simulated sessions of 1,000 spins with a 1,000-coin bankroll and a 10-coin base unit: 343 went bankrupt (85.8%). The median session ended at 0 coins.

Table-limit ceiling

With a 10-coin base unit and a 5,000-coin table maximum, Martingale needs a bet above the limit after 9 consecutive losses. By then 5,110 coins have been staked on the streak. Chance that a 1,000-spin session contains at least one streak of 9 losses: 70.3%.

Strategy comparison

400 sessions per strategy, 1,000 spins each, 1,000-coin bankroll, 10-coin base unit, 5,000-coin table maximum, European wheel (2.70%). The same 400 seeds are used for every strategy.

StrategySurvivedMedian finalMean finalAvg wageredExpected lossObserved lossAvg longest losing streak
Flat bet98%7407249,9802702769.6
Martingale14%067013,5103653307.7
Fibonacci25%065913,9573773418.3
D'Alembert7%030725,3536856937.5
Labouchère3%033522,4976086656.2
James Bond (7.0 / 2.5 / 0.5)100%73871910,0002702815.9

Questions

Does the Martingale system beat roulette?

No. Each spin keeps the same negative expectation, so the expected result of a session is minus the house edge times the total amount wagered. Martingale converts many small wins into rare, very large losses.

Why does the table maximum matter so much?

Doubling grows exponentially. With a 10-coin base bet, nine losses in a row already call for a 5,120-coin tenth bet. When the table cap or your bankroll stops the doubling, the whole streak is lost at once.

Can I reproduce a run I saw?

Yes. The seed, strategy, bankroll and bet are stored in the URL. Use the Share experiment link button and anyone who opens the link sees the same spins.

Is this real money?

No. The lab uses virtual coins with no cash value. There are no deposits, withdrawals or prizes. 18+.

More experiments

Free-to-play entertainment and math education with virtual coins only. No real money, no deposits, no withdrawals, no prizes. 18+. Simulated results do not predict real outcomes.

18+ | Virtual Coins Only. No real money, no deposits, no cash-out, no prizes. Simulated results do not predict real outcomes.