Risk of Ruin Calculator

Enter your bankroll, a flat stake, the decimal odds you bet at and your honest estimate of how often you win, and see how likely that stake is to lose the whole bankroll, or to hit a stop-loss you choose. The calculator gives the expected value and the spread of each bet, the long-run risk of ruin from the gambler's ruin formula and a simulation of thousands of betting runs over the number of bets you set. It shows risk, not which bets to place.

The formula: at even money, risk of ruin = ((1 − p) ÷ p)bankroll ÷ stake. A 100-unit bankroll with 2-unit stakes at 2.00 and a 52% win rate gives (0.48 ÷ 0.52)50 = 1.83%. At 50% it is 100%. Worked example below.

Enter your chance as
Bankroll in

Bankroll and Bets

Every bet uses the same stake at the same odds. The win probability is your own estimate, not the bookmaker's implied probability; if you enter an edge instead, p = (1 + edge) ÷ odds.

100 means going broke; 50 is a stop-loss at half the bankroll.

Up to 2,000 bets; 5,000 simulated paths.

Simulation over time

Share of the 5,000 simulated runs that were ruined by each point.

After this many betsRuined so far
2500.00%
5000.24%
7500.64%
1,0001.06%

A run stops as soon as the money left above your loss limit is smaller than one stake, because the next full stake can no longer be placed. The random numbers come from a fixed seed, so the same inputs always give the same figures; with 5,000 runs a simulated share can still be about one percentage point away from the true value.

This tool keeps the stake fixed. To choose a stake as a share of the bankroll, use the Kelly criterion calculator; to check the value of a single price, the expected value calculator; to find the win rate you need at given odds, the break-even odds calculator; and to measure the return on bets you have already placed, the betting ROI calculator.

Risk of Ruin

Long-run risk of ruin1.83%
Ruined within 1,000 bets (simulated)1.06%
Diffusion approximation1.82%
Win probability used52.00%
Edge (expected return per bet)+4.00%
Expected value per bet+0.08 units
Standard deviation per bet2.00 units
Variance per bet3.9936 units²
Stakes you can lose before ruin50.00
Average bankroll at the end178.90 units
Runs ending in profit89.58%

The long-run figure assumes you keep betting forever with no upper limit. It is exact at even money with a whole number of stakes, and otherwise a close estimate; the simulated figure covers only the bets you set. Both depend on the win probability you entered being right.

How Risk of Ruin Works

With flat stakes, each bet either adds the stake × (odds − 1) to the bankroll or takes away the stake. The bankroll moves like a random walk: it drifts up if you have an edge and down if you do not, and it swings around that drift. You are ruined when the swings take it low enough that you can no longer place your stake, or below a stop-loss you set in advance.

  1. Expected value and spread. Take a 100-unit bankroll, 2-unit stakes at 2.00 and a 52% chance of winning. Each bet wins 2 units 52% of the time and loses 2 units 48% of the time, so the expected value is 0.52 × 2 − 0.48 × 2 = +0.08 units per bet, an edge of +4%. The standard deviation is about 2.00 units, 25 times bigger than the expected value, which is why short runs can go either way.
  2. Gambler's ruin at even money. The bankroll covers 100 ÷ 2 = 50 losing stakes. The classic formula is ((1 − p) ÷ p)50 = (0.48 ÷ 0.52)50 = 1.83%. So about one bettor in 55 with these exact numbers would eventually lose the whole 100 units, even with a real edge.
  3. Other odds. When the odds are not 2.00, the win and the loss are different sizes. The calculator finds the number θ for which p × e−θ(odds − 1) + (1 − p) × eθ = 1 and uses e−θ × bankroll ÷ stake. At even money θ = ln(p ÷ (1 − p)) and this is the formula above. At 2.10 with a 50% win rate, 2-unit stakes on 100 units give 1.07%.
  4. The diffusion check. A second approximation treats the bankroll as a smooth drift plus noise: risk = exp(−2 × μ × bankroll ÷ σ²), with μ and σ² the expected value and variance per bet. For the 52% example that is exp(−2 × 0.08 × 100 ÷ 3.994) = 1.82%, almost the same.
  5. A stop-loss. If you count losing half the bankroll as ruin, only 25 stakes stand between you and the limit: (0.48 ÷ 0.52)25 = 13.52%. Halving the cushion does far more than double the risk.
  6. No edge. At 2.00 with a 50% win rate the expected value is 0 and the long-run risk is 100%. The simulation shows how fast: 11.90% of runs are ruined within 1,000 bets and about 26% within 2,000. At 1.90 with 52% the edge is −1.2% and 19.36% of runs are already ruined within 1,000 bets.

The long-run figures assume you never stop. The simulation answers a more practical question: what happens over the number of bets you actually plan to place. It plays out 5,000 runs of up to 2,000 bets each in your browser, using a seeded random number generator so the result does not change when you reload the page. For the 52% example, 1.06% of runs are ruined within 1,000 bets, 1.70% within 2,000, and a 20,000-bet test run gave 1.76%, approaching the 1.83% long-run value.

Stake, odds, win rateEdgeRuin = losingGambler's ruinDiffusionSimulated, 1,000 bets
2 units at 2.00, 52%+4.00%100%1.83%1.82%1.06%
2 units at 2.00, 52%+4.00%50%13.52%13.49%11.50%
5 units at 2.00, 52%+4.00%100%20.17%20.14%17.98%
2 units at 2.10, 50%+5.00%100%1.07%1.07%0.90%
1 unit at 3.50, 30%+5.00%100%1.90%2.05%0.34%
2 units at 2.00, 50%0.00%100%100%100%11.90%
2 units at 1.90, 52%−1.20%100%100%100%19.36%

All rows use a 100-unit bankroll. The long-run columns assume unlimited bets; the last column is the share of 5,000 simulated runs ruined within 1,000 bets.

What Changes the Risk Most

The number of stakes in the bankroll sits in the exponent, so stake size matters enormously. With the same 52% win rate at 2.00, moving from 2-unit to 5-unit stakes cuts the cushion from 50 to 20 losing bets and lifts the long-run risk of ruin from 1.83% to 20.17%. Longer odds also raise the risk for the same edge, because the results swing more: 1-unit stakes at 3.50 with a 30% win rate (+5% edge) carry about 1.9% long-run risk on 100 units, while the same +5% edge at 2.10 with 2-unit stakes, double the stake, carries 1.07%.

The edge itself is the other lever, and it is the one you know least well. Your win probability is an estimate, and a small error in it moves the risk a lot, from 1.83% at 52% to 100% at 50%. The break-even odds calculator shows the win rate a price needs before it has any edge at all, and the expected value calculator shows what a given edge is worth per bet.

Flat staking is not the only option. Staking a fixed fraction of the current bankroll, as the Kelly criterion does, shrinks the stake after losses, so in theory the bankroll never reaches exactly zero, though it can still fall a long way. This calculator answers a different question: how risky is the fixed stake you are using now.

Frequently Asked Questions

What is risk of ruin in betting?

Risk of ruin is the probability that a run of losses takes your bankroll down to the point where you can no longer place your normal stake, or down to a stop-loss you have set, such as losing half of it. It depends on four things: the size of the bankroll compared with the stake, the odds, your real chance of winning each bet and how many bets you place.

How do you calculate risk of ruin with flat stakes?

For even-money bets the gambler's ruin formula gives it directly: risk = ((1 − p) ÷ p) raised to the power of bankroll ÷ stake. With a 100-unit bankroll, 2-unit stakes and a 52% win rate at 2.00, that is (0.48 ÷ 0.52)^50 = 1.83%. For other odds the calculator solves p × e^(−θ(odds − 1)) + (1 − p) × e^θ = 1 for θ and uses e^(−θ × bankroll ÷ stake), and checks it with a simulation.

What is the risk of ruin with no edge or a negative edge?

If your expected value per bet is zero or negative, the long-run risk of ruin is 100%: keep betting for long enough and the bankroll will eventually be lost. A bigger bankroll or a smaller stake only makes it take longer. At 2.00 with a 50% win rate, 2-unit stakes lose a 100-unit bankroll within 1,000 bets in about 12% of simulated paths, and within 2,000 bets in about 26%.

Is a risk of ruin calculator the same as the Kelly criterion?

No. The Kelly criterion tells you what fraction of the bankroll to stake to grow it fastest, and the stake changes as the bankroll changes. This calculator takes a fixed flat stake as given and tells you how likely that stake is to wipe out the bankroll or hit a stop-loss. You can use the Kelly calculator to choose a stake and this one to see the risk of keeping it flat.

How accurate is my estimated win probability?

The result is only as good as that number, and it is the hardest one to know. A win rate of 52% instead of 50% at even money is the difference between a 1.83% and a 100% long-run risk of ruin. Unless your edge comes from a large, well-recorded sample of bets, try a lower win probability as well and treat the higher risk as the realistic one.

Most bettors do not have an edge once the bookmaker's margin is taken into account, and with no edge or a negative one the risk of ruin tends to 100% the longer you bet. This calculator measures risk and gives no tips. Gambling is for adults only (18+ in the UK). Only bet money you can afford to lose, set a budget and stick to it, and never chase losses. Verdecto does not take bets. If gambling stops being fun, see our responsible gambling resources; in Great Britain the National Gambling Helpline is free on 0808 8020 133.