Skip to content
Statistics

Parrondo's Paradox Calculator

Enter the win probabilities for Game A and the two states of Game B, then pick a playing strategy. The calculator uses Markov chain analysis to find the long-run win probability and expected capital drift for each strategy, proving that two individually losing games can produce a winning combination.

Your details

Choose how you alternate between Game A and Game B. Mixed strategies are the ones that trigger the paradox.
Win probability for each flip of Game A. The classic Parrondo value is 0.495 (just below fair).
Win probability for Game B when your capital is exactly divisible by 3. This is the "trap" state with very low odds.
Win probability for Game B when your capital is NOT divisible by 3. This is the "good" state with favorable odds.
Your initial capital. Affects the chart but not the long-run drift.
$
Number of game rounds to show in the capital trajectory chart.
rounds
Selected strategy win probabilityWinning strategy
0.508%

Long-run probability of winning each round under the chosen strategy

Expected drift per round0.0157$
Game A win probability0.495%
Game B win probability (Markov)0.496%
Game B drift per round-0.0087$
Game A drift per round-0.01$
Steady-state: P(capital mod 3 = 0)0.35%
Steady-state: P(capital mod 3 = 1)0.25%
Steady-state: P(capital mod 3 = 2)0.4%
Game A drift ($/round)-0.01
Game B drift ($/round)-0.0087
Strategy drift ($/round)0.0157
051.57103.140100200
Round
Expected capital ($)
RoundGame A onlyGame B onlyRandom 50/50 mix
0100100100
199.9999.99100.02
299.9899.98100.03
399.9799.97100.05
499.9699.97100.06
599.9599.96100.08
699.9499.95100.09
799.9399.94100.11
899.9299.93100.13
999.9199.92100.14
1099.999.91100.16
1199.8999.9100.17
1299.8899.9100.19
1399.8799.89100.2
1499.8699.88100.22
1599.8599.87100.24
1699.8499.86100.25
1799.8399.85100.27
1899.8299.84100.28
1999.8199.83100.3
2099.899.83100.31
2199.7999.82100.33
2299.7899.81100.35
2399.7799.8100.36
2499.7699.79100.38
2599.7599.78100.39
2699.7499.77100.41
2799.7399.77100.42
2899.7299.76100.44
2999.7199.75100.46
3099.799.74100.47
3199.6999.73100.49
3299.6899.72100.5
3399.6799.71100.52
3499.6699.7100.53
3599.6599.7100.55
3699.6499.69100.57
3799.6399.68100.58
3899.6299.67100.6
3999.6199.66100.61
4099.699.65100.63
4199.5999.64100.64
4299.5899.63100.66
4399.5799.63100.68
4499.5699.62100.69
4599.5599.61100.71
4699.5499.6100.72
4799.5399.59100.74
4899.5299.58100.75
4999.5199.57100.77
5099.599.57100.79
5199.4999.56100.8
5299.4899.55100.82
5399.4799.54100.83
5499.4699.53100.85
5599.4599.52100.86
5699.4499.51100.88
5799.4399.5100.9
5899.4299.5100.91
5999.4199.49100.93
6099.499.48100.94
6199.3999.47100.96
6299.3899.46100.97
6399.3799.45100.99
6499.3699.44101.01
6599.3599.43101.02
6699.3499.43101.04
6799.3399.42101.05
6899.3299.41101.07
6999.3199.4101.08
7099.399.39101.1
7199.2999.38101.12
7299.2899.37101.13
7399.2799.37101.15
7499.2699.36101.16
7599.2599.35101.18
7699.2499.34101.19
7799.2399.33101.21
7899.2299.32101.22
7999.2199.31101.24
8099.299.3101.26
8199.1999.3101.27
8299.1899.29101.29
8399.1799.28101.3
8499.1699.27101.32
8599.1599.26101.33
8699.1499.25101.35
8799.1399.24101.37
8899.1299.23101.38
8999.1199.23101.4
9099.199.22101.41
9199.0999.21101.43
9299.0899.2101.44
9399.0799.19101.46
9499.0699.18101.48
9599.0599.17101.49
9699.0499.17101.51
9799.0399.16101.52
9899.0299.15101.54
9999.0199.14101.55
1009999.13101.57
10198.9999.12101.59
10298.9899.11101.6
10398.9799.1101.62
10498.9699.1101.63
10598.9599.09101.65
10698.9499.08101.66
10798.9399.07101.68
10898.9299.06101.7
10998.9199.05101.71
11098.999.04101.73
11198.8999.03101.74
11298.8899.03101.76
11398.8799.02101.77
11498.8699.01101.79
11598.8599101.81
11698.8498.99101.82
11798.8398.98101.84
11898.8298.97101.85
11998.8198.97101.87
12098.898.96101.88
12198.7998.95101.9
12298.7898.94101.92
12398.7798.93101.93
12498.7698.92101.95
12598.7598.91101.96
12698.7498.9101.98
12798.7398.9101.99
12898.7298.89102.01
12998.7198.88102.03
13098.798.87102.04
13198.6998.86102.06
13298.6898.85102.07
13398.6798.84102.09
13498.6698.83102.1
13598.6598.83102.12
13698.6498.82102.14
13798.6398.81102.15
13898.6298.8102.17
13998.6198.79102.18
14098.698.78102.2
14198.5998.77102.21
14298.5898.77102.23
14398.5798.76102.25
14498.5698.75102.26
14598.5598.74102.28
14698.5498.73102.29
14798.5398.72102.31
14898.5298.71102.32
14998.5198.7102.34
15098.598.7102.36
15198.4998.69102.37
15298.4898.68102.39
15398.4798.67102.4
15498.4698.66102.42
15598.4598.65102.43
15698.4498.64102.45
15798.4398.63102.47
15898.4298.63102.48
15998.4198.62102.5
16098.498.61102.51
16198.3998.6102.53
16298.3898.59102.54
16398.3798.58102.56
16498.3698.57102.58
16598.3598.57102.59
16698.3498.56102.61
16798.3398.55102.62
16898.3298.54102.64
16998.3198.53102.65
17098.398.52102.67
17198.2998.51102.69
17298.2898.5102.7
17398.2798.5102.72
17498.2698.49102.73
17598.2598.48102.75
17698.2498.47102.76
17798.2398.46102.78
17898.2298.45102.8
17998.2198.44102.81
18098.298.43102.83
18198.1998.43102.84
18298.1898.42102.86
18398.1798.41102.87
18498.1698.4102.89
18598.1598.39102.91
18698.1498.38102.92
18798.1398.37102.94
18898.1298.37102.95
18998.1198.36102.97
19098.198.35102.98
19198.0998.34103
19298.0898.33103.02
19398.0798.32103.03
19498.0698.31103.05
19598.0598.3103.06
19698.0498.3103.08
19798.0398.29103.09
19898.0298.28103.11
19998.0198.27103.13
2009898.26103.14
  • Game A only
  • Game B only
  • Random 50/50 mix

The paradox works: randomly mixing A and B 50/50 wins at 50.785% despite both games losing alone.

  • Game A alone has a 49.500% win rate - below 50%, so it loses in the long run (drift: -0.0100 $/round).
  • Game B alone has a 49.565% win rate via Markov analysis - also below 50% (drift: -0.0087 $/round).
  • The mixed strategy (randomly mixing A and B 50/50) achieves 50.785% - above 50%! After 200 rounds, expected capital gain: $3.14.
  • This is Parrondo's Paradox in action: mixing two losing games creates a winning strategy by shifting the system away from the capital-mod-3 trap state.

Next stepTry adjusting p1 lower and p2 higher while keeping both games individually losing to see the paradox emerge more strongly. The effect is maximized when epsilon (the bias away from 0.5) is small.

What is Parrondo's Paradox?

Parrondo's Paradox, discovered in 1996 by Spanish physicist Juan Manuel Rodriguez Parrondo, is the counterintuitive result that two individually losing gambling games can be combined into a winning strategy. It sounds impossible: if every individual game you play loses money in the long run, how can playing them together make you richer? The answer lies in how the games interact through a shared state, typically your current capital. When you mix the games, you spend less time in the losing states of Game B and more time in the winning states, shifting the overall balance above 50%. The paradox is a rigorously proven mathematical fact, not a trick, and has been applied in biology (genetic drift), economics (portfolio theory), and physics (Brownian ratchets).

How the two games work

Game A is a simple biased coin: you win $1 with probability p (slightly less than 0.5, typically 0.495) and lose $1 otherwise. Playing it alone guarantees a slow drift toward zero. Game B depends on your current capital divided by 3. If your capital is exactly divisible by 3 (the 'trap' state), you face very unfavorable odds (win prob 0.095). If your capital is NOT divisible by 3, you face very favorable odds (win prob 0.745). At first glance Game B seems attractive because you spend most time in the good state. But the Markov chain analysis shows that Game B's steady-state win probability settles around 49.6%, just below 50%, so it too loses in the long run when played alone. The trap state at capital mod 3 = 0 is visited just often enough to drag the average below fair.

Why mixing the games works: the Markov chain explanation

The key insight is that Game A and Game B have opposite effects on the mod-3 state of your capital. Game A moves capital up or down by 1, redistributing the mod-3 state. When you intersperse A and B plays, Game A effectively breaks the cycle that keeps dragging you into Game B's trap state. The Markov chain for a 50/50 random mix has a different steady-state distribution: the fraction of time spent in the trap state (capital mod 3 = 0) drops from about 38.4% to about 34.5%, and the overall win probability rises to about 50.8%. This is enough to flip the sign of the drift from negative to positive. You go from losing roughly 1 cent per round in each game alone to gaining roughly 1.6 cents per round by mixing them. The mathematical tool for computing this is the transition matrix of the combined Markov chain, whose left eigenvector with eigenvalue 1 gives the steady-state probabilities.

How to use this calculator

Enter the win probability for Game A (p), and the two win probabilities for Game B: p1 for the 'trap' state when capital mod 3 equals 0, and p2 for all other states. Choose your playing strategy from the dropdown: A only, B only, strict alternation (ABAB), the AABB pattern, or a random 50/50 mix. The calculator solves the Markov chain analytically and shows the long-run win probability, expected drift per round, and the steady-state distribution of capital mod 3 for your chosen strategy. The chart shows the expected capital trajectory over time for all three scenarios side by side so you can see the paradox visually. To reproduce the classic Parrondo result, use the default values: p=0.495, p1=0.095, p2=0.745.

Classic Parrondo's paradox probability values

GameConditionWin probabilityDrift per round
Game AAlways0.495-0.0100
Game BCapital mod 3 = 00.095-
Game BCapital mod 3 != 00.745-
Game BLong-run (Markov)~0.49565-0.00870
A,B mix (random)Long-run (Markov)~0.50785+0.01570

The original game probabilities used by Juan Parrondo. Each game loses alone, but any mixed strategy wins.

Frequently asked questions

Is Parrondo's paradox real or just a trick?

It is mathematically proven. Parrondo's paradox arises from a genuine property of Markov chains: two transition matrices that individually lead to a losing drift can combine into one with a positive drift. It is not an artifact of small samples or incorrect probability calculations. The effect has been demonstrated experimentally with physical ratchets and observed in biology.

Can I use this at a casino?

No. The paradox requires a specific capital-dependent interaction between the two games. Standard casino games are statistically independent of your current capital (the roulette wheel does not know how much money you have). Without that coupling, mixing losing games produces only a weighted average of losing strategies, which still loses.

What is the mod-3 trap state?

Game B's rules depend on whether your capital is divisible by 3. When capital mod 3 equals 0, you face the very bad odds (0.095 win probability). When it equals 1 or 2, you face favorable odds (0.745). The trap is that even with mostly favorable plays, you visit the divisible-by-3 state just often enough to drag the overall expected value below 50%. The Markov chain visits state 0 about 38.4% of the time when playing Game B alone.

Why does alternating between A and B help?

Game A shifts your capital by +1 or -1 with nearly equal probability, which changes the capital mod 3 value randomly. This disrupts the pattern that keeps Game B cycling back to the trap state. Specifically, A plays reduce the fraction of time spent in the mod-3=0 trap state from about 38.4% to about 34.5%, tilting the overall win rate just above 50%.

Do ABAB and AABB give the same result?

In this calculator both are modeled as a 50/50 blend of Game A and Game B steps, which gives identical long-run win probabilities under the blended Markov chain model. In a more detailed simulation, the exact sequence can produce small differences, but both reliably produce the winning paradox for the classic probability values.

What happens if I change the probability values?

The paradox is not guaranteed for all probability combinations. It emerges when: (1) both games individually lose (win prob below 0.5), (2) the capital-dependent structure of Game B creates a strong enough trap, and (3) Game A's uniform random walk disrupts that trap effectively. If the bias is too large or the trap is not strong enough, mixing may not flip the overall result to winning.

What real-world systems exhibit this paradox?

Parrondo's paradox has been identified in genetic drift in biology (where two deleterious mutations can combine to produce a beneficial effect), in models of financial portfolio diversification, in ecology (where two individually declining species stabilize when mixed), and in the physics of Brownian ratchets and molecular motors. It has even been proposed as an explanation for certain evolutionary phenomena where random genetic drift interacts with selection.

Sources

Written by Dr. Hannah Brandt, PhD Statistician · Munich, Germany

Applied statistician translating rigorous probability theory into clear, accurate tools for researchers and practitioners.

Search 3,500+ calculators

Loading search…