Risk of ruin is the chance that you lose your whole bankroll, or a loss limit you set, before your goal arrives or your planned bets are used up. In a casino game it is never small for long: it climbs with every extra bet, and with no stopping point it reaches 100 percent.
This page covers the meaning, the formula for even money bets with a worked example, a ruin table you can read at a glance, and the edge formula that the rare player with a real advantage uses. The calculator above runs the same math on your own numbers.
The numbers
Meaning
The chance of losing the bankroll, or a set slice of it, before a goal or a stop point.Fair coin
Start with 20 units, aim for 40: ruin is exactly 50 percent.Pass line
Same 20 to 40 plan at a 49.29 percent win chance: ruin about 63.8 percent.Endless play
With any house edge and no stop, ruin is 100 percent.Edge formula
1 percent edge, 1.15 standard deviation, 200 bets of bankroll: about 4.9 percent.What lowers it
Smaller bets, fewer bets and a stop point fixed in advance.
Risk of ruin meaning, in plain words
Think of three numbers: the money you brought, the size of each bet, and the point where you stop. Risk of ruin asks one question about them. Out of many players with the same plan, what share lose everything before they stop?
Ruin does not have to mean zero. Many players set ruin as their loss limit, for example losing half of a session bankroll. The math is the same; you just count the units down to that line instead of down to nothing. Your bankroll is the money set aside only for gambling, so ruin means that pot is gone, not your rent.
The chart compares one plan, start with 20 betting units and quit at 40, across four even money bets. Only the fair coin gives you a 50 percent shot. Every real casino bet tilts the odds toward the house, and the tilt shows up fast.
The risk of ruin formula for even money bets
For bets that pay 1 to 1, the classic gambler's ruin result gives an exact answer. Let p be your chance to win one bet and q = 1 minus p your chance to lose it. You start with i units, bet 1 unit at a time, and stop at N units or at zero.
- Chance to reach N first: (1 minus (q/p)^i) divided by (1 minus (q/p)^N)
- Risk of ruin: 1 minus that chance
- For a fair bet, where p = q = 0.5, the chance to reach N is simply i divided by N
Worked example. A pass line bet in craps wins about 49.29 percent of the time, so p = 0.4929 and q = 0.5071.
- Ratio: q/p = 0.5071 / 0.4929 = 1.0288.
- Raise it to your start: 1.0288^20 = 1.7648.
- Raise it to your goal: 1.0288^40 = 3.1145.
- Chance to reach 40: (1 minus 1.7648) / (1 minus 3.1145) = 0.7648 / 2.1145 = 0.362.
- Risk of ruin: 1 minus 0.362 = 0.638, about 63.8 percent.
A 1.41 percent house edge looks tiny on one bet. Spread over the forty or so bets this plan needs, it turns a coin toss into roughly a 64 to 36 loser.
Risk of ruin table for a 20 unit bankroll
Here is the same formula worked for several goals. Every row starts with 20 units and flat 1 unit bets. The fair column is a pure 50 percent coin; the pass line column uses 49.29 percent.
| Quit when you reach | Fair coin | Pass line odds |
|---|---|---|
| 30 units (up 10) | 33.3% | 43.1% |
| 40 units (double) | 50.0% | 63.8% |
| 60 units (triple) | 66.7% | 83.0% |
| 100 units (five times) | 80.0% | 95.3% |
| 200 units (ten times) | 90.0% | 99.7% |
| 400 units (twenty times) | 95.0% | above 99.99% |
Read it as a menu of honest trade offs. A modest goal keeps ruin under half. A dream goal makes ruin close to certain. A bigger bankroll in units does not rescue a doubling plan either: starting with 100 units and stopping at 200 gives a 94.5 percent ruin chance on the pass line, because you now need hundreds of bets for the edge to grind on.
Why a house edge means certain ruin over endless play
Look at the formula again. When p is below 0.5, q/p is above 1, so (q/p)^N grows without limit as the goal N grows. The chance to reach the goal shrinks toward zero, and ruin climbs toward 100 percent. Endless play is just a goal you never hit, so the answer there is 100 percent.
The same story shows in plain money terms. Expected loss equals the house edge times everything you wager, and total wagered keeps growing while you keep playing. A bankroll of any size is a fixed number; expected loss with no stopping point is not.

Bet size, doubling systems and risk of ruin
Bet size is the lever you control most directly. The chart follows two players through the same 59 results on an even money bet, both starting with 50 units. One bets 1 unit a time, the other bets 5.
The 5 unit player hit zero on bet 44, at a moment when the 1 unit player was down only 9 units. After all 59 results the small bettor still held 45 of the 50 units. Same luck, very different ending: a 5 unit bet means a 50 unit bankroll is only 10 bets deep.
Doubling systems such as Martingale push this to the extreme. They collect a small profit most of the time, then every so often suffer one huge hit that is usually the whole bankroll. They raise risk of ruin and leave the house edge exactly where it was. For a sensible bet size, see how much to bet and betting units.

The edge formula advantage players use
The gambler's ruin formula assumes a losing bet. A player who really has an edge, which is rare, faces a different question: how large must the bankroll be so a bad run does not wipe it out before the edge pays? A common approximation answers it:
Risk of ruin = exp(minus 2 x edge per bet x bankroll / variance per bet), with the bankroll counted in bets and variance equal to the standard deviation squared.
Card counting is the usual example of why this formula matters. A counter's edge is small next to the swing of a blackjack hand, so counters talk about risk of ruin all the time. Take an edge of 1 percent and a standard deviation of 1.15 bets per hand, so variance is 1.3225.
| Bankroll in bets | Working | Risk of ruin |
|---|---|---|
| 100 | exp(minus 2 x 0.01 x 100 / 1.3225) | 22.0% |
| 200 | exp(minus 3.02) | 4.9% |
| 300 | exp(minus 4.54) | 1.1% |
| 400 | exp(minus 6.05) | 0.24% |
To find the bankroll for a 5 percent risk of ruin, flip the formula: bankroll = 3.0 x variance / (2 x edge), since the natural log of 20 is about 3.0. Here that is 3.0 x 1.3225 / 0.02, close to 200 bets. This is why advantage players hold bankrolls of hundreds of bets. With no edge, or a negative one, the formula does not apply and the long run answer stays 100 percent.
Risk of ruin for a sports betting bankroll
Bets at -110 pay about 0.909 to 1, so you need to win 52.38 percent just to break even. A bettor who wins half the time loses about 4.5 percent of every stake on average, and over endless bets that bankroll goes to zero just like a casino one.
Plug a rare winner into the edge formula. At a 54 percent win rate on -110 bets, the edge is about 3.1 percent of a unit per bet and the standard deviation about 0.95 units. A 25 unit bankroll then carries about an 18 percent long run risk of ruin; 50 units brings it to about 3.3 percent. Few bettors hold 54 percent for long, so treat these as best case figures.
Fixed fraction betting, where each stake is a set percent of the current bankroll, shrinks bets as you lose, so in theory the bankroll never hits exactly zero but can shrink to almost nothing. Staking plans are covered on a sister site. For units and limits, start with the sports betting bankroll guide.
Variance in gambling, and mixing games
Variance measures how widely results spread around the average. Its square root, the standard deviation, is easier to picture: about 1 bet for an even money wager and roughly 1.15 bets when you play a hand of blackjack. Over many bets the swing grows with the square root of the number of bets, while expected loss grows in a straight line.
When you mix games, add the expected losses and add the variances. Do not add the standard deviations. Example: 100 blackjack hands at 10 plus 50 pass line bets at 10.
- Expected loss: 100 x 10 x 0.005 = 5, plus 50 x 10 x 0.0141 = 7.1, total about 12
- Variance: 100 x 11.5^2 = 13,225, plus 50 x 10^2 = 5,000, total 18,225
- Standard deviation: square root of 18,225, about 135
So the night is expected to cost about 12, and a swing of 135 either way is ordinary. In a short session the swing hides the edge; over months the edge shows through.
How to calculate risk of ruin with the calculator above
The risk of ruin calculator has two modes. Fixed bets runs 5,000 simulated sessions for any bet and payout; With an edge uses the formula from the section above.
- Pick fixed bets. Enter a bankroll of 20 units, a bet of 1 unit, a win chance of 49.29 and a payout of 1 to 1.
- Set the goal to 20 units of profit and the maximum to 200 bets.
- Read the three shares. In our own run of 5,000 sessions, about 20 percent went broke, 11 percent reached the goal, and 69 percent ran out of bets, a little over half of those below where they began.
- Compare the exact gambler's ruin line, 63.8 percent, which assumes no bet limit.
The capped run looks kinder only because it stops early. Raise the maximum number of bets and the broke share rises toward the exact figure.
| Topic | Page | Use it to |
|---|---|---|
| Tool | Risk of ruin calculator | Test any bet, payout and goal in two modes |
| Tool | Blackjack bankroll calculator | Size a session bankroll from hands and rules |
| Guide | Losing streaks | Check how often long runs of losses turn up |
| Planning | Gambling budget | Turn a monthly amount into sessions |
| Game guide | Blackjack bankroll | See swings and rule costs at the table |
Lowering your risk of ruin for one session
You cannot remove the house edge, but you can shape a single session. Three levers matter, in this order:
- A stop point fixed in advance. A loss limit and a modest win goal cap the number of bets.
- Smaller bets relative to the bankroll. A session bankroll of 20 to 50 base bets is a common rule of thumb.
- Fewer bets. Less time at the table means less total wagered and a smaller expected loss.
Questions players ask
What is risk of ruin?
It is the chance that a bankroll, or a loss limit you set, runs out before you reach your goal or your last planned bet. It depends on the win chance, the bet size compared with the bankroll, and where you stop.
How do you calculate risk of ruin?
For flat even money bets, use the gambler's ruin formula: chance to reach the goal = (1 minus (q/p)^i) / (1 minus (q/p)^N), and ruin is 1 minus that. For other payouts or a bet cap, simulate many sessions, which is what the calculator on this page does.
What is the risk of ruin formula for a gambling bankroll with an edge?
A common approximation is exp(minus 2 x edge x bankroll / variance), all in bets. It only applies when the player truly has an edge. With a house edge against you, long run ruin is 100 percent.
What bankroll gives a 5 percent risk of ruin?
Roughly 3.0 x variance / (2 x edge), in bets. For a 1 percent edge and a 1.15 standard deviation that is about 200 bets. Halve the edge and you need about 400.
What does a risk of ruin chart show?
It plots the chance of going broke against something you can change, such as the goal, the bet size or the bankroll in bets. The charts on this page show ruin rising as the goal moves further away.
Does mixing games change risk of ruin?
Yes. Add the expected loss of every bet and the variance of every bet, then work with the totals. A game with a bigger edge or bigger swings pulls the combined risk up.
