Gambler's ruin: the chance of losing a whole betting bankroll
Gambler's ruin is the probability that repeated bets use up a bankroll before a target is reached. With a fixed stake, independent bets and a win chance of p, the chance depends on the ratio q/p. If p is 0.5 or lower and there is no target, ruin is certain.
What gambler's ruin measures
A bankroll is the money set aside for betting, as defined in the guide on what a bankroll is. Gambler's ruin asks one question: if the same bet is repeated, what is the probability the bankroll hits zero before it reaches a chosen target? The answer is a standard result of probability, and it can be derived in a few lines.
The model uses three assumptions. The stake is fixed, the bets are independent, and each bet has the same probability p of winning. Each bet moves the bankroll up by one unit with probability p or down by one unit with probability q = 1 − p.
Deriving the formula
Let a bankroll of k units start the game, with a target of N units. Let Pk be the probability of ruin from k. The first bet either wins (bankroll k + 1) or loses (bankroll k − 1), so Pk = p × Pk+1 + q × Pk−1. Two edge cases close the problem: P0 = 1 (already ruined) and PN = 0 (target reached, play stops).
Solving that relation gives two cases. Write r = q / p.
You can check the first case by substitution: with Pk = 1 − k / N, the average of Pk+1 and Pk−1 equals Pk. If there is no target (N grows without limit) and p is 0.5 or lower, r is 1 or more and ruin has probability 1. If p is above 0.5, ruin has probability ra, which is less than 1.
Reading the numbers: a fair game first
Take a fair even-money bet (p = 0.5). A bankroll of KES 1,000 with KES 100 stakes is a = 10 units. The target changes the risk directly:
| Target (N units) | Target in KES | Formula 1 − a / N | Chance of ruin first |
|---|---|---|---|
| 11 | KES 1,100 | 1 − 10 / 11 | 9.09% |
| 15 | KES 1,500 | 1 − 10 / 15 | 33.33% |
| 20 | KES 2,000 | 1 − 10 / 20 | 50% |
| 40 | KES 4,000 | 1 − 10 / 40 | 75% |
| 100 | KES 10,000 | 1 − 10 / 100 | 90% |
Even with no bookmaker margin at all, aiming at a high target is mostly a way to lose the bankroll. A fair game also lasts a while: the standard result for the expected number of bets is a × (N − a), which is 10 × 10 = 100 bets for the KES 2,000 target.
Adding the margin: p below 0.5
A bookmaker's margin means the bettor's winning chance is lower than the price suggests, as the guide on expected loss per KES 1,000 staked shows. To keep the arithmetic exact, the next table keeps even-money steps and lowers p. At p = 0.48 the expected result per bet is 0.48 − 0.52 = −0.04 units, so 4% of the stake on average.
Illustrative example
Bankroll KES 1,000, stake KES 100 (a = 10), target KES 2,000 (N = 20), p = 0.48. Then r = 0.52 / 0.48 = 1.0833. Here r10 is about 2.2265 and r20 about 4.9573. When N = 2a, the formula simplifies to P(ruin) = ra / (1 + ra) = 2.2265 / 3.2265, which is about 69.0%.
For several targets, with the same a = 10 and p = 0.48:
| Target (N units) | Target in KES | Chance of ruin first, p = 0.50 | Chance of ruin first, p = 0.48 |
|---|---|---|---|
| 11 | KES 1,100 | 9.09% | 13.1% |
| 15 | KES 1,500 | 33.33% | 47.2% |
| 20 | KES 2,000 | 50% | 69.0% |
| 40 | KES 4,000 | 75% | 94.8% |
| 100 | KES 10,000 | 90% | 99.96% |
A small drop in p changes the picture sharply once the target is far away. This is the same pull of the average described in the guide on the law of large numbers and the margin: the longer the series, the more the negative average dominates.
Does a smaller stake help?
Many bettors expect that smaller stakes mean a safer plan. For a bet with an unfavourable p, the sums say otherwise when the target is fixed in shillings. The next table keeps the KES 1,000 bankroll and the KES 2,000 target, and only changes the stake.
| Stake | Start (a) and target (N) in units | p = 0.50 | p = 0.48 | p = 0.45 |
|---|---|---|---|---|
| KES 100 | a = 10, N = 20 | 50% | 69.0% | 88.2% |
| KES 20 | a = 50, N = 100 | 50% | 98.2% | more than 99.99% |
With N = 2a, the formula gives P(ruin) = ra / (1 + ra). For p = 0.45, r = 0.55 / 0.45 = 1.2222, and r50 is about 22,800, so ruin is almost certain. More, smaller bets give the margin more bets to act on. In a fair game the stake size makes no difference to the ruin chance, only to how long the game lasts.
What the model leaves out
Real bets pay at odds such as 1.90 or 3.40, not in even-money steps, so wins and losses have different sizes. Each bet's win chance also differs, and a bettor may change the stake after wins or losses. Staking a share of the balance instead of a fixed amount is covered in the guide on flat stakes versus a percentage of the bankroll. Those changes alter the numbers but not the direction: when the average result per bet is negative, a longer series raises the chance of an empty balance.
Online, the minimum bet is twenty shillings under section 71(1) of the Gambling Control Act, 2025. The KES 20 row above is therefore the smallest unit a player can use in the model. How runs of losses appear on the way is shown in the guide on variance and losing streaks.
What to take from the arithmetic
- Decide the bankroll as money you can afford to lose entirely, because the model treats an empty balance as a likely outcome.
- Treat any target as a risk multiplier: the further above the starting balance, the higher the ruin chance in the tables.
- Do not read a smaller stake as protection when each bet has a negative average result.
- Stop when the budget set in advance is used, as in the guide on chasing losses, instead of raising stakes to recover.
Gambling is addictive, and 18+ applies throughout. Betting is not income or a way to solve a money problem. If limiting money or time is hard, section 115 of the Act provides for voluntary self-exclusion, and the regulator's toll-free line is 0800-723-770. The responsible gambling page lists the options.
Questions and answers
What does gambler's ruin mean?
It is the probability that a bettor with a limited bankroll reaches zero before reaching a chosen target, when the same bet is repeated. The classic result assumes a fixed stake, independent bets and a constant chance of winning each one.
Is ruin certain if I keep betting with no target?
Under the stated assumptions, yes, whenever the chance of winning a bet is 0.5 or lower. The bankroll is finite and the other side has no limit, so a long enough series eventually removes it. A real bettor stops earlier, but the arithmetic shows why open-ended play is the riskiest plan.
Does a smaller stake reduce the risk of ruin?
Not when the bets are unfavourable. A smaller stake means more bets are needed to reach the same target, and each bet carries the same unfavourable chance. In the tables below, KES 20 stakes made ruin more likely than KES 100 stakes at the same target.
Why does the formula use even-money bets?
Because the textbook derivation moves the bankroll up or down by one unit each bet, which keeps the algebra exact and checkable. Bets at other odds change the step sizes, so these figures are an approximation of real betting, not a forecast.
Where can I get help if betting is hard to limit?
Section 115 of the Gambling Control Act, 2025 provides for voluntary self-exclusion. The regulator's toll-free line is 0800-723-770, and the responsible gambling page on this site lists the process.
Sources
- Gambling Control Act, 2025 (No. 14 of 2025), ss.71, 115, accessed 2026-11-08