2×2 Zero-Sum Game Calculator (Saddle Point or Mixed-Strategy Equilibrium & Game Value)

Find indifference mixed-strategy probabilities (p*, q*) and expected game payoff.

Equilibrium Expected Payoff (Game Value) 2 payoff
Row Player Optimal Top Probability (p*) 33.333 %
Column Player Optimal Left Probability (q*) 50 %
Maximin Safety Floor 1 payoff
Inputs
Try:
payoff a
Row player payoff when (Top, Left) is played (a).
payoff b
Row player payoff when (Top, Right) is played (b).
payoff c
Row player payoff when (Bottom, Left) is played (c).
payoff d
Row player payoff when (Bottom, Right) is played (d).
Results & Graph
Equilibrium Expected Payoff (Game Value)
2 payoff
Row Player Optimal Top Probability (p*)
33.333 %
Column Player Optimal Left Probability (q*)
50 %
Maximin Safety Floor
1 payoff

Equilibrium Expected Payoff (Game Value)

Graph 1 • How the inputs feed 2×2 Mixed Nash Equilibrium
2×2 Game Theory Mixed-Strategy Nash Equilibrium & Expected Payoff Value Calculator • Custom Domain Schematic (Game Theory, Ratings & Stochastic Processes) payoffTopayoffTo2×2 Mixed Nash Equilib Payoff Top Left A: 4 payoff a • Payoff Top Right B: 0 payoff b EQUILIBRIUM EXPECTED PAYOF 2 payoff • Row Player Optimal Top: 33.333 % • Column Player Optimal : 50 % Eq: q* = (d − b) / (a − b − c + d);
Graph 2 • Equilibrium Expected Payoff (Game Value) as Payoff Top Left A changes (40% to 160% of current)
0 payoff 1.26 payoff 2.51 payoff 1.33 1.60 1.64 2.40 1.85 3.20 2 4 2.12 4.80 2.21 5.60 2.29 6.40
Graph 3 • Payoff Top Left A and Payoff Top Right B together Compares Equilibrium Expected Payoff (Game Value) when Payoff Top Right B is shifted +25% (solid) vs. −25% (dashed).
0 payoff 2.86 payoff 5.72 payoff --- Payoff Top Right B @ 75% 2.80 -30% 3.40 -15% 4 +0% 4.60 +15% 5.20 +30%
Summary: Mixed-strategy indifference occurs at Row playing Top p* = 33.3% and Column playing Left q* = 50%, yielding an equilibrium expected payoff of 2.
Summary: Mixed-strategy indifference occurs at Row playing Top p* = 33.3% and Column playing Left q* = 50%, yielding an equilibrium expected payoff of 2.
Interactive chart & math engine powered by CalculatorGraph

Formula: 2×2 Mixed Nash Equilibrium Formula

q* = d − ba − b − c + d
ExpectedRowPayoff = a·p·q + b·p(1−q) + c(1−p)q + d(1−p)(1−q)
q* = (d − b) / (a − b − c + d); ExpectedRowPayoff = a·p·q + b·p(1−q) + c(1−p)q + d(1−p)(1−q)
  • payoffTopLeftA: Payoff Top Left A (payoff a)
  • payoffTopRightB: Payoff Top Right B (payoff b)
  • payoffBottomLeftC: Payoff Bottom Left C (payoff c)
  • payoffBottomRightD: Payoff Bottom Right D (payoff d)

Frequently Asked Questions

How does the 2×2 Game Theory Mixed-Strategy Nash Equilibrium & Expected Payoff Value Calculator compute the solution?

It evaluates q* = (d − b) / (a − b − c + d); ExpectedRowPayoff = a·p·q + b·p(1−q) + c(1−p)q + d(1−p)(1−q) directly in your browser and updates three custom SVG visualizations in real time.

Does this calculator handle games where both players have their own payoffs?

No. It takes a single 2×2 matrix of Row's payoffs and treats Column's payoff as the negative of Row's, which is a zero-sum game. For a game like the battle of the sexes or a prisoner's dilemma, where each player has separate payoffs, the percentages it prints are not that game's equilibrium. You need a solver that accepts both players' matrices.

Why does Row's probability depend on what makes Column indifferent?

In a mixed equilibrium each player randomises so that the opponent has no reason to change. Row chooses p so that Column's two options cost the same, which uses Column's comparison between Left and Right. With the defaults that gives p* = 1/3. Column, in turn, picks q* = 50% to make Top and Bottom pay Row the same.

How can I check the game value without the page?

For a 2×2 zero-sum game with no saddle point, the value equals (ad − bc) divided by (a − b − c + d). With the defaults that is (4 × 3 − 0 × 1) / 6 = 2. For a = 6 it gives 18 / 8 = 2.25, and for a = 2.4 it gives 7.2 / 4.4, about 1.636, matching the page's comparison scenarios.

What is a saddle point and why does it matter here?

A saddle point is a cell that is the smallest in its row and the largest in its column. If one exists, both players should play pure strategies and the value is that cell. The page tests for this first, so with a = 4, b = 2, c = 1 and d = 0 it reports Top and Right with a value of 2 instead of a mix.

What happens when a − b − c + d equals zero?

The mixed formulas would divide by zero, but a zero denominator in a 2×2 zero-sum game always comes with a saddle point, so the page solves it as a pure game. With a = 3, b = 1, c = 2 and d = 0, Top dominates Bottom and the result shows p* = 100%, q* = 0% and a value of 1.

Can the payoffs be negative?

Yes, and negative numbers are common in zero-sum games where Row loses money in some cells. Matching pennies with 1, −1, −1 and 1 gives 50% for each player and a value of 0. Negative entries do not change the formulas, though they make the safety floor negative too, as in that example where it shows −1.

What does the Maximin Safety Floor tell me?

It is the best payoff Row can guarantee by committing to a single row and accepting the worst cell in it. In the default game Bottom guarantees 1 and Top guarantees 0, so the floor is 1. If the mixed game value is higher than this floor, randomising is worth something; in the default it lifts Row's guarantee from 1 to 2.

Do I need to play the mix exactly to get the value?

Row can guarantee the value of 2 only by mixing at p* = 1/3. Playing Top more or less often lets a well-informed Column shift towards the column that hurts Row, and the expected payoff falls below 2. Against an opponent who is not paying attention you may do better by deviating, but you lose the guarantee.

Why does raising a lower Row's chance of playing Top?

Row's mix is chosen to make Column indifferent, not to chase Row's favourite cell. When the Top Left payoff grows from 4 to 6, Left becomes costlier for Column, so Row needs Top less often to balance Column's options. The page shows p* falling from 33.333% to 25% while the value rises from 2 to 2.25.

Which player is the page written for?

The labels follow Row: the payoffs are what Row receives, p* is Row's chance of Top and the value is Row's expected gain. Column's view is the mirror image. In the default game Column should play Left half the time and expects to concede 2 per play on average, which is the most Column can hold Row down to.

Will doubling every payoff change the strategy?

No. Scaling all four payoffs by the same positive number leaves p* and q* exactly where they were and multiplies the value by that factor. Entering 40, 0, 10 and 30 reproduces the default 33.333% and 50%, with a value of 20. Adding a constant to every cell shifts the value but not the probabilities.

Four payoffs, one matrix: how the inputs are laid out

You type four numbers into this calculator, and they are all payoffs to the Row player. A sits where Row plays Top and Column plays Left. B is Top against Right, C is Bottom against Left, and D is Bottom against Right. The defaults are a = 4, b = 0, c = 1 and d = 3.

There is no second matrix for the Column player. That tells you what kind of game the engine is solving: a zero-sum game, where whatever Row gains, Column loses. Column wants the number in the cell to be small and Row wants it large. Every formula on the page follows from that one assumption.

If you are modelling a game where the two players have their own separate payoffs, such as a coordination game, the battle of the sexes or a pricing duel where both firms can do well at once, this page is the wrong tool. Its p* and q* will still come out as tidy percentages, but they will not be the equilibrium of your game. You would need a bimatrix solver that takes eight numbers.

With the defaults, the answer reads: game value 2, Row plays Top 33.333% of the time, Column plays Left 50% of the time, and the maximin safety floor is 1. The rest of this guide shows where each of those comes from and how to tell when they can be trusted.

Working the default game by hand

Start with the Column player's mix, q*, because it comes from Row's side of the board. If Column plays Left with probability q, Row's expected payoff from Top is 4q + 0(1 − q) = 4q. Row's payoff from Bottom is 1q + 3(1 − q) = 3 − 2q. Column picks q so that Row gains nothing by switching, which means the two are equal: 4q = 3 − 2q, so q = 0.5. That matches the general formula q* = (d − b) / (a − b − c + d) = (3 − 0) / 6.

Now p*, Row's chance of playing Top. If Row mixes with probability p, Column's cost from Left is 4p + 1(1 − p) = 1 + 3p, and from Right it is 0p + 3(1 − p) = 3 − 3p. Setting them equal gives 6p = 2, so p = 1/3, or 33.333%. The formula the engine uses is p* = (d − c) / (a − b − c + d) = 2 / 6.

Notice the odd-looking cross-over. Row's own probability is fixed by what makes Column indifferent, and Column's probability is fixed by what makes Row indifferent. Each player mixes so as to take away the other's reason to deviate. That is the whole idea of a mixed equilibrium, and it is why changing one of Row's payoffs moves both percentages.

The game value follows by plugging p* and q* into the expected payoff a·p·q + b·p(1 − q) + c(1 − p)q + d(1 − p)(1 − q). With the defaults that is 4 × (1/6) + 0 + 1 × (1/3) + 3 × (1/3) = 2. There is also a shortcut you can use to check the page: value = (ad − bc) / (a − b − c + d). Here that is (12 − 0) / 6 = 2.

Why the safety floor of 1 sits below the value of 2

The third supporting line, Maximin Safety Floor, answers a different question. Suppose Row refuses to randomise and picks a single row. Top guarantees at least min(4, 0) = 0, Bottom guarantees at least min(1, 3) = 1. The better of those worst cases is 1, so a cautious Row playing pure Bottom can lock in 1 whatever Column does.

Mixing raises that guarantee to 2. If Row plays Top a third of the time, Column cannot push Row's expected payoff below 2, because both of Column's options now cost exactly 2. The gap between 1 and 2 is the value of being unpredictable in this game.

There is a matching ceiling on Column's side that the page does not print. If Column commits to one column, Left can cost up to 4 and Right up to 3, so the best Column can guarantee with a pure strategy is to concede no more than 3. The mixed value of 2 lands between the floor of 1 and the ceiling of 3, which is what you should always see when a genuine mixed equilibrium exists.

What happens as payoff a moves from 2.4 to 6

The page's comparison scenarios change only a, the Top Left payoff. At a = 2.4, the game value drops to 1.636, Row plays Top 45.455% of the time and Column plays Left 68.182% of the time. At a = 6, the value rises to 2.25, p* falls to 25% and q* falls to 37.5%.

Both trends are worth reading slowly. A bigger reward in the Top Left cell makes Row play Top less often, not more. The reason is that Row's mix is set by Column's indifference. When Top Left becomes more painful for Column, Row needs fewer Top plays to make Left and Right equally unattractive to Column.

Column's response is more intuitive. Left has become the dangerous column, so Column plays it less, dropping from 50% to 37.5%. The value still rises, from 2 to 2.25, because Row's opportunities have improved even after Column adjusts.

Throughout, the safety floor stays at 1. Increasing a never changes the worst case of the Top row, which is still b = 0, so pure Bottom remains Row's best guarantee without randomising.

Saddle points: when nobody should randomise

The indifference formulas only describe the equilibrium when the game has no saddle point, that is, when neither player has a pure strategy that is best whatever the other does. The engine checks for one before it uses them. It takes the larger of the two row minimums and the smaller of the two column maximums. If they are equal, that cell is the value and both players play pure strategies.

Try a = 4, b = 2, c = 1, d = 0. Top beats Bottom in both columns, so Row should always play Top, and Column should then pick Right. The calculator reports p* = 100%, q* = 0% and a game value of 2, which is the Top Right cell. The Maximin Safety Floor line shows 2 as well, because with a saddle point the pure guarantee and the value are the same thing.

A second case is a denominator of zero. With a = 3, b = 1, c = 2, d = 0, the quantity a − b − c + d is exactly 0, so the mixed formulas would divide by zero. Top dominates here too, and the page returns p* = 100%, q* = 0% and a value of 1.

One wording quirk: the sentence under the result still begins "Mixed-strategy indifference occurs" even in these pure cases. Read the percentages rather than that phrase. A p* of 0% or 100% means a pure strategy, and the floor matching the value confirms a saddle point. Only when the row figure is strictly below the column figure, as with 1 and 3 in the default game, is the answer a genuine mixed equilibrium.

Checks that catch typing mistakes

Because the four boxes are labelled by position, the most common slip is swapping b and c. With the defaults, entering b = 1 and c = 0 instead of the other way round turns the matrix into a different game entirely. Write the matrix down with Top and Bottom as rows and Left and Right as columns before you start typing.

Two properties make good sanity checks. Multiplying every payoff by the same positive number leaves p* and q* unchanged and scales the value by that number. Entering 40, 0, 10 and 30 gives exactly the default percentages and a value of 20. Adding the same constant to every cell also leaves the percentages alone and shifts the value by that constant, so 5, 1, 2 and 4 give a value of 3.

Matching pennies is a quick test that the inputs are behaving. Enter 1, −1, −1 and 1. Both players should mix 50% and 50% and the value should be 0, which is what the page shows.

Reading p* and q* as instructions

A mixed strategy is a plan for randomising, not a prediction of what will happen in a single play. If you are Row in the default game, the advice is to play Top on one occasion in three, chosen genuinely at random so that Column cannot spot a pattern. A rota such as Bottom, Bottom, Top repeated is exploitable by an observant opponent.

The value of 2 is an average over many plays. In any single round Row will receive 4, 0, 1 or 3. If the game is played a handful of times, the realised average can drift well away from 2.

The percentages are also the point at which the other player stops caring. When Row plays Top exactly 33.333% of the time, Column gets the same expected result from Left and from Right. That is why equilibrium mixes are stable: nobody can improve by moving alone. It is not a claim that every player in real life will play this way, especially if one side is not trying to minimise the other's payoff.