Watch your random walk. When it hits $0, you're ruined!
Game Settings
Your Probability of RUIN
Session Statistics
The Mathematics
where p = win prob, q = 1-p, n = starting units, N = goal units
Even in a perfectly fair game, a gambler with finite money playing against someone with infinite money (like a casino) will INEVITABLY go broke. The only question is when.
Watch your random walk. When it hits $0, you're ruined!
where p = win prob, q = 1-p, n = starting units, N = goal units
In 1656, Blaise Pascal wrote to Pierre Fermat about a curious problem: if two gamblers play until one goes broke, what are the odds? This simple question launched probability theory—and revealed a brutal truth about gambling.
Imagine you walk into a casino with $100, and you'll bet $1 at a time on a fair coin flip (50/50 odds). Your goal is to double your money to $200. The casino effectively has infinite money compared to you.
The gambler's ruin problem explains why casinos are profitable businesses:
Your bankroll performs a "random walk"—at each bet, it moves up or down by $1. This walk continues until it hits either $0 (ruin) or your goal. The walk is constrained: there's an "absorbing barrier" at zero that you can never escape.
For a fair game (p = q = 0.5), the probability of ruin before reaching goal N starting with n dollars is elegantly simple:
For an unfair game (like roulette where p = 18/38 ≈ 0.4737), the formula becomes:
P(ruin) = ((q/p)^n - (q/p)^N) / (1 - (q/p)^N)
With roulette odds trying to double $100: P(ruin) ≈ 99.99%!
If you keep playing against someone with unlimited funds (the casino), with no goal in mind:
Bankruptcy: A company with finite capital competing against larger firms faces "corporate gambler's ruin." Random market fluctuations can eventually drain its resources.
Species Extinction: Small populations face genetic "gambler's ruin." Random fluctuations in births and deaths can drive a population to zero—extinction is an absorbing barrier.
Trading: Day traders with limited capital face the same mathematics. Even with edge, drawdowns can wipe them out before their strategy pays off.
The gambler's ruin teaches us that variance is dangerous when resources are finite. It's not enough to have good odds—you need to survive long enough for the odds to work in your favor. This is why: