Parrondo's Paradox Calculator

Parrondo's Paradox Calculator

Simulate two losing games that win when combined. Explore the counterintuitive power of strategic switching in probability theory.

Last updated: March 2026

Enter parameters and click Run Simulation to see results

What is Parrondo's Paradox?

Parrondo's Paradox is a counterintuitive phenomenon discovered by Spanish physicist Juan Parrondo in 1996. It demonstrates that two individually losing games can yield a winning outcome when played alternately or randomly combined. This paradox challenges our intuition about how systems behave when combined.

The paradox works through state-dependent dynamics. Game B's probability of winning depends on your current capital modulo 3. When capital is divisible by 3, you have poor odds (≈10%); otherwise, you have good odds (≈75%). By alternating between the simple losing game A and the state-dependent game B, you create a "ratchet effect" that exploits these transitions to generate positive expected value.

This principle extends far beyond games. It appears in evolutionary biology (switching between survival strategies), finance (portfolio rebalancing), medicine (treatment scheduling), and organizational dynamics. Anywhere state-dependent transitions exist, strategic switching between individually suboptimal strategies can create optimal outcomes.

How to Use This Calculator

Step-by-Step Guide

1
Set rounds per game: Choose how many rounds each simulation runs (100-10,000). More rounds show clearer expected values. Default 1,000 is good for demonstration.
2
Set number of simulations: More simulations (100-50,000) average out randomness and give more reliable results. Default 5,000 provides good statistical confidence.
3
Run simulation: The calculator runs Monte Carlo simulations for Game A alone, Game B alone, and the alternating A-B strategy.
4
Interpret results: Negative average = losing game, positive = winning. The paradox appears when both A and B are negative, but A+B is positive!

Game Rules

Game A: Simple biased coin flip with p = 0.495 (slightly losing)
Game B: State-dependent probabilities:
• If capital ≡ 0 (mod 3): p = 0.095 (very bad odds)
• Otherwise: p = 0.745 (good odds)
Combined: Alternate between Game A and Game B each round
Win: +1 to capital | Loss: -1 to capital

Example Simulation

Typical Results (1,000 rounds, 5,000 simulations)

Simulation Output:
Game A (alone): avg capital = -10.05 ❌ Loses ~1% per round
Game B (alone): avg capital = -4.83 ❌ Loses ~0.5% per round
A+B (alternating): avg capital = +15.72 ✅ Wins ~1.5% per round
Interpretation:

Playing only Game A loses about 10 units after 1,000 rounds across simulations. Playing only Game B also loses about 5 units. However, alternating between them creates a winning strategy that gains about 16 units on average.

Why This Works:

The alternating strategy exploits state transitions. When your capital hits unfavorable states (divisible by 3) in Game B, switching to Game A moves you away. When in favorable states, returning to Game B exploits the high win probability. This creates a directional bias—a ratchet effect—that accumulates positive returns.

Frequently Asked Questions

What is Parrondo's Paradox?

Two individually losing games can yield a winning outcome when played alternately. Discovered by Juan Parrondo in 1996, it demonstrates how strategic switching exploits state-dependent dynamics to create positive expected value from negative components.

Why does the combined strategy win?

Game B has state-dependent probabilities based on capital mod 3. Alternating between games creates a ratchet effect: you escape bad states and exploit good ones. The switching synchronizes with favorable transitions, creating directional bias.

Is this relevant outside games?

Yes! Applications in evolutionary biology (switching survival strategies), finance (portfolio rebalancing), medicine (treatment scheduling), and organizations. Anywhere state-dependent transitions exist, strategic mode-switching can optimize outcomes.

Does it work with any losing games?

No. Requires state dependency or information coupling between games. Simple independent games won't exhibit the paradox. The key is that game outcomes must depend on system state in complementary ways.

How does capital state matter?

Game B's win probability depends on capital mod 3. If divisible by 3, you have ~10% win rate. Otherwise, ~75%. Alternating games manipulates which states you occupy, keeping you in favorable states more often.

Can I guarantee winning?

No, games remain stochastic. But the expected value becomes positive with alternation. Law of large numbers applies: over many rounds, average approaches positive expectation. Individual runs can still lose.

What if I don't alternate (random mix instead)?

Random mixing also works! The paradox holds for any switching strategy that prevents settling into bad absorbing states. Alternation is clearest, but randomization also exploits state-transition asymmetries.

Is this common in nature?

Yes! Organisms switch between foraging modes. Immune systems alternate strategies. Markets rebalance portfolios. Medicine alternates treatments. Anytime systems have state-dependent transitions, switching strategies emerge.

Related Tools