Parrondo's Paradox Calculator

Compare two capital-dependent games and discover when alternating losing strategies creates a positive expected return.

Parrondo game analysis
Enter win probabilities as decimals from 0 to 1. The result uses each game's long-run stationary distribution.

About Parrondo's paradox

Parrondo's paradox describes a counterintuitive probability result: two games that each lose money when played alone can produce a winning expectation when they are alternated or randomly mixed. The effect does not come from creating probability out of nothing. It comes from changing how often the player's capital visits different states. Game B uses one coin when capital is divisible by the cycle length and another coin otherwise, so its future odds depend on the current remainder. Game A has a constant win probability. Its expected change per play is simply twice its win probability minus one because a win adds one unit and a loss removes one unit. Game B needs more care. Capital moves between remainder states after every play, and the long-run frequency of those states is not generally uniform. This calculator builds the transition process for the selected cycle length, iterates it to a stationary distribution, and weights each state's win or loss expectation by its stationary probability. For the mixed game, the calculator first combines Game A's probability with the appropriate Game B probability in every remainder state. The chance of choosing Game A controls that blend. It then solves the stationary distribution again because mixing changes state occupancy as well as immediate odds. This distinction is essential: averaging the standalone returns of A and B would miss the mechanism that produces the paradox. The classic example uses a slightly unfavorable Game A, a very unfavorable bad-state coin in Game B, and a favorable good-state coin. Both standalone games have negative long-run drift, while an even random mixture can have positive drift. Results are expected values rather than guarantees. A finite sequence remains random and may gain or lose capital even when its theoretical drift has the opposite sign. Use the calculator to explore probability models, teach Markov chains, or verify published Parrondo parameters without running a noisy simulation.

Parrondo's paradox examples

These parameter sets illustrate losing, fair, and winning long-run behavior.

ParametersExpected behaviorInterpretation
A 0.495; B 0.095/0.745; cycle 3; mix 0.5A and B lose; mixture winsClassic paradox with a small bias.
A 0.5; B 0.5/0.5; cycle 3; mix 0.5All returns are 0%Every state uses a fair coin.
A 0.48; B 0.1/0.7; cycle 3; mix 1Mixed return equals Game AChoosing A every time removes Game B.

How to use the calculator

  1. Enter the constant win probability for Game A.
  2. Enter Game B's win probabilities for the divisible and non-divisible capital states.
  3. Choose the capital cycle length and the probability of selecting Game A.
  4. Select Calculate expected returns and compare the three long-run percentages.

Frequently asked questions

How can two losing games become a winning game?

Alternating games changes the proportion of time spent in favorable and unfavorable capital states. The new stationary distribution can make favorable transitions common enough to create a positive average return.

Is the result a simulation?

No. The calculator deterministically solves the long-run state distribution and expected drift, so repeated calculations with the same inputs produce the same result.

What does capital cycle length mean?

It is the modulus used to classify capital states. With a cycle of three, the bad coin is used whenever capital is divisible by three.

Does a positive return guarantee a profit?

No. It describes the average change over an indefinitely long sequence of plays. Short runs can vary substantially because each individual outcome is random.

Why must probabilities be entered as decimals?

The model operates on values from zero to one, where 0.5 means a 50 percent chance. Decimal inputs also make small biases such as 0.495 easy to compare.