Skip to main content

如何计算Gambler's Ruin

learn.whatIsHeading

The Gambler's Ruin problem asks: starting with k units, betting 1 unit per round with win probability p, what is the probability of reaching target N before going bankrupt? The answer reveals that even with a small house edge, the gambler is almost certain to be ruined eventually — a mathematical proof of why gambling systems cannot overcome negative expected value.

公式

Fair game (p = 0.5): P(ruin) = 1 − k/N
P
0 — 0
N
N value — Variable used in the calculation
p
0 — 0

分步指南

  1. 1P(ruin | start at k) = (rᵏ − rᴺ) / (1 − rᴺ) where r = (1−p)/p
  2. 2Fair game (p = 0.5): P(ruin) = 1 − k/N
  3. 3Unfair game (p < 0.5): ruin probability rapidly approaches 1 as N → ∞
  4. 4Expected duration: k(N−k)/(1−2p)² for p ≠ 0.5

例题解析

输入
Start £100, target £200, win prob 49% (slight house edge)
结果
P(ruin) ≈ 55%, P(win) ≈ 45%
输入
Start £100, target £10,000, win prob 49%
结果
P(ruin) > 99.99%
Huge targets are nearly impossible
输入
Fair game (50/50), start £100, target £200
结果
P(ruin) = 50%

常见问题

What is Gambler Ruin?

The Gambler's Ruin problem asks: starting with k units, betting 1 unit per round with win probability p, what is the probability of reaching target N before going bankrupt? The answer reveals that even with a small house edge, the gambler is almost certain to be ruined eventually — a mathematical proof of why gambling systems cannot overcome negative expected value. Use this calculator for accurate, instant results.

How accurate is the Gambler Ruin calculator?

The calculator uses the standard published formula for gambler ruin. Results are accurate to the precision of the inputs you provide. For financial, medical, or legal decisions, always verify with a qualified professional.

What units does the Gambler Ruin calculator use?

This calculator works with inches. You can enter values in the units shown — the calculator handles all conversions internally.

What formula does the Gambler Ruin calculator use?

The core formula is: P(ruin | start at k) = (rᵏ − rᴺ) / (1 − rᴺ) where r = (1−p)/p. Each step in the calculation is shown so you can verify the result manually.

准备好计算了吗?尝试免费的 Gambler's Ruin 计算器

自己尝试一下 →

设置

隐私条款关于© 2026 PrimeCalcPro