Parrondo's Paradox Calculator

Simulate Parrondo's paradox: two losing games that produce a winning strategy when combined. Adjust probabilities and see trajectory results.

Parrondo\'s Paradox Calculator

Game A (Simple Coin Flip)

Set below 0.5 for a losing game

Game B (Capital-Dependent)

Capital mod this value determines which probability applies

Simulation Settings

Use A and B characters to define the alternating pattern
โœ… Parrondo's Paradox detected! Both games lose individually, but the mixed strategy wins!
Game A Expected Value
-0.0100
Per round: Losing game
Game B Expected Value
0.0567
Per round: Winning game
Game A Avg Profit
-0.71
Win rate: 43.9%
Game B Avg Profit
-0.63
Win rate: 44.1%
Mixed Strategy Avg Profit
1.72
Win rate: 55.2% (pattern: AABB)
Paradox Strength
2.35
Mixed profit minus best individual profit

Average Capital Trajectory

RoundGame A OnlyGame B OnlyMixed (AABB)
1099.95100.52100.21
2599.84100.42100.38
5099.56100.20100.82
7599.6299.83101.44
10099.2999.37101.72

Trajectory Visualization

Startโ–  Above startโ–  Below startEnd
Planning notes, formulas, and examples

About the Parrondo's Paradox Calculator

Parrondo's Paradox demonstrates one of the most counterintuitive results in probability theory: two individually losing games can produce a winning outcome when played in alternation. This calculator lets you configure both games, set a mixing pattern, and run Monte Carlo simulations to observe the paradox in action.

Game A is a simple biased coin flip with a probability slightly below 50%. Game B is capital-dependent โ€” the win probability changes based on whether your current capital is divisible by a modulus (typically 3). Both games are calibrated to lose money on average when played alone, but their alternating combination exploits the modular structure to produce net positive returns.

The simulation runs thousands of trials to estimate average profits, win rates, and capital trajectories for each strategy. The trajectory visualization and comparison table make it easy to see exactly where the paradox emerges and how strongly the mixed strategy outperforms the individual games.

When This Page Helps

Parrondo's paradox is a fascinating demonstration of how complex interactions between simple systems can produce unexpected emergent behavior. This calculator makes the paradox tangible by letting you adjust parameters and immediately see results through simulation, rather than working through abstract mathematical proofs.

It's an excellent educational tool for probability courses, game theory classes, and anyone interested in counterintuitive mathematics. The simulation approach also teaches Monte Carlo methods โ€” a widely used technique in finance, physics, and engineering.

How to Use the Inputs

  1. Set Game A's win probability (default 0.495 โ€” slightly losing).
  2. Configure Game B's modulus, good probability, and bad probability.
  3. Set the number of rounds, starting capital, and simulation runs.
  4. Enter a mixed strategy pattern using A and B (e.g., AABB, AB, ABBB).
  5. Click calculate and check the paradox detection indicator.
  6. Compare average profits and win rates across Game A, Game B, and mixed.
  7. View the trajectory table and visualization to see how capital evolves.
Formula used
Game A: P(win) = p_A. Game B: P(win) = p_bad if capital mod M = 0, else p_good. Expected value per round: E[A] = 2p_A - 1. E[B] โ‰ˆ (1/M)ร—(2p_bad - 1) + ((M-1)/M)ร—(2p_good - 1). Paradox: E[A] < 0 and E[B] < 0, but E[Mixed] > 0.

Example Calculation

Result: Game A loses ~-1.0, Game B loses ~-1.5, Mixed AABB wins ~+2.5

With the classic parameters, Game A (p=0.495) and Game B (mod 3, good=0.745, bad=0.095) both lose money individually. But the AABB alternation produces positive expected returns because Game A disrupts the modular pattern that Game B exploits against the player.

Tips & Best Practices

  • Start with the classic parameters (p_A=0.495, mod=3, p_good=0.745, p_bad=0.095) to see the paradox clearly.
  • Increase simulation runs to 3000+ for stable results.
  • Try different patterns: AABB, AB, ABBB โ€” each produces different profit levels.
  • The paradox vanishes if Game B is not capital-dependent (e.g., fixed probability).
  • Setting both probabilities to exactly 0.5 eliminates the paradox โ€” the games must be losing.
  • The trajectory visualization shows where the mixed strategy diverges from individual games.

The Mathematics Behind Parrondo's Paradox

Parrondo's paradox, discovered by Spanish physicist Juan Parrondo in 1996, shows that combining two losing strategies can create a winning one. Game A is a simple coin flip with probability p < 0.5 (losing). Game B has two states: when capital is divisible by M, the win probability is very low (p_bad); otherwise it's high (p_good). Both games are calibrated so their long-run expected value is negative.

The paradox arises because Game A disrupts the modular pattern that makes Game B lose. When played alone, Game B's capital tends to land on multiples of M (the bad state) more often than the 1/M stationary probability would suggest. Interspersing Game A rounds shifts capital away from these trap states, allowing Game B to access its high probability more often.

Connection to Brownian Ratchets

Parrondo's paradox has deep connections to Brownian ratchets in physics โ€” mechanisms that extract directed motion from random fluctuations by periodically switching between asymmetric potential energy landscapes. Just as two potentials that individually don't produce net flow can drive directed transport when alternated, two losing games can produce net profit when combined.

Applications in Science and Finance

In evolutionary biology, the paradox models how organisms switching between two individually unfavorable environments can thrive. In portfolio theory, it helps explain why periodic rebalancing between losing assets can sometimes improve returns. In engineering, it informs the design of micro-scale transport devices and genetic algorithms. Understanding when and why mixing strategies beats individual execution is a profound insight with wide-ranging implications.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The key is that Game B's probability depends on capital state (modular arithmetic). Playing Game A between rounds of Game B shifts the capital away from the "bad" states that Game B exploits. This interaction creates a ratchet-like effect that overall produces positive expected value.