Free Parrondo Paradox Calculator
Enter values
The Core Idea of Parrondo's Paradox
The Parrondo Paradox Calculator is a free online tool that demonstrates a surprising result from game theory: two games, each guaranteed to lose money over many rounds, can be combined in a specific way to produce a net profit. This counterintuitive phenomenon was discovered by Spanish physicist Juan Parrondo while studying the Brownian ratchet — a thought experiment from statistical physics.
Using this calculator, you can run a Monte‑Carlo simulation based on biased coin tosses. You are free to choose different sequences (or a random order) and instantly see how the capital evolves. The tool also provides a Markov‑chain analysis that explains mathematically why the paradox is not a violation of probability theory but rather a consequence of the way the two games are coupled.
A crucial caveat: this effect does not occur in casino games. It requires a specific dependency between the games — in the coin‑tossing model the dependency is through the player’s current capital.
The Two Losing Games
Imagine you are given two games, A and B. In each round you bet 1 to your capital, a loss subtracts $1.
-
Game A uses an almost fair coin. The win probability is , just below 0.5. Over the long run the expected value is negative ($-0.01$$ per game), so you are guaranteed to lose money if you only play A.
-
Game B is more complex and depends on your current capital.
- If the capital is an exact multiple of 3, you must play variant B1, which has a very low win probability .
- If the capital is not a multiple of 3, you play variant B2, which has a high win probability .
Even though B2 is strongly favorable, the overall expected value of game B alone is still negative, because a nontrivial fraction of the time you are forced into the unfavorable B1. Hence both A and B are losing games when played in isolation.
Winning by Alternating
Now consider what happens when you switch between A and B instead of sticking to one. The calculator simulates thousands of independent trials, each consisting of 100 rounds. The results are striking:
- Game A alone: capital steadily declines with the number of rounds.
- Game B alone: the same downward trend appears — a sure loss.
- Sequence AABB (two rounds of A, then two of B, repeating): capital increases as the rounds progress.
- Random alternation (a fair coin decides each round whether to play A or B): capital also increases on average.
Both the deterministic AABB pattern and the random mixture turn two losing games into a winning strategy. The reason is that the alternation changes how often the player’s capital falls into each of the three residue classes modulo 3, making the favorable variant B2 appear much more often than it would under pure‑B play.
A Deeper Look with Markov Chains
To understand why mixing changes the outcome, model the system as a Markov chain. The state is the remainder when the current capital is divided by 3 — that is, 0, 1, or 2. The transition probabilities are fully determined by the rules of the games.
Game B Alone
When only game B is played, the one‑step transition matrix (columns correspond to the current state, rows to the next state) is:
From state 0 (capital a multiple of 3) the player plays B1: winning (probability 0.095) leads to state 1, losing (0.905) leads to state 2. From state 1 or 2 the player plays B2: winning (0.745) moves to the next higher state (2 or 0), losing (0.255) moves to the next lower state.
The stationary distribution satisfies . Solving gives
Thus about 38.4 % of the time the capital is a multiple of 3, forcing the disadvantageous B1. The overall probability of winning a single round of game B is
which is below 0.5, confirming that game B alone is a losing game. (The Perron–Frobenius theorem guarantees that such a stochastic matrix converges to a unique steady state in the long run.)
Mixed Strategy (Random Alternation)
Now consider a strategy where each round a fair coin decides with probability 0.5 whether to play game A or game B. The resulting transition probabilities combine the two games:
- From state 0: win probability = ; a win moves to state 1, a loss (0.705) to state 2.
- From state 1: win probability = ; win → state 2, lose → state 0.
- From state 2: win probability = 0.62; win → state 0, lose → state 1.
Hence the transition matrix is:
The stationary distribution becomes approximately
The overall win probability per round is then
Even a random mixture of the two losing games therefore yields a positive expected gain in the long run — this is the heart of Parrondo’s paradox.
Generalising the Paradox
The same phenomenon can be reproduced with other numeric values. If we introduce a small parameter and set
then for sufficiently small the paradox persists. This generality shows that the effect is robust and not an artefact of the particular numbers chosen.
Parrondo’s paradox has implications beyond coin‑tossing; similar coupling mechanisms appear in evolutionary biology, financial market modelling, and the study of nanoscale motors. Nevertheless, it does not apply to conventional casino games because those games are independent of the player’s capital history.
FAQ
1. How does the Parrondo Paradox Calculator demonstrate the paradox?
The calculator runs a Monte‑Carlo simulation of the coin‑tossing games with the biased probabilities described above. You can choose a fixed sequence (e.g., AABB) or a random order, and the tool plots the capital change over hundreds of rounds, clearly showing that two losing games produce a net profit when alternated.
2. What are the exact probabilities used for the two games?
Game A: win probability 0.495. Game B depends on the player's capital: if the capital is a multiple of 3, the win probability is 0.095 (variant B1); otherwise it is 0.745 (variant B2). Both games have a negative expected value when played alone.
3. Why does alternating between the games turn them into a winning strategy?
The alternation changes how often the player's capital falls into each residue modulo 3. The mixed strategy (e.g., AABB or random) increases the fraction of time the player is in states where the favorable B2 is played, pushing the overall win probability above 50 %. The Markov chain analysis rigorously confirms this.
4. Can Parrondo's paradox be observed in a casino?
No. The paradox requires a specific coupling between the games; in the coin‑tossing model the choice of game B variant depends on the player's current capital. Casino games are independent of the player's capital history, so the paradox does not arise.
5. What is the role of the Markov chain analysis in understanding the paradox?
The Markov chain models the system's states (remainder of capital modulo 3) and computes the long‑run (stationary) distribution. By comparing the stationary distributions for pure B and for the mixed strategy, one can mathematically prove that the mixed strategy yields a win probability above 0.5 while each pure game stays below 0.5.
How to Use
- Enter your values.
- Adjust settings as needed.
- View the result instantly.