Prisoners Dilemma
Analyze the classic prisoner's dilemma game theory scenario. Compare cooperate vs defect strategies and find the Nash equilibrium outcome with this free game theory calculator.
| Player A / Player B | Cooperate | Defect |
|---|---|---|
| Cooperate | A: 1 yr, B: 1 yr | A: 3 yr, B: 0 yr |
| Defect | A: 0 yr, B: 3 yr | A: 2 yr, B: 2 yr |
Customize Payoff Values
About This Calculator
About the Prisoners Dilemma Calculator
The Prisoners Dilemma Calculator is an interactive game theory tool that lets you explore one of the most famous thought experiments in strategic decision-making. Originally formulated by Merrill Flood and Melvin Dresher at the RAND Corporation in 1950 and later named by Albert W. Tucker, the prisoner's dilemma reveals how rational individual decisions can lead to suboptimal collective outcomes. This calculator allows you to select strategies for two players, visualize the payoff matrix, and understand the underlying game theory concepts including dominant strategies, Nash equilibrium, and the paradox of cooperation.
How It Works
Two prisoners are interrogated separately and must decide whether to Cooperate (stay silent) or Defect (betray their partner). The classic payoffs are: if both cooperate, each serves 1 year; if both defect, each serves 2 years; if one cooperates and the other defects, the defector goes free (0 years) while the cooperator serves 3 years. Since defecting always yields a better personal outcome regardless of the other player's choice, the dominant strategy is to defect. The calculator lets you modify these payoff values for custom game theory analysis.
Key Concepts Explained
- Dominant Strategy: A strategy that produces a better outcome for a player regardless of what the opponent does. In the prisoner's dilemma, defection is strictly dominant.
- Nash Equilibrium: A state where no player can improve their outcome by changing their strategy alone. The Nash equilibrium is (Defect, Defect).
- Pareto Efficiency: A situation where no alternative outcome can make at least one person better off without making someone worse off. Mutual cooperation is Pareto superior to mutual defection.
Regional Perspective
The prisoner's dilemma is a universal game theory concept applicable worldwide. In India, it's studied as part of competitive exam syllabi (UPSC, economics MA) and taught in IIM business strategy courses. In the US, it's a core topic in economics, political science, and psychology curricula at major universities. In the UK, it features prominently in A-level economics and university game theory modules. The strategic principles apply equally across all regions.
Frequently Asked Questions
What is the prisoner's dilemma?
The prisoner's dilemma is a standard game theory thought experiment where two rational individuals must choose between cooperating for mutual benefit or betraying their partner for individual gain. The dilemma arises because each player's rational self-interest leads both to defect, even though mutual cooperation would give a better collective outcome. It was formulated by Merrill Flood and Melvin Dresher at the RAND Corporation in 1950.
What are the payoff conditions for a prisoner's dilemma?
For a scenario to qualify as a prisoner's dilemma, the payoffs must satisfy Temptation (T) > Reward (R) > Punishment (P) > Sucker's (S) when higher numbers represent better outcomes. In the prison sentence framing where lower numbers are better, this reverses to Temptation < Reward < Punishment < Sucker's. The default values in this calculator use the classic prison sentence version: Temptation = 0 years, Reward = 1 year, Punishment = 2 years, Sucker's = 3 years.
What is the dominant strategy in the prisoner's dilemma?
Defection is the strictly dominant strategy in the prisoner's dilemma. Regardless of what the other player chooses, an individual always receives a better outcome by defecting. If the other player cooperates, defecting gives freedom (0 years) instead of 1 year. If the other player defects, defecting gives 2 years instead of 3 years. Since defection is always better, rational players always defect.
What is the Nash equilibrium in the prisoner's dilemma?
The Nash equilibrium in the prisoner's dilemma is (Defect, Defect), where both players defect. A Nash equilibrium occurs when no player can improve their outcome by unilaterally changing their strategy. In this case, if either player alone switches from Defect to Cooperate, their sentence increases from 2 years to 3 years. This equilibrium is not Pareto efficient because both players would be better off (1 year each) if they both cooperated.
How does the iterated prisoner's dilemma differ from the one-shot version?
In the iterated prisoner's dilemma, the same players play multiple rounds and remember past outcomes. Cooperation can emerge through strategies like Tit-for-Tat, which cooperates on the first move and then mirrors the opponent's last move. Robert Axelrod's 1984 tournament showed that simple, nice, forgiving, and retaliatory strategies perform best in repeated games. The one-shot version always results in defection, but repeated interaction allows cooperation to evolve through reciprocity.
What real-world situations does the prisoner's dilemma model?
The prisoner's dilemma models many strategic situations including arms races between nations, price-fixing between competing firms (the classic duopoly), environmental agreements where individual countries benefit from polluting while others reduce emissions, workplace dynamics between colleagues, and international trade negotiations. In each case, individual incentives conflict with the collective good, creating the signature dilemma of the game.
Can I customize the payoff values in this calculator?
Yes, you can customize all four payoff values by expanding the Customize Payoff Values section. You can set Temptation (best outcome for defecting alone), Reward (outcome when both cooperate), Punishment (outcome when both defect), and Sucker's (worst outcome for cooperating alone). The default values use the classic prison sentence framing where lower years are better: Temptation = 0, Reward = 1, Punishment = 2, Sucker's = 3.
Is the prisoner's dilemma calculator free to use?
Yes, all calculators on Calculy, including the Prisoners Dilemma Calculator, are completely free to use with no registration or subscription required. You can share your analysis via a unique URL that preserves your selected strategies and custom payoff values.