How this calculation works
Find pure and interior mixed Nash equilibria for a two-player two-by-two bimatrix game. Each player has a separate payoff matrix and maximizes their own payoff. Degenerate cases are flagged because equilibrium continua and boundary mixtures are not fully enumerated by the small closed-form calculation.
Each mixed strategy puts positive mass only on best responses.A worked example
Matching pennies has no pure equilibrium. Both players choose their first strategy with probability 1/2 in the fully mixed equilibrium, making the opponent indifferent. The expected payoff to each player is 0 under the displayed opposite payoff matrices.
Good to know
Two-player2×2 games; pure and fully mixed equilibria. Degenerate games flagged because boundary mixtures and continua are not exhaustively listed; no correlated equilibrium or strategy advice.
Reference: Method reference: Two by two bimatrix Nash equilibrium calculator (opens in a new tab) ↗
Give each player their own payoff matrix
Both matrices use the same row and column strategy ordering. The first entry records the row player’s payoff, while the second matrix records the column player’s payoff at that same outcome. The numbers need not sum to zero, so the page covers coordination and general conflicting-interest games as well as matching pennies.
A payoff is an input to a preference model, not necessarily money. Each player’s strategic choices depend on their own relative payoffs. Interchanging the two matrices without also interchanging player roles changes the game. Keep strategy labels outside the numeric matrix so row and column meanings remain clear.
The Markov decision process calculator with optimal policy optimizes expected rewards under a transition model. Nash equilibrium instead requires mutual best responses to another strategic player; the returned mixture is not a recommendation or a shared welfare optimum.
Define a pure best-response intersection
A pure outcome is Nash when the row player cannot improve by changing row while the column is fixed, and the column player cannot improve by changing column while the row is fixed. The page checks all four outcomes directly, including weak ties.
This is an individual-deviation condition, not a claim that the outcome maximizes total payoff or is jointly efficient. Players could both prefer a coordinated alternative that neither can reach by a unilateral deviation from the current outcome. The equilibrium label should retain its game-theoretic meaning rather than being read as universally best.
Derive the interior mixed candidate
For both row strategies to receive positive probability, the column mixture must make the row player indifferent between them. The analogous condition makes the column player indifferent. Solving those two linear equations gives probabilities of each player’s first strategy when their denominators are nonzero.
The probabilities must be strictly between zero and one for a fully mixed candidate. A negative or greater-than-one solution is not a usable probability and is omitted as an interior equilibrium. Boundary mixtures require separate support analysis, especially when exact payoff ties make the equations degenerate.
Verify matching pennies
The default first matrix gives one for matching strategies and minus one for mismatches; the second has the opposite payoffs. Every pure outcome gives one player an incentive to switch, so there are zero pure equilibria.
Each player mixing their first strategy with probability one half makes the opponent’s two pure strategies equally attractive. That yields the fully mixed equilibrium and expected payoff zero to both. The example is zero-sum, but the calculation does not impose that restriction on other entered matrices.
Treat degeneracy as a real limitation
If payoff differences vanish, indifference can hold over an interval of mixtures rather than at one isolated point. Pure equilibria can coexist with whole equilibrium segments. A single interior formula cannot enumerate every such continuum and must not label its finite list complete in those cases.
The page flags zero-difference and denominator degeneracies and explicitly states that boundary mixtures or continua may be omitted. A warning does not mean the game has no equilibrium. It means this bounded reporting format has not classified every equilibrium in the degenerate family.
Separate mixed probabilities from observed frequencies
A mixed strategy specifies a player’s randomized choice distribution within the model. It is not an estimate of a population’s actual behavior from data, because no observations are fitted. Repeated-play frequencies can differ through learning, coordination or changing information outside the one-shot payoff model.
Expected payoffs average over independent strategy randomization. A correlated-equilibrium device can produce another joint distribution and is not represented by multiplying these two marginal mixtures. If players share a recommendation signal, the bimatrix Nash calculation does not automatically describe its incentives.
Use equilibrium as analysis rather than advice
Payoff scales and strategic information must be justified before applying a result. The calculator does not infer preferences, enforce commitments or determine whether opponents know the same game. A mathematically correct equilibrium can be a poor behavioral prediction when those assumptions fail.
This form supports two strategies per player only, returning pure and fully mixed isolated candidates under its disclosed limitation. Larger support-enumeration problems, sequential games and stochastic games need other models. Preserve both matrices and the degeneracy status with any reported equilibrium probability.
A few questions, answered
Do the payoffs have to sum to zero?
No. The two matrices are independent and can describe nonzero-sum games.
Does Nash equilibrium maximize combined payoff?
Not generally. It rules out a profitable unilateral deviation by either player.
Does a degeneracy warning mean no equilibrium exists?
No. There can be boundary mixtures or equilibrium continua that this page does not enumerate fully.
Are mixed probabilities estimated from behavior?
No. They solve indifference conditions in the entered payoff model.