What is a Nash equilibrium?
Last updated: 2026-11-26
A Nash equilibrium is a set of strategies, one for each player, where no player can do better by changing their own strategy while the others keep theirs. A strategy is a player's plan for what to do. A payoff is what the player gets from the combination of plans.
Start learning No account needed
1. The test: one player moves at a time
Pick one combination of choices, which in a two-player table is one cell. Hold the other player's choice still and ask whether the first player could get a higher payoff by switching. Then do the same for the second player. If neither can, the cell is a Nash equilibrium. If either one can, it is not.
The test does not ask which cell is best for the pair, and it does not let both players move together. Those are the two places where an answer often goes wrong.
2. A worked example: two coffee carts
Two carts, A and B, each choose a high or a low price at the same time, once. Each pair of numbers is a profit, with A's first. The numbers are made up.
| B: High | B: Low | |
|---|---|---|
| A: High | 10, 10 | 3, 14 |
| A: Low | 14, 3 | 6, 6 |
Work through the four cells yourself before reading the output. It comes from scripts/what-is-a-nash-equilibrium-worked-example.py in the Professor Turing repository. The script also covers the second game in section 3.
price game (cart A / cart B)
High / High pays (10, 10) total 20: A gains 4 by switching; B gains 4 by switching
High / Low pays ( 3, 14) total 17: A gains 3 by switching
Low / High pays (14, 3) total 17: B gains 3 by switching
Low / Low pays ( 6, 6) total 12: Nash equilibrium
meeting game (Ana / Ben)
Morning / Morning pays ( 5, 5) total 10: Nash equilibrium
Morning / Evening pays ( 0, 0) total 0: Ana gains 3 by switching; Ben gains 5 by switching
Evening / Morning pays ( 0, 0) total 0: Ana gains 5 by switching; Ben gains 3 by switching
Evening / Evening pays ( 3, 3) total 6: Nash equilibrium
mixed: each picks Morning with probability 3/8, expected payoff 15/8 = 1.875
Both carts pricing high gives the largest total, and it is not an equilibrium. The two high prices pay a total of 20. But if B stays high, A gets 14 instead of 10 by going low, a gain of 4, and B has the same temptation. Both pricing low pays a total of 12. From there, a cart that goes high alone drops from 6 to 3, so neither wants to move.
Here low is the better reply to either choice the rival makes: 14 instead of 10 against a high price, and 6 instead of 3 against a low one. A strategy like that is called dominant. This structure is the prisoner's dilemma, in which both players would gain from cooperating and each has a private reason not to. The same structure describes a cartel without enforceable agreements: members agree on a minimum price, and each can take business from the others by selling below it.
3. A game with more than one equilibrium
Ana and Ben want to study together and each picks morning or evening without talking. Both prefer morning, and meeting at either time beats missing each other.
| Ben: Morning | Ben: Evening | |
|---|---|---|
| Ana: Morning | 5, 5 | 0, 0 |
| Ana: Evening | 0, 0 | 3, 3 |
Morning with morning is an equilibrium, and so is evening with evening, although the second pays less. If Ben is going in the evening, Ana does worse by switching to morning alone. Neither player has a dominant strategy, since the best choice depends on the other's.
There is also a mixed equilibrium, in which players choose at random with set probabilities. Let q be the chance that Ben picks morning. Ana is indifferent between her two choices when 5q = 3(1 − q), which gives q = 3/8. The same holds for Ben. At those odds each expects 15/8, or 1.875, and neither can raise that by changing alone. It is less than either of them gets in the two other equilibria.
4. How to find equilibria in a payoff table
- For each column, mark the row player's highest payoff in that column.
- For each row, mark the column player's highest payoff in that row.
- A cell with both payoffs marked is an equilibrium in pure strategies, meaning no randomizing.
- Mark ties too, since a switch that gains nothing is not a reason to move.
- If no cell has two marks, look for a mixed equilibrium.
5. A common mix-up: "the equilibrium is the best outcome"
An equilibrium describes where no one wants to move alone. It says nothing by itself about whether the result is good. In the cart game both would prefer high prices to the equilibrium, and in the meeting game one equilibrium is worse for both than the other. When a question asks for the Nash equilibrium, check replies cell by cell first, then compare totals if the question also asks which outcome is better for the group.
The cart game is played once. Repeating a prisoner's dilemma can change the analysis. If the players do not know which round will be the last, cooperation between rational players becomes possible. If they both know when the last round comes, reasoning backward from it leads to defection in all rounds.
6. Test yourself
Case 1. Row chooses Up or Down and Column chooses Left or Right. The payoffs are Up-Left (4, 4), Up-Right (0, 3), Down-Left (3, 0) and Down-Right (2, 2). Which cells are equilibria?
Answer to case 1
Up-Left and Down-Right. In each, a player who switches alone gets less. In the other two cells a player gains by switching.
Case 2. In the cart game, change the profit from undercutting a high price from 14 to 9, for both carts. Which cells are equilibria now?
Answer to case 2
High-High and Low-Low. Going low against a high price now pays 9, less than 10, so high prices hold. There is also a mixed equilibrium, in which each cart prices high with probability 3/4.
Case 3. Two players each show heads or tails. The row player wins 1 and the other loses 1 if the sides match, and the reverse if they differ. Is there an equilibrium without randomizing?
Answer to case 3
No. In each cell the loser gains by switching. Each choosing heads with probability 1/2 is a mixed equilibrium.
For the course around this topic, see how to study for an economics exam. For another idea about choices, see what is opportunity cost.
What the sources found, and their limits
Wikipedia, "Nash equilibrium" and "Prisoner's dilemma." They give the definition used here as a best reply by every player, the method of checking each column and row of a payoff table, weak equilibria where a player is indifferent, randomizing (mixed) strategies, the cartel reading of the dilemma, defection as the dominant strategy in the one-shot dilemma, and how repeating the game matters: a known last round leads to defection throughout, while cooperation needs an unknown or unlimited number of rounds. Limits: reference articles under CC BY-SA 4.0. Sources: Nash equilibrium and Prisoner's dilemma, read on 2026-11-25.
Wikipedia, "Best response" and "Matching pennies." The idea of a best reply, and a matching game with no equilibrium in pure strategies, solved by making each player indifferent between two actions. Limits: reference articles under CC BY-SA 4.0; our two worked games use our own payoffs. Sources: Best response and Matching pennies, read on 2026-11-25.
Limits: this page covers small two-player tables. The games, payoffs and self-test cases are ours.
How Professor Turing helps
Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start. It's an AI tutor, free to try.
Bring a payoff table and say which cell you think is the equilibrium and why. Its first reply asks what you already know, such as what a best reply is, before it teaches anything. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.
FAQ
Can a game have more than one Nash equilibrium? Yes. The meeting game on this page has two without randomizing, both choosing morning and both choosing evening, plus a mixed one.
Is a dominant strategy needed for a Nash equilibrium? No. In the meeting game neither player has a dominant strategy, and it still has equilibria.
Start with what you're working on
Tell the tutor which game theory question you are working on and let it ask you the questions.
Start learning No account needed
See also: how to study for an economics exam · all study guides