Game Theory 2×2 Matrix Solver
Enter a two-player, two-strategy payoff matrix and this tool will find pure-strategy Nash equilibria, dominant strategies, and (when it exists) a mixed-strategy equilibrium, with clear, teaching-oriented explanations.
Built for economics, strategy, and teaching
Highlights best responses, flags dominant strategies, and solves the 2×2 mixed equilibrium by indifference conditions — ideal for classroom use and quick strategic checks.
Author: CalcDomain Game Theory Team
Reviewed by: Microeconomics instructor
Last updated: 2025
This calculator supports simple 2×2 normal-form games. Real-world strategic decisions often require richer models, more players, and uncertainty; treat outputs as intuition aids, not prescriptive advice.
Interactive 2×2 game matrix
Payoff matrix (first entry is Row player, second is Column player)
| Left | Right | |
|---|---|---|
| Top |
Row, Column
,
|
Row, Column
,
|
| Bottom |
Row, Column
,
|
Row, Column
,
|
Default example is a Prisoner’s Dilemma-style payoff structure. Feel free to override with any 2×2 normal-form game.
The solver reports pure Nash equilibria, dominant strategies, and any interior mixed equilibrium.
What is a 2×2 normal-form game?
In a 2×2 normal-form game there are two players. Each player chooses one of two strategies simultaneously. The outcome is represented by a 2×2 payoff matrix. Every cell contains an ordered pair of payoffs, for example:
The first number in each pair is the row player’s payoff, the second number is the column player’s payoff.
Best responses and pure-strategy Nash equilibrium
A best response is a strategy that achieves the highest payoff for a player given the other player’s choice. In a 2×2 game:
- For each column (Left or Right), the row player compares the two payoffs in that column and chooses the higher one.
- For each row (Top or Bottom), the column player compares the two payoffs in that row and chooses the higher one.
A pure-strategy Nash equilibrium is a cell where both players are playing best responses at the same time. Neither can gain by unilaterally deviating.
Dominant strategies
A strategy is strictly dominant if it yields a strictly higher payoff than any other strategy, for all possible moves of the opponent. A strategy is weakly dominant if it does at least as well in all cases and strictly better in at least one case.
In a 2×2 game, the row player’s first strategy dominates the second if:
with at least one inequality strict for strict dominance. Analogous inequalities define dominance for the column player.
Mixed-strategy equilibrium in a 2×2 game
When no pure-strategy Nash equilibrium exists, players may randomise. A mixed-strategy equilibrium is a pair of probabilities such that each player is indifferent between their two strategies given the other player’s mixing.
Let \(p\) be the probability that the row player plays Top, and \(q\) the probability that the column player plays Left. The row player is indifferent when their expected payoff from Top equals their expected payoff from Bottom:
Solving this linear equation gives the equilibrium value of \(q\). Similarly, the column player’s indifference condition determines \(p\). The calculator builds and solves these equations, checks that the probabilities lie between 0 and 1, and reports a valid interior mixed equilibrium when it exists.
FAQ: 2×2 game theory solver
What if there are multiple pure Nash equilibria?
Coordination-type games often have two pure-strategy Nash equilibria. The solver lists all of them and flags that the game has multiple stable outcomes. In such cases, extra selection principles (risk dominance, focal points, learning dynamics) are typically discussed in game theory courses.
What if no pure Nash equilibrium exists?
Some games, like Matching Pennies, have no pure-strategy Nash equilibrium. The solver detects this and then looks for an interior mixed equilibrium by equating expected payoffs. If the resulting probabilities are outside the [0, 1] interval or the equations are degenerate, it will explain why a clean interior mixed equilibrium does not exist.
Can I model more than two strategies or players?
This tool is intentionally restricted to 2×2 games to remain transparent and teachable. Games with more strategies or more players require larger matrices or extensive form representations, and are better handled with specialised software or algebra systems.
Is this suitable for financial, legal, or policy decisions?
It can be a helpful sanity check or communication aid, but it cannot capture all institutional details, risk, or repeated-interaction effects in real-world settings. Treat it as a learning instrument and pair it with domain expertise and scenario analysis before making consequential decisions.